问题1:
distutils.errors.DistutilsPlatformError: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downl
oads/
--no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setu
ptools>=40.6.0 wheel "cffi>=1.8,!=1.11.3; platform_python_implementation != 'PyPy'"" failed with error code 1 in None
解决办法:查看报错缺少lxml,可在https://www.lfd.uci.edu/~gohlke/pythonlibs/下载,使用pip install lxm...安装。
实际安装可能版本不匹配报错,cmd下python,输入 import pip._internal,再输入print(pip._internal.pep425tags.get_supported())可查看支持的版本,然后对应下载安装。
但是有时候版本还是不匹配,如我下载的lxml-4.4.2-cp38-cp38-win32.whl,可以改为lxml-4.4.2-cp38-none-win32.whl,然后pip install lxml...