当前位置:网站首页>CONDA modifying a mirror source
CONDA modifying a mirror source
2022-06-25 17:37:00 【Green Lantern swordsman】
1. Add Tsinghua view image source
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
conda config --set show_channel_urls yes
Add the currently available image source of CUHK
conda config --add channels https://mirrors.ustc.edu.cn/anaconda/pkgs/free/
For specific modified files, see create in the current user directory .condarc file , You can view the changes of the contents of the file before and after the source change .
2. Restore the original image
conda config --remove-key channels
3. delete mirror
conda config --remove channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
4. There's a problem later
2022 Use this link again later , I found the wrong report . Wrong report ! therefore , Check information , Read the blogs of the following two bigwigs , To discover the mystery .
(1)Anaconda Create a new environment , appear CondaHTTPError: HTTP 000 CONNECTION FAILED for url … To solve the process
(2)conda Add image source _conda Add domestic sources correctly
therefore , The modified code is as follows :
conda config --add channels http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/win-64/
conda config --add channels http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/win-64/
conda config --set show_channel_urls yes
5.conda Common commands
conda create -n your_env_name python=3.6
conda activate Environment name
conda deactivate
conda clean --all # Delete cache
conda config --show # View the installed image source
conda config --remove channels url # Delete image address url
conda remove -n rcnn --all Delete environment
6. Rename environment
conda There's no rename command , Renaming is achieved by clone Accomplished .
First step : First clone One copy new name Environment
conda create -n tf --clone rcnn
The second step : Delete old Environmental Science
conda remove -n rcnn --all
conda info -e # see conda Environmental Science
边栏推荐
- 学习太极创客 — MQTT(一)MQTT 是什么
- golang sort slice int
- Learning Tai Chi makers - mqtt (I) what is mqtt
- Learn Tai Chi Maker - mqtt (III) connect to mqtt server
- container of()函数简介
- Best practices for data relocation: using CDM to relocate offline Mysql to DWS
- WARNING: Unsupported upgrade request.
- Golang sort slice int
- [matlab] numerical calculus and equation solving
- 相同wifi下,笔记本连接台式机上的虚拟机
猜你喜欢

配电室环境的分布式远程管理

Comprehensive optimization of the six topics, Alibaba performance optimization booklet open source, leading you to the ultimate performance

为什么在变频器场合需要安科瑞的电力有源滤波器?

汇编语言(5)寄存器(内存访问)

A development of student management system based on PHP

How to solve the problem of network disconnection after enabling hotspot sharing in win10?

Website arrangement of super all metal PBR multi-channel mapping materials

Mathematical modeling - nonlinear programming

杰理之增加加密文件播放功能【篇】
![[efficiency] another note artifact is open source!](/img/f7/bcea89deaac3e6a6716df7826c1078.jpg)
[efficiency] another note artifact is open source!
随机推荐
What is public chain development? What are the public chain development projects?
mysql mysql-8.0.19-winx64 安装与navicat连接
TLV解码
TCP chat + transfer file server server socket v2.8 - fix 4 known problems
[compilation principle] overview
[UVM practice== > episode_2] ~ VIP, VIP development, VIP release
Golang sort slice int
智能对话01-redis的安装
用连续自然数之和来表达整数
ES6知识点
Redis distributed lock collation
杰理之SPI 从机使用注意事项【篇】
Sword finger offer II 014 A sliding window of anagrams in strings
DDD concept is complex and difficult to understand. How to design code implementation model in practice?
Under the same WiFi, the notebook is connected to the virtual machine on the desktop
IDEA全局搜索汉字[通俗易懂]
How high does UART baud rate require for clock accuracy?
Can I open an account? Is it safe to open an account
智能体白皮书 - 共建智能体,共创全场景智慧 | 云享书库NO.21推荐
WARNING: Unsupported upgrade request.