Anaconda 安裝 國內映象問題解決方案
遇到問題:安裝2021版本後無法開啟Anaconda Navigator
解決方案:使用管理員身份開啟Avaconda Prompt,輸入conda update anaconda-navigator
遇到問題:報錯:
#安裝在d盤 HTTP 000 CONNECTION FAILED for url <https://repo.anaconda.com/pkgs/main/win-64/current_repodata.json>
解決方案:新增映象檔案
channels: - defaults show_channel_urls: true default_channels: - - - custom_channels: conda-forge: msys2: bioconda: menpo: pytorch: simpleitk: ssl_verify: false
(base) C:\Windows\system32>conda update anaconda-navigator Collecting package metadata (current_repodata.json): done Solving environment: done ## Package Plan ## environment location: D:\Avaconda added / updated specs: - anaconda-navigator The following packages will be downloaded: package | build ---------------------------|----------------- anaconda-navigator-2.1.1 | py39_0 5.4 MB defaults ------------------------------------------------------------ Total: 5.4 MB The following packages will be SUPERSEDED by a higher-priority channel: anaconda-navigator pkgs/main --> anaconda/pkgs/main Proceed ([y]/n)?
Proceed ([y]/n)? y Downloading and Extracting Packages anaconda-navigator-2 | 5.4 MB | | 0% [Errno 2] No such file or directory: 'D:\\Avaconda\\pkgs\\anaconda-navigator-2.1.1-py39_0.conda' 系統找不到指定的路徑。 系統找不到指定的路徑。
ERROR conda.core.link:_execute_actions(337): An error occurred while installing package 'defaults::tqdm-4.62.3-pyhd3eb1b0_1'. CondaError: Cannot link a source that does not exist. D:\Anaconda\Scripts\conda.exe Running `conda clean --packages` may resolve your problem. Attempting to roll back. CondaError: Cannot link a source that does not exist. D:\Anaconda\Scripts\conda.exe Running `conda clean --packages` may resolve your problem.
conda install -c
Downloading and Extracting Packages python-3.6.13 | 17.7 MB | ###########################################################################9 | 100% WARNING conda.gateways.disk.delete:unlink_or_rename_to_trash(144): Could not remove or rename D:\Anaconda\pkgs\python-3.6.13-h3758d61_0\DLLs\tcl86t.dll. Please remove this file manually (you may need to reboot to free file handles) WARNING conda.gateways.disk.delete:unlink_or_rename_to_trash(144): Could not remove or rename D:\Anaconda\pkgs\python-3.6.13-h3758d61_0\DLLs\tcl86t.dll. Please remove this file manually (you may need to reboot to free file handles) python-3.6.13 | 17.7 MB | ############################################################################ | 100% TypeError('not all arguments converted during string formatting',)
/*看到100%好感動嗚嗚嗚嗚!為了這三個done我折騰了至少一整天!!*/ Downloading and Extracting Packages zstd-1.4.9 | 1.3 MB | ############################################################################################## | 100% opencv-3.3.1 | 96.7 MB | ############################################################################################## | 100% lz4-c-1.9.3 | 141 KB | ############################################################################################## | 100% xz-5.2.5 | 333 KB | ############################################################################################## | 100% openssl-1.0.2u | 5.8 MB | ############################################################################################## | 100% libtiff-4.2.0 | 1.1 MB | ############################################################################################## | 100% Preparing transaction: done Verifying transaction: done Executing transaction: done
python Python 3.6.3 |Anaconda, Inc.| (default, Oct 15 2017, 03:27:45) [MSC v.1900 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import cv2 >>> print(cv2.__version__) 3.3.1
pip安裝包功能
[global] timeout = 6000 index-url= [install] trusted-host=mirrors.aliyun.com
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/70003733/viewspace-2871081/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 安裝npm報錯,安裝淘寶映象cnpm時出現問題及解決方案NPM
- Go 解決國內go get安裝包超時問題Go
- Zabbix安裝部署(國內源映象)----一次性解決centos7安裝zabbix報錯:[Errno 256] 的問題CentOS
- 安裝 rust 和配置國內映象Rust
- 解決 Github 國內訪問問題Github
- windows安裝tomcat遇到問題及解決方案WindowsTomcat
- 轉:Git伺服器安裝詳解及安裝遇到問題解決方案Git伺服器
- anaconda安裝失敗解決方法
- VMware下安裝Ubuntu遇到的問題及解決方案Ubuntu
- Mac-Homebrew 安裝/解除安裝/更換國內映象源Mac
- 解決國內gem不能用的問題
- 解決 Homestead 國外映象無法下載問題
- anaconda安裝出錯怎麼解決?
- 解決帝國CMS安裝出錯和常見問題
- CentOS安裝Docker-ce並配置國內映象CentOSDocker
- Yarn 的安裝與更換國內映象源Yarn
- yum指定國內映象源並安裝pythonPython
- MySQL 5.7 Window安裝手冊以及問題方案解決大全MySql
- 在Linux上安裝Oracle時DISPLAY問題解決方案LinuxOracle
- redis安裝及問題解決Redis
- Go Gin安裝解決國內go get 方式安裝超時Go
- 國內的 go get 問題的解決 --gopmGo
- redis 安裝及安裝遇到的問題解決Redis
- ubuntu使用國內ustc映象安裝kubelet kubeadm kubectlUbuntu
- Eclipse 安裝 Axis2外掛失敗問題解決方案Eclipse
- Emgu.CV.Runtime.Windows nuget 安裝失敗問題解決方案Windows
- docker/kubernetes國內源/映象源解決方式Docker
- Android Studio SDK 使用國內映象源線上安裝Android
- npm內網安裝node-sass失敗解決方案NPM內網
- IPython的安裝及問題解決Python
- Parallels Tools 無法安裝問題解決Parallel
- windows 安裝 MongoDB 卡主問題解決WindowsMongoDB
- Linux rpm安裝問題解決Linux
- Apache 2.2 + Php 5.1 安裝問題解決ApachePHP
- 安裝sql server遇到問題解決方法SQLServer
- django安裝xadmin及問題解決Django
- 安裝vue/cli報錯問題解決Vue
- CentOS7系統安裝虛擬環境,安裝及相關報錯問題解決方案、配置、問題解決、常見相關命令CentOS