Repository navigation
pip installation not possible with python 3.8 - no wheel file #39
Description
Activity
same issue here
ERROR: Could not find a version that satisfies the requirement pptk (from versions: none)Same issue here. I tried getting the 3.7 wheel from pypi.org, but
pptk-0.1.0-cp37-none-manylinux1_x86_64.whldoesn't work (reckon since it's for 3.7).Please advise.
UPDATE: Simply renaming
pptk-0.1.0-cp37-none-manylinux1_x86_64.whl
to
pptk-0.1.0-cp38-none-manylinux1_x86_64.whlallows installation with
pip3 install ./pptk-0.1.0-cp38-none-manylinux1_x86_64.whlAny updates on making the pip installation compatible with more recent versions of Python?
Reacted by Thomas Davies and sergiocordon@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:
python setup.py bdist_wheel pip install --force-reinstall --no-deps dist/pptk-0.1.1-cp38-none-manylinux2014_x86_64.whlThe reinstall and no dependency switches are optional and your filename may vary of course.
Reacted by eVenYou 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
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?