#安装在d盘 HTTP 000 CONNECTION FAILED for url
channels: - defaults show_channel_urls: true default_channels: - http://mirrors.aliyun.com/anaconda/pkgs/main - http://mirrors.aliyun.com/anaconda/pkgs/r - http://mirrors.aliyun.com/anaconda/pkgs/msys2 custom_channels: conda-forge: http://mirrors.aliyun.com/anaconda/cloud msys2: http://mirrors.aliyun.com/anaconda/cloud bioconda: http://mirrors.aliyun.com/anaconda/cloud menpo: http://mirrors.aliyun.com/anaconda/cloud pytorch: http://mirrors.aliyun.com/anaconda/cloud simpleitk: http://mirrors.aliyun.com/anaconda/cloud 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 https://conda.anaconda.org/menpo opencv
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
[global] timeout = 6000 index-url=http://mirrors.aliyun.com/pypi/simple/ [install] trusted-host=mirrors.aliyun.com