Issue
I installed pycharm-2016.1.4 in my PC running Ubuntu 14.04. I have installed Keras (a Python package) using pip install keras
and PyCharm can find it before. But it cannot find Keras now. I do not modify any settings, so this problem may be wired. My Python version is Python 2.7.
I use pip list
to verify that I have Keras installed:
But check this package in PyCharm by using: Settings -> Project -> Project Interpreter. Keras is NOT in the package list. (The interpreter used is the same as the result of which python
in terminal).
Solution
I do not know what happened, but the problem solved with the following steps.
- Uninstall old keras
- Re-install keras:
pip install keras
Then I can import keras
in pycharm.
NOTE: It is strange since I have keras installed but cannot find it in Project Interpreter's package list.
Answered By - Dong Li
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.