Get the App
SLTechnology News&Howtos  ›  Development  › 

The method of Ubuntu18.04+Anaconda+Pycharm Environment configuration

Shulou Source: shulou.com Published: 2022-06-01 03:46:31 09月22日 Update

This article mainly introduces the relevant knowledge of the method of Ubuntu18.04+Anaconda+Pycharm environment configuration, the content is detailed and easy to understand, the operation is simple and fast, and has a certain reference value. I believe you will gain something after reading this article on the method of Ubuntu18.04+Anaconda+Pycharm environment configuration. Let's take a look at it.

Install Anaconda

Go to the official website to download the personal version and store it in the Download directory. Enter the directory and follow the steps below:

Bash Anaconda3-2020.02-Linux-x86_64.sh # enter enter and finish reading the protocol Do you accept the license terms? [yes | no] [no] > > Please answer 'yes' or' no':# enter yes to enter the interface to select the installation directory: "press enter to confirm the installation path, press' CTRL-C' to cancel the installation, or specify the installation directory." Do you wish the installer to initialize Anaconda3by running conda init? [yes | no] [no] > > yes # enter yes, which changes the current user name of / home / .bashrc file # optionally. We can gedit to open .bashrc and find that something with anaconda added at the end of the file appears: = > For changes to take effect, close and re-open your current shell. > ~ / .bashrc

Update source

Source ~ / .bashrcpycharm configuration environment

When we configure the Python environment, if we choose [New Environment], we need to set the [location] path to a blank folder, and then find our installed Python. At this time, Pycharm will copy the installed Python to this blank folder to build a new Python environment.

There is a default path to install third-party libraries using pip, so if you want to successfully install third-party libraries using pip, you need to meet the following two conditions: only one Python is installed on your computer, and [Existing Environment] is selected when configuring the Python environment.

This is the end of this article on "how to configure the Ubuntu18.04+Anaconda+Pycharm environment". Thank you for reading! I believe you all have a certain understanding of the "method of Ubuntu18.04+Anaconda+Pycharm environment configuration". If you want to learn more, you are welcome to follow the industry information channel.

Tags: Environment configuration command file method directory path management content time knowledge input selection folder blank third party article Zhongan switch update Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Apple Docker MySQL NVidia Huawei