当前位置:网站首页>[tools] related use of PIP and CONDA
[tools] related use of PIP and CONDA
2022-06-22 18:06:00 【Hard working yuan】
List of articles
conda Related use of
0. Set up domestic image
http://Anaconda.org Our server is abroad , Install multiple packages when ,conda Downloads are often slow . tsinghua TUNA What are the mirror sources Anaconda The image of the warehouse , Add it to conda Can be configured :
add to Anaconda Of TUNA Mirror image
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
TUNA Of help The image address is quoted in , Need to get rid of it.
Set the channel address when searching
conda config --set show_channel_urls yes
1. View the existing virtual environment name
conda env list
2. Creating a virtual environment
conda create -n env_name python=3.8
3. Activate the virtual environment
activate env_name
4. View installed packages
conda list
# Specify to view the... Installed in an environment package
conda list -n env_name
5. Close the virtual environment
deactivate
6. Remove environment
conda remove -n env_name --all
7. Reduce python Methods :
open anaconda prompt, Then input conda install python=3.6
8.conda Create an environment
conda create --name Name of the environment pytohn==3.6
9. Activate the environment
activate yourEnv
10. Delete environment
conda env remove -n yourEnv
11. Look at all the environments
conda env list
or
conda info --envs
pip Related use of
0. Library updates and Downloads
pip install -U numpy
conda install module ( Suggest using pip download )
pip install --upgrade module -i https://pypi.tuna.tsinghua.edu.cn/simple
python -m pip install module -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com(√)
pip install module -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com(√)
pip install -i https://pypi.douban.com/simple/ module # Use Douban source
pip install -i http://mirrors.aliyun.com/pypi/simple/ module # Alibaba cloud
pip install -i https://pypi.mirrors.ustc.edu.cn/simple/ module # University of science and technology of China
pip install -i http://pypi.douban.com/simple/ module # douban (douban)
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple/ module # Tsinghua University
pip install -i http://pypi.mirrors.ustc.edu.cn/simple/ module # University of science and technology of China
1.pip Install the version of the specified library pip install numpy==2.8.7
边栏推荐
- High voltage direct current (HVDC) model based on converter (MMC) technology and voltage source converter (VSC) (implemented by MATLAB & Simulink)
- Kibana+elk cluster log processing
- Interview shock 58: Six differences among truncate, delete and drop!
- 视频直播系统源码,顶部标题栏的隐藏和标题修改
- [recruitment] [Beijing Zhongguancun / remote] [tensorbase][open source data warehouse] and other people do one thing
- MTLs guidelines for kubernetes engineers
- docker: Error response from daemon: Conflict. The container name “/mysql“ is already in use by conta
- 思维的定义
- MYSQL_ ERRNO : 1205 MESSAGE :Lock wait timeout exceeded; try restarting transacti
- 内容推荐流程
猜你喜欢

client-go gin的简单整合十-Update

170million passwords of Netcom learning link have been leaked! What are the remedies?

WPF effect chapter 190: playing listbox again

AD20/Altium designer——过孔盖油

Fluentd is easy to get started. Combined with the rainbow plug-in market, log collection is faster
![[face recognition] matlab simulation of face recognition based on googlenet deep learning network](/img/e8/050ca85542ccbf1402b84c5dbf6f5e.png)
[face recognition] matlab simulation of face recognition based on googlenet deep learning network

Power BI的五个实用小技巧(文末赠书)

【win11】注册表修改fix 右键没有新建

Quartus Prime 18.0软件安装包和安装教程

Come to Xiamen! Online communication quota free registration
随机推荐
Definition of thinking
Grafana 9 正式发布,更易用,更酷炫了!
网页制作存在的一些难点
Fluentd is easy to get started. Combined with the rainbow plug-in market, log collection is faster
啊哈C语言 第6章 天啊 一大串数正在接近(第26讲)
RF analyzer demo setup
Heartless sword in Chinese
0 basic how to get started software testing, can you succeed in changing careers?
[mysql] data synchronization prompt: specified key was too long; max key length is 767 bytes
mysql服务器启动后自动停止
轻松上手Fluentd,结合 Rainbond 插件市场,日志收集更快捷
<JVM上篇:内存与垃圾回收篇>08-对象实例化及直接内存
[recruitment] [Beijing Zhongguancun / remote] [tensorbase][open source data warehouse] and other people do one thing
A classmate asked what framework PHP should learn?
短视频直播源码,EditText输入框的使用
clickhouse 21. X cluster four piece one copy deployment
诺亚财富拟登陆港交所:第一季度业绩大幅下滑,曾踩雷“承兴案”
Service or mapper cannot be injected into a multithread
Make it more automatic to transfer slow logs and audit logs of RDS (for MySQL) databases to OBS across spaces
Kibana+elk cluster log processing