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 python2.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 package list (The interpreter used is the same as the result of which python
in terminal).
Any suggestions are welcome. Thank you.
This is strange, but you can install Keras directly through Pycharm.
You can follow this steps:
Please let me know if this procedure solve your issue.
I do not know what happened, but the problem solved with the following steps.
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.
My solution:
if you ever have installed in python:
To clearify Giordano's answer: