The steps for pycharm to configure anaconda are: 1. Create a new project; 2. Manually change the Python Interpreter; 3. Configure environment variables, restart pycharm, and apply the application.
#The operating system of this tutorial: Windows 10 system, PyCharm 2023.3 version, Dell G3 computer.
The steps for pycharm to configure anaconda are as follows:
1, Create a new project and find the corresponding folder according to the figure below
2, Manually change the Python Interpreter
##Then click OK. Generally speaking, the computer will automatically find the path directly. If the conda.exe file or Conda Executable cannot be found, The folder on the right is red. First, manually search for the conda.exe file. If you still can't find it, it means the environment variables are not configured properly. Follow the steps below: This Computer - Properties - Advanced System Settings - Advanced - Environment Variables - System Variables - Select Path-click Edit-New ## After clicking OK all the way, the environment variables are configured. Restart pycharm, follow the above steps to change python intrpreter, then click ok, and then Apply. It is done. You can solve the problem of not being able to find the conda.exe file or the right side of Conda Executable. Problem with folders being red
The above is the detailed content of How to configure anaconda in pycharm. For more information, please follow other related articles on the PHP Chinese website!