小编Rio*_*Rio的帖子

无法构建 opencv-python

我用的是pycharm。我创建了一个虚拟环境来使用,当我尝试安装 opencv 库时,收到一条错误消息。

我使用 pip 命令安装 openCV:

命令:pip install opencv-python

这是我使用命令时出现的错误消息:

错误: -

Collecting opencv-python
  Using cached https://files.pythonhosted.org/packages/e0/6f/237b730227927c15a68ec831a51bc83837bb65d54bf9651c08b474201b9a/opencv-python-4.4.0.40.tar.gz
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
    Preparing wheel metadata ... done
Requirement already satisfied: numpy>=1.17.3 in f:\python\rio python\project rio\reco_env\lib\site-packages (from opencv-python) (1.19.1)
Building wheels for collected packages: opencv-python
  Building wheel for opencv-python (PEP 517) ... error
  Complete output from command "F:\Python\Rio Python\Project Rio\Reco_env\Scripts\python.exe" "F:\Python\Rio Python\Project Rio\Reco_env\lib\site-packages\pip-19.0.3-py3.8.egg\pip\_vendor\pep517\_in_process.py" build_wheel C:\Users\Rio\AppData\Local\Temp\tmpew_pbwjp:
  Not searching for unused variables given on the …
Run Code Online (Sandbox Code Playgroud)

python opencv pycharm

1
推荐指数
1
解决办法
1万
查看次数

标签 统计

opencv ×1

pycharm ×1

python ×1