PyCharm CE not recognizing installed packages

已回答

 I have a python script that requires certain packages (Flask, uwsgi, behave, selenium) to be installed.

Pycharm CE warns that these packages are not installed, offers to install them, but the installation fails from the IDE. After installation from the command line Pycharm still does not recognize these packages.  

Screen shots and idea.log attached.

 

 

 

 

0

Hi David. PyCharms' error seems to be PY-29395, it should be fixed in 2018.1.4, 2017.3.6, 2017.2.7 and 2017.1.8.

According to your screenshot, PyCharm uses virtualenv in /Users/daviddevon/section10/venv while in the terminal you use the first pip in PATH, which is from anaconda3 installation. You either have to activate virtualenv before installing packages with

source /Users/daviddevon/section10/venv/bin/activate

or select anaconda3 as a project interpreter in PyCharm settings.

0
Avatar
Permanently deleted user

Hello Pavel-

 
Activated virtualenv, problem solved.
 
Thanks,
David
0

请先登录再写评论。