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

rdk init fails after upgrade #26

Closed
indukuri1 opened this issue Feb 26, 2018 · 4 comments
Closed

rdk init fails after upgrade #26

indukuri1 opened this issue Feb 26, 2018 · 4 comments

Comments

@indukuri1
Copy link

The message that comes is as under
Traceback (most recent call last):
File "/usr/local/bin/rdk", line 12, in
from rdk import rdk
File "/Library/Python/2.7/site-packages/rdk/rdk.py", line 31, in
import mock
ImportError: No module named mock

@michaelborchert
Copy link
Contributor

After some digging, it looks like we ran into a known pip edge case that caused the "mock" package requirement to not get installed properly: pypa/pip#4780. I'm working on a fix now, but in the meantime if you pip install mock I believe that should take care of it. Or switch to a virtualenv and python 3. :)

@rafihm
Copy link
Contributor

rafihm commented Mar 5, 2018

I think we don't have "mock" in "install_requires" section of the "setup.py".
can we Include "mock" to fix this issue ?

@michaelborchert
Copy link
Contributor

michaelborchert commented Mar 5, 2018 via email

@michaelborchert
Copy link
Contributor

mock is now present in the correct section of setup.py, closing the issue.

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