Pycharm安装配置Anaconda和Pip遇到的问题和解决办法

Pycharm  Professional 2018.01版本

1、配置编译器时,OK键是灰色的,报错显示“environment location directory is not empty”

解决办法: I went into the file directory on my computer and deleted the "venv" file for the project and it worked.

2、Pycharm的运行按钮是灰色的。

解决办法:

需要设置控制台、配置界面。

https://blog.csdn.net/chenggong2dm/article/details/9366805

3、配置Anaconda环境的步骤:

选择“Add...”,然后在“Existing Environment”里面选择“Anaconda/Python.exe”或者是“anaconda2/bin/python”。不要在“New Environment”下面选择“Anaconda/Python.exe”,否则会新建环境。


补充小技巧:

1、安装新包可以通过:File–>Settings–>Project: Python Program–>Program Interpreter–>”+”–>search package–>install Package。

2、这篇文章讲了Conda的语句,和Anaconda的其他工具。http://aperise.iteye.com/blog/2369537。

3、安装新包也可以在Anaconda Prompt里面用Conda来安装新包。

你可能感兴趣的:(Pycharm安装配置Anaconda和Pip遇到的问题和解决办法)