pptk icon indicating copy to clipboard operation
pptk copied to clipboard

pip install not working with python 3.9

Open grpnpraveen opened this issue 3 years ago • 9 comments

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

grpnpraveen avatar Jul 08 '21 15:07 grpnpraveen

I got the same error on python==3.8

aminullah6264 avatar Jul 12 '21 16:07 aminullah6264

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)

LucHayward avatar Oct 12 '21 15:10 LucHayward

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

anandramadhin avatar May 17 '22 11:05 anandramadhin

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?

SpatialDigger avatar Jun 01 '22 17:06 SpatialDigger

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: @.***>

LucHayward avatar Jun 02 '22 09:06 LucHayward

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).

nikste avatar Jun 16 '22 13:06 nikste

@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 avatar Jun 17 '22 21:06 SpatialDigger

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

SpatialDigger avatar Jun 17 '22 21:06 SpatialDigger

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.

LucHayward avatar Jul 19 '22 08:07 LucHayward