当前位置:网站首页>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
边栏推荐
- JUC concurrent programming 06 -- in-depth analysis of AQS source code of queue synchronizer
- SSH利用私钥无密钥连接服务器踩坑实录
- 24、两两交换链表中的节点(链表)
- Ansible cloud computing automation
- Download and installation steps of xshell + xftp
- MapReduce compression
- Swagger2 接口如何导入Postman
- 部署jar包
- Read LSTM (long short term memory)
- Can Jerry's AES 256bit [chapter]
猜你喜欢

Comparison and practice of prototype design of knowledge service app

Jinglianwen technology - professional data annotation company and intelligent data annotation platform

精彩回顾 | DEEPNOVA x Iceberg Meetup Online《基于Iceberg打造实时数据湖》

Yarn resource scheduler

Windows installs redis and sets the redis service to start automatically

JUC concurrent programming 06 -- in-depth analysis of AQS source code of queue synchronizer

Read LSTM (long short term memory)

SQL Server 游标循环表数据

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

Charles 功能介绍和使用教程
随机推荐
高价买来的课程,公开了!phper资料分享
定义链表(链表)
Charles function introduction and use tutorial
全栈交叉编译X86完成过程经验分享
19. Delete the penultimate node of the linked list (linked list)
Shell script interaction free
部署jar包
Sim Api User Guide(6)
解决方案架构师的小锦囊 - 架构图的 5 种类型
SQL Server recursive query of superior and subordinate
209、长度最小的子数组(数组)
1. Sum of two numbers (hash table)
Turn: Maugham: reading is a portable refuge
Jerry's users how to handle events in the simplest way [chapter]
202、快乐数
What are the system events of Jerry's [chapter]
Kaggle - real battle of house price prediction
Yarn core parameter configuration
域名和IP地址的联系
C language - custom type