python conda install xxx 报错 找不到指定模块

(HelloWorld) C:\Users\justin>conda install cv2

>>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<

Traceback (most recent call last):
  File "F:\Miniconda3\envs\HelloWorld\lib\site-packages\conda\exceptions.py", line 1062, in __call__
    return func(*args, **kwargs)
  File "F:\Miniconda3\envs\HelloWorld\lib\site-packages\conda\cli\main.py", line 84, in _main
    exit_code = do_call(args, p)
  File "F:\Miniconda3\envs\HelloWorld\lib\site-packages\conda\cli\conda_argparse.py", line 82, in do_call
    exit_code = getattr(module, func_name)(args, parser)
  File "F:\Miniconda3\envs\HelloWorld\lib\site-packages\conda\cli\main_install.py", line 20, in execute
    install(args, parser, 'install')
  File "F:\Miniconda3\envs\HelloWorld\lib\site-packages\conda\cli\install.py", line 116, in install
    if context.use_only_tar_bz2:
  File "F:\Miniconda3\envs\HelloWorld\lib\site-packages\conda\base\context.py", line 664, in use_only_tar_bz2
    import conda_package_handling.api
  File "F:\Miniconda3\envs\HelloWorld\lib\site-packages\conda_package_handling\api.py", line 12, in <module>
    from .tarball import CondaTarBZ2 as _CondaTarBZ2, libarchive_enabled
  File "F:\Miniconda3\envs\HelloWorld\lib\site-packages\conda_package_handling\tarball.py", line 11, in <module>
    import libarchive
  File "F:\Miniconda3\envs\HelloWorld\lib\site-packages\libarchive\__init__.py", line 1, in <module>
    from .entry import ArchiveEntry
  File "F:\Miniconda3\envs\HelloWorld\lib\site-packages\libarchive\entry.py", line 6, in <module>
    from . import ffi
  File "F:\Miniconda3\envs\HelloWorld\lib\site-packages\libarchive\ffi.py", line 27, in <module>
    libarchive = ctypes.cdll.LoadLibrary(libarchive_path)
  File "F:\Miniconda3\envs\HelloWorld\lib\ctypes\__init__.py", line 442, in LoadLibrary
    return self._dlltype(name)
  File "F:\Miniconda3\envs\HelloWorld\lib\ctypes\__init__.py", line 364, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: [WinError 126] 找不到指定的模块。

$ F:\Miniconda3\envs\HelloWorld\Scripts\conda-script.py install cv2


1个回答

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问
相关内容推荐