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

Error installing mock #9

Closed
travs opened this issue Aug 6, 2015 · 3 comments
Closed

Error installing mock #9

travs opened this issue Aug 6, 2015 · 3 comments

Comments

@travs
Copy link

travs commented Aug 6, 2015

Not sure why this is happening since I don't see mock in the setup.py or requirements.txt files, but I get the following error when I try to run python setup.py install in a fresh venv.

OS X 10.10

Processing dependencies for pyNeuroML==0.1.1
Searching for mock
Reading https://github.com/purcell/airspeed.git
Reading https://pypi.python.org/simple/mock/
Best match: mock 1.3.0
Downloading https://pypi.python.org/packages/source/m/mock/mock-1.3.0.tar.gz#md5=73ee8a4af
b3ff4da1b4afa287f39fdeb
Processing mock-1.3.0.tar.gz
Writing /var/folders/nk/0qlyp_m90hg83g473tx9hg580000gn/T/easy_install-HmuL_w/mock-1.3.0/se
tup.cfg
Running mock-1.3.0/setup.py -q bdist_egg --dist-dir /var/folders/nk/0qlyp_m90hg83g473tx9hg
580000gn/T/easy_install-HmuL_w/mock-1.3.0/egg-dist-tmp-hxCk0o
mock requires setuptools>=17.1. Aborting installation
error: Setup script exited with 1
@pgleeson
Copy link
Member

pgleeson commented Aug 7, 2015

Not sure why that's being included either, though the end of the error message suggests updating setuptools might solve the problem.

@rgerkin
Copy link
Contributor

rgerkin commented Aug 10, 2015

@travs What dependency of pyNeuroML has mock as a dependency?

@travs
Copy link
Author

travs commented Aug 11, 2015

@rgerkin I'm not sure. None of the dependencies of pyNeuroML seem to, except maybe matplotlib, though I'm not certain about that one.
Anyway, I was able to get past this by doing pip install mock manually, without changing anything else.

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