这篇文章主要用来解决,使用Anaconda安装了很多包,但在Pycharm中import报红的问题。
1.进入Pycharm的设置页面
2.在Python Interpreter中点击右侧Add Interpreter
3.点击System Interpreter,右侧下拉框能够看到Anaconda自带的Python.exe,选择并apply即可
4.下面是我已经apply后的样子
这篇文章主要用来解决,使用Anaconda安装了很多包,但在Pycharm中import报红的问题。
1.进入Pycharm的设置页面
2.在Python Interpreter中点击右侧Add Interpreter
3.点击System Interpreter,右侧下拉框能够看到Anaconda自带的Python.exe,选择并apply即可
4.下面是我已经apply后的样子