pptk icon indicating copy to clipboard operation
pptk copied to clipboard

Missing OSX python3.7

Open DylanDmitri opened this issue 6 years ago • 10 comments

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!

DylanDmitri avatar Dec 06 '18 23:12 DylanDmitri

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

raaaaaymond avatar Feb 28 '19 11:02 raaaaaymond

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

DylanDmitri avatar Mar 11 '19 19:03 DylanDmitri

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.

xiaofanliang avatar Mar 15 '19 01:03 xiaofanliang

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

egpbos avatar Jul 16 '19 13:07 egpbos

Why is pptk not working with python3.7?

arilwan avatar Aug 09 '19 16:08 arilwan

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

jfinken avatar Sep 10 '19 14:09 jfinken

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 avatar Jan 30 '20 15:01 CopyNinja-Ben

@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)?

jfinken avatar Jan 31 '20 17:01 jfinken

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

CopyNinja-Ben avatar Feb 01 '20 00:02 CopyNinja-Ben

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

knaggita avatar Sep 14 '20 18:09 knaggita