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
- anaconda安裝失敗解決方法
- 解決 Github 國內訪問問題Github
- anaconda安裝出錯怎麼解決?
- 安裝 rust 和配置國內映象Rust
- redis安裝及問題解決Redis
- MySQL 5.7 Window安裝手冊以及問題方案解決大全MySql
- Emgu.CV.Runtime.Windows nuget 安裝失敗問題解決方案Windows
- IPython的安裝及問題解決Python
- django安裝xadmin及問題解決Django
- yum指定國內映象源並安裝pythonPython
- 解決帝國CMS安裝出錯和常見問題
- Mac-Homebrew 安裝/解除安裝/更換國內映象源Mac
- Python-python3.8安裝turtle的各種問題及解決方案Python
- Parallels Tools 無法安裝問題解決Parallel
- windows 安裝 MongoDB 卡主問題解決WindowsMongoDB
- 安裝vue/cli報錯問題解決Vue
- Go Gin安裝解決國內go get 方式安裝超時Go
- CentOS7系統安裝虛擬環境,安裝及相關報錯問題解決方案、配置、問題解決、常見相關命令CentOS
- npm內網安裝node-sass失敗解決方案NPM內網
- flutter安裝詳解--初體驗--問題解決Flutter
- ubuntu使用國內ustc映象安裝kubelet kubeadm kubectlUbuntu
- CentOS安裝Docker-ce並配置國內映象CentOSDocker
- Yarn 的安裝與更換國內映象源Yarn
- docker/kubernetes國內源/映象源解決方式Docker
- 國內的 go get 問題的解決 --gopmGo
- anaconda 安裝
- Windows下ElasticSearch安裝中的問題解決WindowsElasticsearch
- 解決vscode安裝golang外掛(windows)問題VSCodeGolangWindows
- 解決macbook安裝burp suite遇到的問題MacUI
- [已解決]Mac下Anaconda-Navigator閃退問題Mac
- 跨域問題,解決方案 – CORS方案跨域CORS
- anaconda的安裝和解除安裝及安裝完成後無法使用conda解決辦法
- 用conda安裝庫時遇到環境查詢失敗問題解決方案
- 雲電腦Win7系統安裝報錯詳解:問題與解決方案Win7
- npm安裝失敗解決方案NPM