1. Download and install pycharm
ubuntu 20.04.2 LIS operating system name
64-bit operating system type
step:
(1) Download PyCharm official website: https://www.jetbrains.com
Download the installation package tool→pycharm community (comunity) Linux
(2) Install, unzip, open the file, find the bin file and open it in the terminal./pycharm.sh
(3)
创建桌面图标 (
添加快捷方式)
菜单栏——【
Tools
】菜单——【
Create Desktop Entry
】子菜单
2. Build the environment
terminal anaconda prompt pycharm
Mirror (domestic download to improve network speed):
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
conda config --set show_channel_urls yes
Create a virtual environment
conda create -n xxxxenv_name python=3.6
Activate the virtual environment
View the current version python --version
激活 activate your_env_name
Close the virtual environment
deactivate
Delete the virtual environment
conda remove -n your_env_name (virtual environment name) --all
conda remove --name your_env_name package_name # Delete a package in the environment
download package
Mirror image + pip install xxxx Remember to activate it in your own environment when installing
Such as: virtual environment name dyy
pycharm creates environment location: E:\software\conda\envs\dyy
question?
No graphics card can only install the cpu version of pyzed can not be installed