长河落雨 2019-10-10 16:07 采纳率: 100%
浏览 1173
已采纳

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条回答 默认 最新

  • threenewbee 2019-10-10 16:19
    关注
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥30 基于信创PC发布的QT应用如何跨用户启动后输入中文
  • ¥20 非root手机,如何精准控制手机流量消耗的大小,如20M
  • ¥15 远程安装一下vasp
  • ¥15 自己做的代码上传图片时,报错
  • ¥15 Lingo线性规划模型怎么搭建
  • ¥15 关于#python#的问题,请各位专家解答!区间型正向化
  • ¥15 unity从3D升级到urp管线,打包ab包后,材质全部变紫色
  • ¥50 comsol温度场仿真无法模拟微米级激光光斑
  • ¥15 上传图片时提交的存储类型
  • ¥15 VB.NET如何绘制倾斜的椭圆