当前位置:网站首页>Anaconda3 installation
Anaconda3 installation
2022-04-23 10:47:00 【qq1033930618】
anaconda3 install
- One 、anaconda3 download
- Two 、anaconda3 install
- 3、 ... and 、anaconda3 The graphical interface
- Four 、pycharm Build a virtual environment
- 5、 ... and 、anaconda3 Build a virtual environment
- 6、 ... and 、anaconda3 Reset root Environmental Science
- 7、 ... and 、 stay conda Before to add sudo
- 8、 ... and 、conda No, but pip Some installation packages
One 、anaconda3 download
Tsinghua University open source software image station
download
Anaconda3-20xx.xx-Linux-x86_64.sh
Two 、anaconda3 install
A terminal window
bash Anaconda3-20xx.xx-Linux-x86_64.sh
Select installation location
Initialization prompt Input yes
After installation Restart the terminal The terminal appears at the front (base)
python
The default is anaconda3 edition
3、 ... and 、anaconda3 The graphical interface
Display the graphical interface
anaconda-navigator
Four 、pycharm Build a virtual environment
stay pycharm Virtual environment in
Save the location
/home/ user name /anaconda3/envs
Import requirements
Put... In the terminal location folder
requirements.txt
5、 ... and 、anaconda3 Build a virtual environment
See all environments
conda env list
Create an environment
conda create -n Name of the environment python=3.7
Activate and exit the environment
conda activate Name of the environment
conda deactivate
Copy an environment
sudo conda create -n New environment --clone The old environment
View all package versions in the current environment
conda list
Install the package in the specified environment
conda install -n Name of the environment Package name
Update the installation package in the specified environment
conda update -n Name of the environment Package name
Delete
conda remove -n Name of the environment --all
requirements.txt Use
according to requirements.txt Installation package
Activate the environment
Include in requirements.txt Under the table of contents
pip install -r requirements.txt
Generate requirements.txt
pip freeze>requirements.txt
6、 ... and 、anaconda3 Reset root Environmental Science
conda list --revisions
conda install --revision REV_NUM
conda install --revision 0
Check history , Select on demand REV_NUM The number . In general ,0 Indicates that it is the first time to install , Include root The environment and conda command , So it's usually 1 Or after , Reset rule 0.
7、 ... and 、 stay conda Before to add sudo
After raising the right, do not add sudo It's fine too
in the light of sudo conda When the command cannot be executed
sudo chown -R user name anaconda3
perhaps
sudo chmod -R 777 anaconda3
vim ~/.bashrc
Add the following
alias sudo="sudo env PATH=$PATH"
Restart the terminal
8、 ... and 、conda No, but pip Some installation packages
Activate the environment
conda activate Name of the environment
pip install Installation package
版权声明
本文为[qq1033930618]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230618497355.html
边栏推荐
- Read LSTM (long short term memory)
- Read integrity monitoring techniques for vision navigation systems
- The courses bought at a high price are open! PHPer data sharing
- SSH利用私钥无密钥连接服务器踩坑实录
- JVM - common parameters
- Ansible playbook syntax and format automate cloud computing
- UDP basic learning
- Sim Api User Guide(5)
- 242、有效字母异位词(哈希表)
- 链表相交(链表)
猜你喜欢

Example of pop-up task progress bar function based on pyqt5

SSH利用私钥无密钥连接服务器踩坑实录

ID number verification system based on visual structure - Raspberry implementation

Reading integrity monitoring techniques for vision navigation systems - 3 background

第120章 SQL函数 ROUND

微信小程序简介、发展史、小程序的优点、申请账号、开发工具、初识wxml文件和wxss文件

【leetcode】199.二叉树的右视图

Initial exploration of NVIDIA's latest 3D reconstruction technology instant NGP

Sim Api User Guide(5)

Diary of dishes | Blue Bridge Cup - hexadecimal to octal (hand torn version) with hexadecimal conversion notes
随机推荐
C语言——自定义类型
Cve-2019-0708 vulnerability exploitation of secondary vocational network security 2022 national competition
Xshell+Xftp 下载安装步骤
202. Happy number
What are Jerry's usual program exceptions? [chapter]
Notes on concurrent programming of vegetables (V) thread safety and lock solution
142、环形链表||
Qinglong panel pull library command update [April 20, 2022] collection is not lost
/Can etc / shadow be cracked?
SQL Server recursive query of superior and subordinate
206. Reverse linked list (linked list)
mysql同一个表中相同数据怎么合并
997、有序数组的平方(数组)
【leetcode】107. Sequence traversal of binary tree II
SQL Server 递归查询上下级
MySQL how to merge the same data in the same table
209. Subarray with the smallest length (array)
Jerry's factors that usually affect CPU performance test results are: [article]
Diary of dishes | Blue Bridge Cup - hexadecimal to octal (hand torn version) with hexadecimal conversion notes
Ansible cloud computing automation