当前位置:网站首页>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 》
边栏推荐
- Oracle database synonym creation
- Interesting research on mouse pointer interaction
- “我为开源打榜狂”第一周榜单公布,160位开发者上榜
- SQL实现将多行记录合并成一行
- Various usages of MySQL backup database to create table select and how many days are left
- phpstudy设置项目可以由局域网的其他电脑可以访问
- Redis cluster creation, capacity expansion and capacity reduction
- Kubesphere - set up redis cluster
- 致即将毕业大学生的一封信
- Push box games C #
猜你喜欢

Advanced technology management - do you know the whole picture of growth?

Scroll view specifies the starting position of the scrolling element
![[system design] proximity service](/img/4a/2e68536cbe385af1d1a591e674fbf0.png)
[system design] proximity service

ssh链接远程服务器 及 远程图形化界面的本地显示

YOLOV1学习笔记

CKA certification notes - CKA certification experience post

Creating postgre enterprise database by ArcGIS

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

ROS+Pytorch的联合使用示例(语义分割)

23 design models
随机推荐
About the difference between count (1), count (*), and count (column name)
Print time Hahahahahaha
PMP笔记记录
【开源项目推荐-ColugoMum】这群本科生基于国产深度学习框架PaddlePadddle开源了零售行业解决方案
Support vector machine for machine learning
Printer related problem record
Zhiniu stock project -- 05
深入解析kubernetes controller-runtime
简易密码锁
ruoyi接口权限校验
Get a screenshot of a uiscrollview, including off screen parts
Local rviz call and display of remote rostopic
Example of joint use of ros+pytoch (semantic segmentation)
CKA certification notes - CKA certification experience post
phpstudy设置项目可以由局域网的其他电脑可以访问
Zhiniu stock project -- 04
Oauth2.0 - use database to store client information and authorization code
Project summary --04
[leetcode] day93 - intersection of two arrays II
Migrate data from Mysql to tidb from a small amount of data