Open DylanDmitri opened 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
For now, if you switch to Python version 3.6, then you will be able to pip install it.
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.
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 :)
Why is pptk
not working with python3.7?
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)
...
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
@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, 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.
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
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!