質問

Hello I recently installed Eve using pip3 install eve. But now I am having import problems. After installing eve from pip3. I can't import it. I tried it with Python3.3 and with Python2.7. When I try:

from eve import Eve

I get back Module not found error. Can you help me on this?

役に立ちましたか?

解決

Are you using virtualenv? You probably should as it allows to you to isolate your Eve (or whatever) environment from others, and avoid conflicts in the process.

This said, installing Eve is as simple as hitting pip install eve(from inside the virtual environment if you're using virtualenv).

Try issuing a pip freeze, it will list the installed packages. Compare the list with Eve dependencies and make sure they have all been installed (you can use requirements.txt for comparison).

EDIT: you might also be facing privilege issues. Try installing with sudo pip install eve. But again, you should really be using virtualenv.

Good luck!

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top