无法在python中安装镜头库

我从具有类似错误消息的问题中搜索并应用了解决方案。 !pip安装镜头给我错误:

        error: microsoft Visual C++ 14.0 is required. Get it with 
"Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/
            ----------------------------------------
        ERROR: Command errored out with exit 
status 1: 'c:\python3\python.exe' -u -c 'import sys,setuptools,tokenize; sys.argv[0] = 
    '"'"'C:\\Users\\erjan222\\AppData\\Local\\Temp\\pip-install-_qkcxb7t\\accumulation-tree\\setup.py'"'"'; 

__file__='"'"'C:\\Users\\erjan222\\AppData\\Local\\Temp\\pip-install-_qkcxb7t\\accumulation-tree\\setup.py'"'"';f=getattr(tokenize,'"'"'open'"'"',open)(__file__);code=f.read().replace('"'"'\r\n'"'"','"'"'\n'"'"');f.close();exec(compile(code,__file__,'"'"'exec'"'"'))' install --record 'C:\Users\erjan222\AppData\Local\Temp\pip-record-874bit1_\install-record.txt' 

--single-version-externally-managed --compile Check the logs for full command output.

我已经搜索并应用了this question on stackoverflow的答案并应用了其解决方案:

pip install -U setuptools
pip install -U wheel
  • !pip安装镜头--egg,但是pip不知道--egg
  • 升级点,它已经新鲜
  • pip install --upgrade setuptools,但setuptools已更新

我确实安装了视觉工具安装程序,但没有选择要安装的任何软件包,因为它们似乎与我需要的软件包有所不同。

我如何安装这个镜库镜头?

ppheadsman 回答:无法在python中安装镜头库

显然有效!我安装了14.00 c ++版本,然后安装了一些软件包。

14.00 c ++可视化构建工具可能有效。

本文链接:https://www.f2er.com/3131680.html

大家都在问