安装locust库报错ERROR: Command errored out with exit status 1:

今天在使用python库进行安装第三方库,一直报错,ERROR: Command errored out with exit status 1:,

百度了很多答案,也没有解决,最后发现是缺少安装Microsoft Visual C++ 14.0,安装成功后,完美解决问题。

下面为解决办法

1、在pycharm中进行安装,pip install locust,会有报错

一般这种情况下都是缺少安装Microsoft Visual C++ 14.0,找到此包,按照默认情况进行安装即可。

Microsoft Visual C++ 14.0安装成功后,再进行pip install locust 就安装成功


参考文章:https://www.pianshen.com/article/2046350235/

以此文章记录下来,作为自己学习的笔记

你可能感兴趣的:(安装locust库报错ERROR: Command errored out with exit status 1:)