当前位置:网站首页>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 》
边栏推荐
- PHP用ENV获取文件参数的时候拿到的是字符串
- Apifix installation
- Kubernetes notes (10) kubernetes Monitoring & debugging
- Some thoughts on machine learning
- Docker advanced learning (container data volume, MySQL installation, dockerfile)
- Mysql5.7 group by error
- opencv鼠标键盘事件
- 【C#/VB.NET】 将PDF转为SVG/Image, SVG/Image转PDF
- Get a screenshot of a uiscrollview, including off screen parts
- Example of joint use of ros+pytoch (semantic segmentation)
猜你喜欢

Install VM tools

Fluentd is easy to use. Combined with the rainbow plug-in market, log collection is faster

【开源项目推荐-ColugoMum】这群本科生基于国产深度学习框架PaddlePadddle开源了零售行业解决方案

论文笔记 VSALM 文献综述《A Comprehensive Survey of Visual SLAM Algorithms》

arcgis创建postgre企业级数据库

表达式的动态解析和计算,Flee用起来真香

2022 CISP-PTE(三)命令执行

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

技术管理进阶——你了解成长的全貌吗?

ThreadLocal的简单理解
随机推荐
Interface test weather API
Oracle database synonym creation
简易密码锁
Use selenium to climb the annual box office of Yien
Scripy learning
Important knowledge points of redis
MATLAB如何修改默认设置
Cesium 点击获取模型表面经纬度高程坐标(三维坐标)
学习笔记 -- k-d tree 和 ikd-Tree 原理及对比
Introduction to software engineering
tabbar的设置
[5g NR] UE registration process
Characteristics and isolation level of database
Redis cluster creation, capacity expansion and capacity reduction
Cesium Click to obtain the longitude and latitude elevation coordinates (3D coordinates) of the model surface
The mechanical hard disk is connected to the computer through USB and cannot be displayed
opencv鼠标键盘事件
Phpstudy setting items can be accessed by other computers on the LAN
Time format record
代码管理工具