Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pip install doesn't work on python 3.8 #75

Open
mccalluc opened this issue Feb 25, 2020 · 0 comments
Open

pip install doesn't work on python 3.8 #75

mccalluc opened this issue Feb 25, 2020 · 0 comments

Comments

@mccalluc
Copy link
Collaborator

I made a fresh environment and was curious whether I'd have any problems with 3.8. I got this error:

$ pip install -r requirements.txt
Collecting loompy==2.0.16
  Downloading loompy-2.0.16.tar.gz (31 kB)
Collecting pypng==0.0.19
  Downloading pypng-0.0.19.tar.gz (293 kB)
     |████████████████████████████████| 293 kB 5.3 MB/s
Collecting scikit-learn==0.20.3
  Downloading scikit-learn-0.20.3.tar.gz (11.8 MB)
     |████████████████████████████████| 11.8 MB 6.9 MB/s
Collecting iiif==1.0.6
  Downloading iiif-1.0.6.tar.gz (546 kB)
     |████████████████████████████████| 546 kB 21.4 MB/s
Collecting pandas==0.24.1
  Downloading pandas-0.24.1.tar.gz (11.8 MB)
     |████████████████████████████████| 11.8 MB 11.7 MB/s
    ERROR: Command errored out with exit status 1:
     command: /opt/anaconda3/envs/v-data/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/2f/yvyq4r852yxg3xf902p52w5h0000gn/T/pip-install-bjzh85dh/pandas/setup.py'"'"'; __file__='"'"'/private/var/folders/2f/yvyq4r852yxg3xf902p52w5h0000gn/T/pip-install-bjzh85dh/pandas/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/2f/yvyq4r852yxg3xf902p52w5h0000gn/T/pip-install-bjzh85dh/pandas/pip-egg-info
         cwd: /private/var/folders/2f/yvyq4r852yxg3xf902p52w5h0000gn/T/pip-install-bjzh85dh/pandas/
    Complete output (18 lines):
    Traceback (most recent call last):
      File "/opt/anaconda3/envs/v-data/lib/python3.8/site-packages/pkg_resources/__init__.py", line 360, in get_provider
        module = sys.modules[moduleOrReq]
    KeyError: 'numpy'

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/private/var/folders/2f/yvyq4r852yxg3xf902p52w5h0000gn/T/pip-install-bjzh85dh/pandas/setup.py", line 732, in <module>
        ext_modules=maybe_cythonize(extensions, compiler_directives=directives),
      File "/private/var/folders/2f/yvyq4r852yxg3xf902p52w5h0000gn/T/pip-install-bjzh85dh/pandas/setup.py", line 475, in maybe_cythonize
        numpy_incl = pkg_resources.resource_filename('numpy', 'core/include')
      File "/opt/anaconda3/envs/v-data/lib/python3.8/site-packages/pkg_resources/__init__.py", line 1145, in resource_filename
        return get_provider(package_or_requirement).get_resource_filename(
      File "/opt/anaconda3/envs/v-data/lib/python3.8/site-packages/pkg_resources/__init__.py", line 362, in get_provider
        __import__(moduleOrReq)
    ModuleNotFoundError: No module named 'numpy'
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant