错误方法conda install --channel https://conda.anaconda.org/menpo opencv3
C:\Users\15761>conda install --channel https://conda.anaconda.org/menpo opencv3
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: \
Found conflicts! Looking for incompatible packages.
This can take several minutes. Press CTRL-C to abort.
Examining certifi: 2%|█▎ | 1/56 [00:00<?, ?it/s
Examining packaging: 4%|██▏ | 2/56 [00:00<00:00, 1003.06it/
Examining progress: 5%|███▎ | 3/56 [00:00<00:00, 751.98it
Examining pyparsing: 7%|████▎ | 4/56 [00:00<00:00, 802.12i
Examining enum34: 9%|█████▋ | 5/56 [00:00<00:00, 716.19
Examining colorama: 11%|██████▋ | 6/56 [00:00<00:00, 751.9
Examining html5lib: 12%|███████▊ | 7/56 [00:00<00:00, 779.
Examining blas: 14%|█████████▍ | 8/56 [00:00<00:00, 72
Examining sqlite: 16%|██████████▎ | 9/56 [00:00<00:00, 6
Examining tbb4py: 18%|███████████▎ | 10/56 [00:00<00:00,
Examining __cuda: 20%|████████████▍ | 11/56 [00:00<00:00,
Examining tbb: 21%|██████████████▏ | 12/56 [00:00<00:0
Examining win_inet_pton: 23%|█████████████ | 13/56 [00:00<00:00,
Examining distlib: 25%|███████████████▌ | 14/56 [00:00<00:
Examining intel-openmp: 27%|███████████████▎ | 15/56 [00:00<00:
Examining pyasn1: 29%|██████████████████ | 16/56 [00:00<0
Examining six: 30%|████████████████████ | 17/56 [00:00
Examining cachecontrol: 32%|██████████████████▎ | 18/56 [00:00<
Examining mkl_fft: 34%|█████████████████████ | 19/56 [00:0
Examining pycparser: 36%|█████████████████████▍ | 20/56 [00:
Examining opencv3: 38%|███████████████████████▎ | 21/56 [0
Examining pip: 39%|█████████████████████████▉ | 22/56
[00:00<00:00, 668.44it/s] /
Examining icc_rt: 41%|█████████████████████████▉ | 23/56
Examining icc_rt: 43%|███████████████████████████ | 24/56
Examining vs2010_runtime: 43%|███████████████████████▌ | 24/56 [0
Examining wheel: 45%|████████████████████████████▌ | 25/
Examining ca-certificates: 46%|█████████████████████████ | 26/56 [
Examining vc: 48%|████████████████████████████████▎ |
Examining pysocks: 50%|███████████████████████████████ | 2
Examining zlib: 52%|█████████████████████████████████▋
Examining cffi: 54%|██████████████████████████████████▊
Examining mkl_random: 55%|████████████████████████████████▋ |
Examining pyopenssl: 57%|██████████████████████████████████▎
Examining mkl: 59%|██████████████████████████████████████▉
Examining cryptography: 61%|██████████████████████████████████▌
Examining openssl: 62%|██████████████████████████████████████▊
Examining numpy: 64%|█████████████████████████████████████████▏
Examining distribute: 66%|██████████████████████████████████████▉
Examining mkl-service: 68%|███████████████████████████████████████▎
Examining nose: 70%|█████████████████████████████████████████████▎
Examining numpy-base: 71%|██████████████████████████████████████████▏
Examining urllib3: 73%|█████████████████████████████████████████████▍
Examining requests: 75%|█████████████████████████████████████████████▊
Examining ipaddress: 77%|██████████████████████████████████████████████
Examining asn1crypto: 79%|██████████████████████████████████████████████
Examining wincertstore: 80%|█████████████████████████████████████████████
▊ | 45/56 [00:00<00:00, 115.14it/s] /
Comparing specs that have this dependency: 0%| | 0/2 [00:00<?, ?it/s]
Finding shortest conflict path f\ wincertstore: 50%|█████████████████▌ | 1/2 [00:02<
Examining vs2008_runtime: 82%|████████████████████████████████████████████:
Examining vs2008_runtime: 84%|████████████████████████████████████████████
Examining setuptools: 84%|██████████████████████████████████████████████
████▎ | 47/56 [00:05<00:00, 13.98it/s] |
Examining idna: 86%|█████████████████████████████████████████████████:
Examining webencodings: 88%|█████████████████████████████████████████████
Examining webencodings: 89%|█████████████████████████████████████████████
Examining cryptography-vectors: 89%|█████████████████████████████████████████
Examining lockfile: 91%|███████████████████████████████████████████████
Examining msvc_runtime: 93%|█████████████████████████████████████████████
Examining msgpack-python: 95%|████████████████████████████████████████████
Examining python: 96%|████████████████████████████████████████████████
█████████████▋ | 54/56 [00:06<00:00, 6.34it/s]
Comparing specs that have this dependency: 0%| | 0/2 [00:00<?, ?it/s]
Finding shortest conflict path for python[version='>=2.7,<2.8.0a0']: 11%|█▋ | 1/9 [00:00<00:00, 58.87it/s
Finding - ortest conflict path for python=3.5: 22%|████████▏ | 2/9 [00:00<00:00, 71
Finding shortest conflict path for msgpack-python: 33%|███████████ | 3/9 [00:00<00:00,
Finding shortest con- ict path for python: 44%|██████████████████▏ | 4/9 [00:02
Finding shortest conflict path for python: 56%|██████████████████████▊ | 5/9 [0
Finding short/ t conflict path for python[version='<=3.3']: 56%|█████████████▎ | 5/9 [00:04<00:0
Finding shortest conflict path for python[version='<=3.3']: 67%|████████████████ | 6/9 [00:04<00
Finding shortest conflict path for python=3.4: 67%|████████████████████████▋ | 6/9
Finding shortest conflict | th for python=3.4: 78%|████████████████████████████▊ |
Finding shortest conflict path for python=3.7: 78%|████████████████████████████▊ |
Finding shortest conflict path for python=2.7: 89%|████████████████████████████████▉
Comparing specs that have this dependency: 50%|████████████████████▌ | 1/2 [00:
07<00:07, 7.18s/it]
Examining vs2015_runtime: 98%|████████████████████████████████████████████
Examining vs2015_runtime: 100%|████████████████████████████████████████████0
failed
UnsatisfiableError: The following specifications were found
to be incompatible with the existing python installation in your environment:
Specifications:
- opencv3 -> python[version='2.7.*|3.4.*|3.5.*']
- opencv3 -> python[version='>=2.7,<2.8.0a0|>=3.5,<3.6.0a0']
Your python: python=3.7
If python is on the left-most side of the chain, that's the version you've asked for.
When python appears to the right, that indicates that the thing on the left is somehow
not available for the python version you are constrained to. Note that conda will not
change your python version to a different minor version unless you explicitly specify
that.
The following specifications were found to be incompatible with each other:
Package pip conflicts for:
python=3.7 -> pip
opencv3 -> python=3.5 -> pip
Package wincertstore conflicts for:
python=3.7 -> pip -> setuptools -> wincertstore[version='>=0.2']
opencv3 -> numpy -> nose -> setuptools -> wincertstore[version='>=0.2']
Package setuptools conflicts for:
python=3.7 -> pip -> setuptools
opencv3 -> numpy -> nose -> setuptools
Package msgpack-python conflicts for:
opencv3 -> python=3.5 -> pip -> cachecontrol -> msgpack-python
C:\Users\15761>
如果无法下载Anaconda3使用清华源
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