heremaps / pptk

The Point Processing Toolkit (pptk) is a Python package for visualizing and processing 2-d/3-d point clouds.
https://heremaps.github.io/pptk
MIT License
610 stars 112 forks source link

pip install not working with python 3.9 #54

Open grpnpraveen opened 3 years ago

grpnpraveen commented 3 years ago

Errors: Could not find a version that satisfies the requirement pptk (from versions: none) No matching distribution found for pptk

aminullah6264 commented 3 years ago

I got the same error on python==3.8

LucHayward commented 2 years ago

pptk is only supported up to python 3.7. You would need to recompile it yourself for newer versions or try and install the old version (last time I tried this it caused issues with the rendering)

anandramadhin commented 2 years ago

I'm getting the same error. I have python 3.7 installed. Any ideas how I can fix this? I'm running 3.7.0

SpatialDigger commented 2 years ago

Are there any plans to release pptk for Python 3.8 or higher? If not I'm going to have to move to another viewer, any suggestions?

LucHayward commented 2 years ago

There's always the possibility of recompiling the wheel yourself, I doubt there's much that will break.

On Wed, 01 Jun 2022 at 19:02, garynobles @.***> wrote:

Are there any plans to release pptk for Python 3.8 or higher? If not I'm going to have to move to another viewer, any suggestions?

— Reply to this email directly, view it on GitHub https://github.com/heremaps/pptk/issues/54#issuecomment-1143881908, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEZOWLVWVD2P5EIXKBR3UL3VM6JTBANCNFSM5AA7DR5Q . You are receiving this because you commented.Message ID: @.***>

nikste commented 2 years ago

for me it worked to just rename the file change the cp-<pythonversion> part in the filename to your python version (skipping the dot), you might get an issue with pptk viewer hanging and not doing anything, you can copy some shared libraries inside the venv (i think there was an issue here for that as well, that fixed it).

SpatialDigger commented 2 years ago

@nikste I have tried pip install pptk-0.1.0-cp38-none-win_amd64.whl after renaming the 3.7 wheel from here https://files.pythonhosted.org/packages/9c/01/81de3cc25c9f7e3f378de92e720a8458a8a26884bb3d7e2baa4fc8269528/pptk-0.1.0-cp37-none-win_amd64.whl

This gives 'DLL load failed while importing kdtree: The specified module could not be found.' from here 'venv\\lib\\site-packages\\pptk\\kdtree\\kdtree.pyd' I'm wanting to package and release this software (it will be freely available aimed at archaeologists and I developed it when I was in the Netherlands then tested in Turkey ) but I'm being held back by this glitch.

Thanks for any further help.

SpatialDigger commented 2 years ago

@LucHayward this is where my knowledge ends, is recompiling difficult? Is there a good how to guide anywhere?

LucHayward commented 2 years ago

I'm afraid that was just the suggestion given to me by another friend of mine. I love pptk for its simplicity and low overhead but Open3D may help you.