错误:
ERROR: Command errored out with exit status 1:
command: ‘F:\Python\meiduo\Scripts\python.exe’ -u -c ‘import io, os, sys, setuptools, tokenize; sys.argv[0] = ‘"’"‘C:\Users\23743\AppData\Local\Temp\pip-req-build-hjx4nhd2\setup.py’"’"’; file=’"’"‘C:
\Users\23743\AppData\Local\Temp\pip-req-build-hjx4nhd2\setup.py’"’"’;f = getattr(tokenize, ‘"’"‘open’"’"’, open)(file) if os.path.exists(file) else io.StringIO(’"’"‘from setuptools import setup; set
up()’"’"’);code = f.read().replace(’"’"’\r\n’"’"’, ‘"’"’\n’"’"’);f.close();exec(compile(code, file, ‘"’"‘exec’"’"’))’ bdist_wheel -d ‘C:\Users\23743\AppData\Local\Temp\pip-wheel-u9xdqcyd’
error: Microsoft Visual C++ 14.0 or greater is required. Get it with “Microsoft C++ Build Tools”: https://visualstudio.microsoft.com/visual-cpp-build-tools/
----------------------------------------
ERROR: Command errored out with exit status 1: ‘F:\Python\meiduo\Scripts\python.exe’ -u -c ‘import io, os, sys, setuptools, tokenize; sys.argv[0] = ‘"’"‘C:\Users\23743\AppData\Local\Temp\pip-req-build-hjx4nh
d2\setup.py’"’"’; file=’"’"‘C:\Users\23743\AppData\Local\Temp\pip-req-build-hjx4nhd2\setup.py’"’"’;f = getattr(tokenize, ‘"’"‘open’"’"’, open)(file) if os.path.exists(file) else io.StringIO(’"’
“‘from setuptools import setup; setup()’”’"’);code = f.read().replace(’"’"’\r\n’"’"’, ‘"’"’\n’"’"’);f.close();exec(compile(code, file, ‘"’"‘exec’"’"’))’ install --record ‘C:\Users\23743\AppData\Local\Temp\pip-
record-swurycoo\install-record.txt’ --single-version-externally-managed --compile --install-headers ‘F:\Python\meiduo\include\site\python3.6\fdfs-client-py’ Check the logs for full command output.
完美解决办法:
https://www.cnblogs.com/wanghaiqi24/p/10035896.html
跟着每一步。保证安装完成
Successfully built fdfs-client-py
Installing collected packages: fdfs-client-py
Successfully installed fdfs-client-py-1.2.6