error: Microsoft Visual C++ 14.0 is required when installing python package

Posted 天藐水瓶

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了error: Microsoft Visual C++ 14.0 is required when installing python package相关的知识,希望对你有一定的参考价值。


Binary install it the simple way!
I can‘t believe no one has suggested this already - use the binary-only option for pip. For example, for mysqlclient:

pip install --only-binary :all: mysqlclient
Many packages don‘t create a build for every single release which forces your pip to build from source. If you‘re happy to use the latest pre-compiled binary version, use --only-binary :all: to allow pip to use an older binary version.




以上是关于error: Microsoft Visual C++ 14.0 is required when installing python package的主要内容,如果未能解决你的问题,请参考以下文章