-
Notifications
You must be signed in to change notification settings - Fork 114
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
pip installation not possible with python 3.8 - no wheel file #39
Comments
same issue here
|
Same issue here. I tried getting the 3.7 wheel from pypi.org, but Please advise. UPDATE: Simply renaming
allows installation with
|
Any updates on making the pip installation compatible with more recent versions of Python? |
@ShairozS, @eVen-gits, @ajhamdi: I have made the necessary changes for me on Arch Linux. See if they work for you on your systems? After it's built in the build folder run this to create a wheel file and install it with pip:
The reinstall and no dependency switches are optional and your filename may vary of course. |
You can force install the 3.7 wheel on >3.8 and get it to work.. wget https://files.pythonhosted.org/packages/67/01/2c0067e3a54d654e527dfc878d56db0f602fed6b468fec789cf287cf577d/pptk-0.1.0-cp37-none-manylinux1_x86_64.whl
mv pptk-0.1.0-cp37-none-manylinux1_x86_64.whl pptk-0.1.0-cp38-none-manylinux1_x86_64.whl
pip install --force-reinstall --no-deps pptk-0.1.0-cp38-none-manylinux1_x86_64.whl
Processing ./pptk-0.1.0-cp38-none-manylinux1_x86_64.whl
Installing collected packages: pptk
Successfully installed pptk-0.1.0
|
Hi, thanks for sharing your method. Is that work? I mean I can install it by your method. I am using ubuntu 20.04. But when I run simple code: xyz = pptk.rand(100, 3)
v = pptk.viewer(xyz)
v.set(point_size=0.005) I got Segmentation fault (core dumped) |
I got it to work with ubuntu 18.04 python 3.8, but will be better to downgrade your python |
Thx for your reply. Ubuntu 20.04 is with python 3.8.5. |
@CrazyPopLin That method force installs a binary package linked against older versions of python and maybe other libraries. It can work, but the newer your system, the more likely it is to segfault or similar. It never worked for me on Arch Linux, also failed with a segfault. Instead of downgrading your python like @kentaroy47 suggested I'd kindly refer you to #45 . I've made a pull request with the necessary changes to compile pptk on Arch Linux, which may also work for Ubuntu 20.04. For convenience I have also linked my binary wheel file which you can try if you don't want to compile. |
I've tried to install pptk on Arch Linux via pip.
I suspect this might be because https://pypi.org/project/pptk/#files does not list a wheel file for python 3.8?
The text was updated successfully, but these errors were encountered: