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

versioneer missing from all files in requirements dir leads to ModuleNotFoundError when installing from pip #1272

Closed
ReagentX opened this issue Feb 3, 2019 · 2 comments

Comments

@ReagentX
Copy link

ReagentX commented Feb 3, 2019

Description

versioneer is missing from all files in requirements dir, which leads to ModuleNotFoundError when installing via pip.

Code to reproduce

pip intall Cartopy

Traceback

Collecting Cartopy
  Downloading https://files.pythonhosted.org/packages/e5/92/fe8838fa8158931906dfc4f16c5c1436b3dd2daf83592645b179581403ad/Cartopy-0.17.0.tar.gz (8.9MB)
    100% |████████████████████████████████| 8.9MB 2.7MB/s
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  Complete output from command /Users/chris/Dropbox/Code/Python/purple_air_api/venv/bin/python3 /Users/chris/Dropbox/Code/Python/purple_air_api/venv/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /var/folders/41/39__8bps2b7cncsp6kkp4x8c0000gn/T/tmpa5wa1xdn:
  Traceback (most recent call last):
    File "/Users/chris/Dropbox/Code/Python/purple_air_api/venv/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py", line 207, in <module>
      main()
    File "/Users/chris/Dropbox/Code/Python/purple_air_api/venv/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py", line 197, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
    File "/Users/chris/Dropbox/Code/Python/purple_air_api/venv/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py", line 54, in get_requires_for_build_wheel
      return hook(config_settings)
    File "/private/var/folders/41/39__8bps2b7cncsp6kkp4x8c0000gn/T/pip-build-env-_svx4xy6/overlay/lib/python3.7/site-packages/setuptools/build_meta.py", line 115, in get_requires_for_build_wheel
      return _get_build_requires(config_settings, requirements=['wheel'])
    File "/private/var/folders/41/39__8bps2b7cncsp6kkp4x8c0000gn/T/pip-build-env-_svx4xy6/overlay/lib/python3.7/site-packages/setuptools/build_meta.py", line 101, in _get_build_requires
      _run_setup()
    File "/private/var/folders/41/39__8bps2b7cncsp6kkp4x8c0000gn/T/pip-build-env-_svx4xy6/overlay/lib/python3.7/site-packages/setuptools/build_meta.py", line 85, in _run_setup
      exec(compile(code, __file__, 'exec'), locals())
    File "setup.py", line 36, in <module>
      import versioneer
  ModuleNotFoundError: No module named 'versioneer'
Full environment definition

Operating system

MacOS 10.14.2 (18C54)

Cartopy version

N/A

conda list

pip list

astroid==2.1.0
certifi==2018.11.29
chardet==3.0.4
cycler==0.10.0
docopt==0.6.2
geographiclib==1.49
geopy==1.18.1
idna==2.8
isort==4.3.4
kiwisolver==1.0.1
lazy-object-proxy==1.3.1
matplotlib==3.0.2
mccabe==0.6.1
numpy==1.16.1
pandas==0.24.0
pylint==2.2.2
pyparsing==2.3.1
python-dateutil==2.7.5
pytz==2018.9
requests==2.21.0
requests-cache==0.4.13
six==1.12.0
thingspeak==0.4.1
urllib3==1.24.1
wrapt==1.10.11
@akrherz
Copy link
Contributor

akrherz commented Feb 3, 2019

see #1270

@QuLogic
Copy link
Member

QuLogic commented Feb 3, 2019

Yes, this is a duplicate of #1270.

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

3 participants