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
615 stars 113 forks source link

Missing OSX python3.7 #7

Open DylanDmitri opened 5 years ago

DylanDmitri commented 5 years ago

On PyPi, there's only a Mac version for python 3.6, and not for python 3.7. I tried to install off of pip, and was very confused for a while.

Thanks!

raaaaaymond commented 5 years ago

Same or similar problem. I tried to pip3 install on MacOS 10.13.6, Python 3.7.2. Got error:

Could not find a version that satisfies the requirement pptk (from versions: )
No matching distribution found for pptk
DylanDmitri commented 5 years ago

For now, if you switch to Python version 3.6, then you will be able to pip install it.

xiaofanliang commented 5 years ago
Screen Shot 2019-03-14 at 6 20 19 PM

I tried to set up a virtual environment to switch to Python 3.6, but I still cannot install pptk. I also tried to install from the whl file downloaded from Pypl. It still does not work.

egpbos commented 5 years ago

Is anybody still working on this? It would be really nice to have this option so that I can drop Python 3.6 support in my package, so that I can start using dataclasses :)

arilwan commented 5 years ago

Why is pptk not working with python3.7?

jfinken commented 5 years ago

Hi everyone,

As per pip and pypi convention, pip looks for a wheel appropriate for the OS, python version, and machine architecture by filename. Thus it appears a wheel simply needs to be built for macOS and python 3.7.

In the interim, one can download the macOS py3.6 wheel from pypi, rename it and install it directly (note the active {conda, pipenv, virtualenv environment}):

(py37)$ mv pptk-0.1.0-cp36-none-macosx_10_13_x86_64.whl pptk-0.1.0-cp37-none-macosx_10_13_x86_64.whl 
(py37)$ pip install ./pptk-0.1.0-cp37-none-macosx_10_13_x86_64.whl
Processing ./pptk-0.1.0-cp37-none-macosx_10_13_x86_64.whl
Collecting numpy (from pptk==0.1.0)
...
CopyNinja-Ben commented 4 years ago

Hi everyone,

As per pip and pypi convention, pip looks for a wheel appropriate for the OS, python version, and machine architecture by filename. Thus it appears a wheel simply needs to be built for macOS and python 3.7.

In the interim, one can download the macOS py3.6 wheel from pypi, rename it and install it directly (note the active {conda, pipenv, virtualenv environment}):

(py37)$ mv pptk-0.1.0-cp36-none-macosx_10_13_x86_64.whl pptk-0.1.0-cp37-none-macosx_10_13_x86_64.whl 
(py37)$ pip install ./pptk-0.1.0-cp37-none-macosx_10_13_x86_64.whl
Processing ./pptk-0.1.0-cp37-none-macosx_10_13_x86_64.whl
Collecting numpy (from pptk==0.1.0)
...

it does show success for installing, but when I write the code in pyCharm, it still cannot find the package

jfinken commented 4 years ago

@CopyNinja-Ben, I apologize as I do not use pyCharm for python development. Maybe a Run Configuration needs to be modified to activate your virtual environment (containing the pptk install)?

CopyNinja-Ben commented 4 years ago

@CopyNinja-Ben, I apologize as I do not use pyCharm for python development. Maybe a Run Configuration needs to be modified to activate your virtual environment (containing the pptk install)?

I use anaconda to install a new virtual environment(python 2.7) and find it works here. Thanks.

knaggita commented 4 years ago

Hi everyone,

As per pip and pypi convention, pip looks for a wheel appropriate for the OS, python version, and machine architecture by filename. Thus it appears a wheel simply needs to be built for macOS and python 3.7.

In the interim, one can download the macOS py3.6 wheel from pypi, rename it and install it directly (note the active {conda, pipenv, virtualenv environment}):

(py37)$ mv pptk-0.1.0-cp36-none-macosx_10_13_x86_64.whl pptk-0.1.0-cp37-none-macosx_10_13_x86_64.whl 
(py37)$ pip install ./pptk-0.1.0-cp37-none-macosx_10_13_x86_64.whl
Processing ./pptk-0.1.0-cp37-none-macosx_10_13_x86_64.whl
Collecting numpy (from pptk==0.1.0)
...

please ensure the whl you download is in compliance with your system os