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.\

posted @ 2019-01-22 12:42  天藐水瓶  阅读(192)  评论(0编辑  收藏  举报