Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

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

2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

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.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report