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

Dependency missing: "ImportError: No module named enum" #67

Closed
matthieu-lapeyre opened this issue Apr 19, 2015 · 5 comments
Closed

Dependency missing: "ImportError: No module named enum" #67

matthieu-lapeyre opened this issue Apr 19, 2015 · 5 comments

Comments

@matthieu-lapeyre
Copy link
Member

When running the poppy-reset-motor:

  File "..pypot/pypot/dynamixel/conversion.py", line 18, in <module>
    from enum import Enum
ImportError: No module named enum

Patch:

pip install enum

I thought you just forget to put enum in the setup but there is a "enum34", maybe it is because it is after numpy which installation is not done correctly by pip ?

@pierre-rouanet
Copy link
Contributor

There is already the dependency in the setup.py. I guess you are using pypot in develop mode and update it. In this case it does not update the dependency automatically.

BTW, enum34 seems to be the official repo so you should prefer it.

@matthieu-lapeyre
Copy link
Member Author

it was installed using pip on a fresh linux instal

@pierre-rouanet
Copy link
Contributor

I've just tried on a virtual env without any problem.
I've just seen your numpy comment. Indeed, if the install fails because of numpy, it probably stops before installing enum.

@matthieu-lapeyre
Copy link
Member Author

So maybe it could be fixed just by changing the dependency order

@show0k
Copy link
Member

show0k commented Jul 8, 2015

Shouldn’t we close this issue ?

@show0k show0k closed this as completed Jul 25, 2015
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