-
Notifications
You must be signed in to change notification settings - Fork 159
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ggwave not installing on fedora linux with `pip install ggwave' #109
Comments
I had the same problem. The newer versions of Python shipped in Fedora seem to be the issue. You can install Python 3.10 (the latest that doesn't break the bindings) with |
Try this: in a virtualenv install $> python3 -m pip install --upgrade wheel setuptools cython Then export $> export GGWAVE_USE_CYTHON=True Then retry with $> python3 -m pip install -v ggwave It should work. The problem is related to the pre- Here is a long dump of the process on an shub@bug:~$ virtualenv ./venv
created virtual environment CPython3.12.3.final.0-64 in 258ms
creator CPython3Posix(dest=/home/shub/venv, clear=False, no_vcs_ignore=False, global=False)
seeder FromAppData(download=False, pip=bundle, via=copy, app_data_dir=/home/shub/.local/share/virtualenv)
added seed packages: pip==24.0
activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator
shub@bug:~$ . ./venv/bin/activate
(venv) shub@bug:~$ python -m pip list -v
Package Version Location Installer
------- ------- -------------------------------------------- ---------
pip 24.0 /home/shub/venv/lib/python3.12/site-packages pip
(venv) shub@bug:~$ python -m pip install --upgrade wheel setuptools cython
Collecting wheel
Using cached wheel-0.43.0-py3-none-any.whl.metadata (2.2 kB)
Collecting setuptools
Downloading setuptools-71.1.0-py3-none-any.whl.metadata (6.6 kB)
Collecting cython
Using cached Cython-3.0.10-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.2 kB)
Using cached wheel-0.43.0-py3-none-any.whl (65 kB)
Downloading setuptools-71.1.0-py3-none-any.whl (2.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.3/2.3 MB 49.4 MB/s eta 0:00:00
Using cached Cython-3.0.10-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.5 MB)
Installing collected packages: wheel, setuptools, cython
Successfully installed cython-3.0.10 setuptools-71.1.0 wheel-0.43.0
(venv) shub@bug:~$ python -m pip list -v
Package Version Location Installer
---------- ------- -------------------------------------------- ---------
Cython 3.0.10 /home/shub/venv/lib/python3.12/site-packages pip
pip 24.0 /home/shub/venv/lib/python3.12/site-packages pip
setuptools 71.1.0 /home/shub/venv/lib/python3.12/site-packages pip
wheel 0.43.0 /home/shub/venv/lib/python3.12/site-packages pip
(venv) shub@bug:~$ export GGWAVE_USE_CYTHON=True
(venv) shub@bug:~$ python 2>&1 -m pip --disable-pip-version-check --no-cache-dir install -vv ggwave
Using pip 24.0 from /home/shub/venv/lib/python3.12/site-packages/pip (python 3.12)
Non-user install because user site-packages disabled
Created temporary directory: /tmp/pip-build-tracker-9bm0x_4k
Initialized build tracking at /tmp/pip-build-tracker-9bm0x_4k
Created build tracker: /tmp/pip-build-tracker-9bm0x_4k
Entered build tracker: /tmp/pip-build-tracker-9bm0x_4k
Created temporary directory: /tmp/pip-install-03pjldn1
Created temporary directory: /tmp/pip-ephem-wheel-cache-88tizot8
1 location(s) to search for versions of ggwave:
* https://pypi.org/simple/ggwave/
Fetching project page and analyzing links: https://pypi.org/simple/ggwave/
Getting page https://pypi.org/simple/ggwave/
Found index url https://pypi.org/simple/
Starting new HTTPS connection (1): pypi.org:443
https://pypi.org:443 "GET /simple/ggwave/ HTTP/1.1" 200 1827
Fetched page https://pypi.org/simple/ggwave/ as application/vnd.pypi.simple.v1+json
Found link https://files.pythonhosted.org/packages/68/4d/6d71c2b959011de3ce9dfdc6dfe831f67d9656dda69cf58969be0c99489d/ggwave-0.1.0.tar.gz (from https://pypi.org/simple/ggwave/), version: 0.1.0
Found link https://files.pythonhosted.org/packages/06/3e/362b1b2ec58f9917e665f5eeff6e21e2998553dfec254f970d89089c5830/ggwave-0.1.1.tar.gz (from https://pypi.org/simple/ggwave/), version: 0.1.1
Found link https://files.pythonhosted.org/packages/57/53/7604aed13142070b2f2d0256fddfb5cd9a7db07554e6a1f9810e6a8ddd8c/ggwave-0.1.2.tar.gz (from https://pypi.org/simple/ggwave/), version: 0.1.2
Found link https://files.pythonhosted.org/packages/b8/84/9218139ab9da18c4f4843db2913cef45dca6850257b853df09c9a51d7b1e/ggwave-0.1.3.tar.gz (from https://pypi.org/simple/ggwave/), version: 0.1.3
Found link https://files.pythonhosted.org/packages/5b/03/3b512ded778cb4114f83d2328302e8ee444452bdc83044eb82435f693b57/ggwave-0.1.4.tar.gz (from https://pypi.org/simple/ggwave/), version: 0.1.4
Found link https://files.pythonhosted.org/packages/6a/48/d89a597387dfb039ae8e8a588fbec6af6a58def88c6eb1fb7a3f342211e3/ggwave-0.1.5.tar.gz (from https://pypi.org/simple/ggwave/), version: 0.1.5
Found link https://files.pythonhosted.org/packages/ae/f4/b24f09821aabbc21b1d7ea1d64f75279a0e812cd1b2b5b82f5758d0a0151/ggwave-0.2.0.tar.gz (from https://pypi.org/simple/ggwave/), version: 0.2.0
Found link https://files.pythonhosted.org/packages/51/5e/bfe7fd5a2485300eee5e800c33691da06f0958ea09aea6e5659150d47e13/ggwave-0.2.1.tar.gz (from https://pypi.org/simple/ggwave/), version: 0.2.1
Found link https://files.pythonhosted.org/packages/a2/76/662b41a7f741abc906d6866de6ce0e5e6444ba41d01edfd3481dbfce3b3f/ggwave-0.2.2.tar.gz (from https://pypi.org/simple/ggwave/), version: 0.2.2
Found link https://files.pythonhosted.org/packages/ae/dd/64bbd32d6495d2fcc542ab8cb7abbe1eec450cd821b4d5673e07b4b068c5/ggwave-0.3.0.tar.gz (from https://pypi.org/simple/ggwave/), version: 0.3.0
Found link https://files.pythonhosted.org/packages/9d/c9/d7d8f8f44fa9e1b9e7a9acf44aa5ce2497b9c25e99b76e520169d33a0189/ggwave-0.3.1.tar.gz (from https://pypi.org/simple/ggwave/), version: 0.3.1
Found link https://files.pythonhosted.org/packages/54/c6/1770f1091b497406d2253c050dd01524190d760b73aed845dfc2a81866bc/ggwave-0.4.0.tar.gz (from https://pypi.org/simple/ggwave/), version: 0.4.0
Found link https://files.pythonhosted.org/packages/64/34/a873dd1ea0b83111ac6191657376ba3c0ba17beaeb2795369ef9ffd467eb/ggwave-0.4.1.tar.gz (from https://pypi.org/simple/ggwave/), version: 0.4.1
Found link https://files.pythonhosted.org/packages/a4/18/a8b2204590a4f7f12a38398f50a9b7618b18f345428c478edf53acc30b7d/ggwave-0.4.2.tar.gz (from https://pypi.org/simple/ggwave/), version: 0.4.2
Skipping link: not a file: https://pypi.org/simple/ggwave/
Given no hashes to check 14 links for project 'ggwave': discarding no candidates
Collecting ggwave
Created temporary directory: /tmp/pip-unpack-sd17e3gj
Starting new HTTPS connection (1): files.pythonhosted.org:443
https://files.pythonhosted.org:443 "GET /packages/a4/18/a8b2204590a4f7f12a38398f50a9b7618b18f345428c478edf53acc30b7d/ggwave-0.4.2.tar.gz HTTP/1.1" 200 76932
Downloading ggwave-0.4.2.tar.gz (76 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 76.9/76.9 kB 7.1 MB/s eta 0:00:00
Added ggwave from https://files.pythonhosted.org/packages/a4/18/a8b2204590a4f7f12a38398f50a9b7618b18f345428c478edf53acc30b7d/ggwave-0.4.2.tar.gz to build tracker '/tmp/pip-build-tracker-9bm0x_4k'
Running setup.py (path:/tmp/pip-install-03pjldn1/ggwave_f8854a6eaff04f099fe3c7a7c7c1a1f5/setup.py) egg_info for package ggwave
Created temporary directory: /tmp/pip-pip-egg-info-9jby00du
Running command python setup.py egg_info
running egg_info
creating /tmp/pip-pip-egg-info-9jby00du/ggwave.egg-info
writing /tmp/pip-pip-egg-info-9jby00du/ggwave.egg-info/PKG-INFO
writing dependency_links to /tmp/pip-pip-egg-info-9jby00du/ggwave.egg-info/dependency_links.txt
writing top-level names to /tmp/pip-pip-egg-info-9jby00du/ggwave.egg-info/top_level.txt
writing manifest file '/tmp/pip-pip-egg-info-9jby00du/ggwave.egg-info/SOURCES.txt'
reading manifest file '/tmp/pip-pip-egg-info-9jby00du/ggwave.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file '/tmp/pip-pip-egg-info-9jby00du/ggwave.egg-info/SOURCES.txt'
Preparing metadata (setup.py) ... done
Source in /tmp/pip-install-03pjldn1/ggwave_f8854a6eaff04f099fe3c7a7c7c1a1f5 has version 0.4.2, which satisfies requirement ggwave from https://files.pythonhosted.org/packages/a4/18/a8b2204590a4f7f12a38398f50a9b7618b18f345428c478edf53acc30b7d/ggwave-0.4.2.tar.gz
Removed ggwave from https://files.pythonhosted.org/packages/a4/18/a8b2204590a4f7f12a38398f50a9b7618b18f345428c478edf53acc30b7d/ggwave-0.4.2.tar.gz from build tracker '/tmp/pip-build-tracker-9bm0x_4k'
Created temporary directory: /tmp/pip-unpack-hhle5dd9
Building wheels for collected packages: ggwave
Created temporary directory: /tmp/pip-wheel-h_9d84wn
Building wheel for ggwave (setup.py) ... Destination directory: /tmp/pip-wheel-h_9d84wn
Running command python setup.py bdist_wheel
running bdist_wheel
running build
running build_ext
Compiling ggwave.pyx because it changed.
[1/1] Cythonizing ggwave.pyx
/home/shub/venv/lib/python3.12/site-packages/Cython/Compiler/Main.py:381: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: /tmp/pip-install-03pjldn1/ggwave_f8854a6eaff04f099fe3c7a7c7c1a1f5/ggwave.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
building 'ggwave' extension
creating build
creating build/temp.linux-x86_64-cpython-312
creating build/temp.linux-x86_64-cpython-312/ggwave
creating build/temp.linux-x86_64-cpython-312/ggwave/src
x86_64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -fPIC -Iggwave/include -Iggwave/include/ggwave -I/home/shub/venv/include -I/usr/include/python3.12 -c ggwave.cpp -o build/temp.linux-x86_64-cpython-312/ggwave.o -O3 -std=c++11
x86_64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -fPIC -Iggwave/include -Iggwave/include/ggwave -I/home/shub/venv/include -I/usr/include/python3.12 -c ggwave/src/ggwave.cpp -o build/temp.linux-x86_64-cpython-312/ggwave/src/ggwave.o -O3 -std=c++11
creating build/lib.linux-x86_64-cpython-312
x86_64-linux-gnu-g++ -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 build/temp.linux-x86_64-cpython-312/ggwave.o build/temp.linux-x86_64-cpython-312/ggwave/src/ggwave.o -L/usr/lib/x86_64-linux-gnu -o build/lib.linux-x86_64-cpython-312/ggwave.cpython-312-x86_64-linux-gnu.so
/home/shub/venv/lib/python3.12/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!
********************************************************************************
Please avoid running ``setup.py`` directly.
Instead, use pypa/build, pypa/installer or other
standards-based tools.
See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
********************************************************************************
!!
self.initialize_options()
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/wheel
copying build/lib.linux-x86_64-cpython-312/ggwave.cpython-312-x86_64-linux-gnu.so -> build/bdist.linux-x86_64/wheel
running install_egg_info
running egg_info
writing ggwave.egg-info/PKG-INFO
writing dependency_links to ggwave.egg-info/dependency_links.txt
writing top-level names to ggwave.egg-info/top_level.txt
reading manifest file 'ggwave.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'ggwave.egg-info/SOURCES.txt'
Copying ggwave.egg-info to build/bdist.linux-x86_64/wheel/ggwave-0.4.2-py3.12.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/ggwave-0.4.2.dist-info/WHEEL
creating '/tmp/pip-wheel-h_9d84wn/ggwave-0.4.2-cp312-cp312-linux_x86_64.whl' and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'ggwave.cpython-312-x86_64-linux-gnu.so'
adding 'ggwave-0.4.2.dist-info/METADATA'
adding 'ggwave-0.4.2.dist-info/WHEEL'
adding 'ggwave-0.4.2.dist-info/top_level.txt'
adding 'ggwave-0.4.2.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
done
Created wheel for ggwave: filename=ggwave-0.4.2-cp312-cp312-linux_x86_64.whl size=405908 sha256=9fd7674d43a14b9389c06d967e4289a9e64ed74f0d14f3382936ac427ed8ab2b
Stored in directory: /tmp/pip-ephem-wheel-cache-88tizot8/wheels/40/65/f5/d19bad2a95c1920d32d0e077defa7c38ff5f73ddcceffa8cef
Successfully built ggwave
Installing collected packages: ggwave
Successfully installed ggwave-0.4.2
Removed build tracker: '/tmp/pip-build-tracker-9bm0x_4k'
(venv) shub@bug:~$ which python3
/home/shub/venv/bin/python3
(venv) shub@bug:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 24.04 LTS
Release: 24.04
Codename: noble
(venv) shub@bug:~$ python -V
Python 3.12.3
(venv) shub@bug:~$ |
So I keep getting this error when trying to install ggwave with `pip install ggwave' on my Fedora Linux machine but running the same command on Linux Mint on my brothers laptop installs fine...
I really need this module to work for me since it seems to be one of a kind in the python world roigh now and I do not have the technical skill to write my own right now...
The text was updated successfully, but these errors were encountered: