当前位置:网站首页>Create your own deep learning environment with CONDA
Create your own deep learning environment with CONDA
2022-07-03 06:28:00 【Happy breeder】
The training of deep learning , Reasoning , Testing is inseparable python Language , We usually use conda Tools to build an environment , After installation conda in the future , By default, the corresponding version of pip And python,conda The higher the version , Corresponding python And pip The higher the version .
Catalog
attach :pip Install and uninstall
The environment create
After installation, use the command conda activate Activate conda Built in environment , namely base Environmental Science , This is installing conda Environment created automatically when . If you want to create other environments , Then use the following command to create :
# Create a your_env_name Environment
conda create --name your_env_name
# or
conda create --n your_env_name
# Create specific python Version environment
conda create --name your_env_name python=2.7
conda create --name your_env_name python=3.6To delete an environment
conda remove -n your_env_name --all
# or
conda remove --name your_env_name --allView the created environment
conda env listmatters needing attention
Note that you are creating conda It is best to specify the environment used python edition , Not in one conda Install multiple in the environment python, Otherwise, it is easy to get confused . After creating your own environment , Input python View the environment you created python Is the version correct , You can type python or python3, Check whether the version used is consistent , occasionally python The default is python2.7 Version, not python3.X edition , If the versions are inconsistent , Then you must pay attention to using when installing related libraries Python2 still python3. Because to use pip Install related libraries , At this time, you can enter pip See which one corresponds python edition , Here's the picture ,pip and pip3 The corresponding python Version inconsistency , Then you should pay attention when installing , To use pip still pip3. Under normal circumstances, you create conda The default environment is to use pip Of , instead of pip3, namely : Suppose you specify the python edition , So use pip -V see pip You can see the used python The version is and specified python edition .

attach :pip Install and uninstall
sudo apt install pip-python # Use later pip Installation Library
sudo apt install pip-python3 # Use later pip3 Installation Library
sudo apt remove pip-python # Delete pip
sudo apt remove pip-python3 # Delete pip3
More about conda And pip Please refer to my other blog post 《conda And pip The difference between 》
边栏推荐
- 数值法求解最优控制问题(一)——梯度法
- Printer related problem record
- [leetcode] day93 - intersection of two arrays II
- Install VM tools
- Use @data in Lombok to simplify entity class code
- Common interview questions
- 深入解析kubernetes controller-runtime
- SVN分支管理
- Get a screenshot of a uiscrollview, including off screen parts
- 2022 CISP-PTE(三)命令执行
猜你喜欢

Fluentd facile à utiliser avec le marché des plug - ins rainbond pour une collecte de journaux plus rapide

Oauth2.0 - Introduction and use and explanation of authorization code mode

Support vector machine for machine learning

Important knowledge points of redis

Kubesphere - build MySQL master-slave replication structure

tabbar的设置
![[set theory] relational closure (relational closure solution | relational graph closure | relational matrix closure | closure operation and relational properties | closure compound operation)](/img/a4/00aca72b268f77fe4fb24ac06289f5.jpg)
[set theory] relational closure (relational closure solution | relational graph closure | relational matrix closure | closure operation and relational properties | closure compound operation)

Zhiniu stock -- 03

Scroll view specifies the starting position of the scrolling element

使用conda创建自己的深度学习环境
随机推荐
有意思的鼠標指針交互探究
Common interview questions
Creating postgre enterprise database by ArcGIS
. Net program configuration file operation (INI, CFG, config)
第8章、MapReduce 生产经验
Cannot get value with @value, null
Scroll view specifies the starting position of the scrolling element
Docker advanced learning (container data volume, MySQL installation, dockerfile)
MySQL带二进制的库表导出导入
Example of joint use of ros+pytoch (semantic segmentation)
Cesium entity(entities) 实体删除方法
Svn branch management
Selenium ide installation recording and local project maintenance
Naive Bayes in machine learning
The most classic 100 sentences in the world famous works
冒泡排序的简单理解
ODL framework project construction trial -demo
Openresty best practices
Mysql5.7 group by error
Simple understanding of ThreadLocal