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

setup.py failed with error code 1 when I do pip install inasafe_cli #6

Open
solomonvimal opened this issue Feb 15, 2018 · 2 comments
Open

Comments

@solomonvimal
Copy link

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-iuf1_o8g/inasafe-core/

@solomonvimal
Copy link
Author

Not sure how to fix this, I tried standard fixes like upgrading setuptools, trying this with pip2 and pip3 separately, with and without sudo permissions, etc.

@ismailsunni
Copy link
Member

Hi @solomonvimal
I got the same problem, it seems there is a bug in the latest release of inasafe-core package. Please install inasafe-core==4.1.6 (i.e. pip install inasafe-core==4.1.6), then you can install this `inasafe_cli.

My result:

(MetalPython) estragon:venv ismailsunni$ pip install inasafe-core==4.1.6
Collecting inasafe-core==4.1.6
Collecting raven==6.1.0 (from inasafe-core==4.1.6)
  Using cached raven-6.1.0-py2.py3-none-any.whl
Requirement already satisfied: PyDispatcher==2.0.5 in ./MetalPython/lib/python2.7/site-packages (from inasafe-core==4.1.6)
Collecting inasafe-parameters==1.0.1 (from inasafe-core==4.1.6)
Requirement already satisfied: contextlib2 in ./MetalPython/lib/python2.7/site-packages (from raven==6.1.0->inasafe-core==4.1.6)
Installing collected packages: raven, inasafe-parameters, inasafe-core
  Found existing installation: raven 5.29.0
    Uninstalling raven-5.29.0:
      Successfully uninstalled raven-5.29.0
Successfully installed inasafe-core-4.1.6 inasafe-parameters-1.0.1 raven-6.1.0
(MetalPython) estragon:venv ismailsunni$ pip install inasafe-cli
Collecting inasafe-cli
Requirement already satisfied: inasafe-core in ./MetalPython/lib/python2.7/site-packages (from inasafe-cli)
Requirement already satisfied: docopt in /Library/Python/2.7/site-packages/docopt-0.6.2-py2.7.egg (from inasafe-cli)
Requirement already satisfied: raven==6.1.0 in ./MetalPython/lib/python2.7/site-packages (from inasafe-core->inasafe-cli)
Requirement already satisfied: PyDispatcher==2.0.5 in ./MetalPython/lib/python2.7/site-packages (from inasafe-core->inasafe-cli)
Requirement already satisfied: inasafe-parameters==1.0.1 in ./MetalPython/lib/python2.7/site-packages (from inasafe-core->inasafe-cli)
Requirement already satisfied: contextlib2 in ./MetalPython/lib/python2.7/site-packages (from raven==6.1.0->inasafe-core->inasafe-cli)
Installing collected packages: inasafe-cli
Successfully installed inasafe-cli-1.0.7

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

2 participants