Pip error: Microsoft Visual C++ 14.0 is required

后端 未结 8 1991
离开以前
离开以前 2020-11-22 09:58

I just ran the following command:

pip install -U steem

and the installation worked well until it failed to install pycrypto. Aft

8条回答
  •  南旧
    南旧 (楼主)
    2020-11-22 10:34

    I landed on this question after searching for "Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools". I got this error in Azure DevOps when trying to run pip install to build my own Python package from a source distribution that had C++ extensions. In the end all I had to do was upgrade setuptools before calling pip install:

    pip install --upgrade setuptools
    

    So the advice here about updating setuptools when installing from source archives is right after all:). That advice is given here too.

提交回复
热议问题