Python里下载libtiff遇到一些问题

Processing c:\users\dell\appdata\local\programs\python\python39\pylibtiff-0.4.2-cp39-cp39-win_amd64.whl Requirement already satisfied: numpy>=1.13.3 in c:\users\dell\appdata\local\programs\python\python39\lib\site-packages (from pylibtiff==0.4.2) (1.19.4) Collecting bitarray Using cached bitarray-1.6.1.tar.gz (55 kB) Building wheels for collected packages: bitarray Building wheel for bitarray (setup.py) ... error ERROR: Command errored out with exit status 1: command: 'c:\users\dell\appdata\local\programs\python\python39\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\DELL\\AppData\\Local\\Temp\\pip-install-8ae96tsz\\bitarray_503c4727358f447098750963bb86f35c\\setup.py'"'"'; __file__='"'"'C:\\Users\\DELL\\AppData\\Local\\Temp\\pip-install-8ae96tsz\\bitarray_503c4727358f447098750963bb86f35c\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\DELL\AppData\Local\Temp\pip-wheel-uq2o59_n' cwd: C:\Users\DELL\AppData\Local\Temp\pip-install-8ae96tsz\bitarray_503c4727358f447098750963bb86f35c\ Complete output (13 lines): running bdist_wheel running build running build_py creating build creating build\lib.win-amd64-3.9 creating build\lib.win-amd64-3.9\bitarray copying bitarray\test_bitarray.py -> build\lib.win-amd64-3.9\bitarray copying bitarray\test_util.py -> build\lib.win-amd64-3.9\bitarray copying bitarray\util.py -> build\lib.win-amd64-3.9\bitarray copying bitarray\__init__.py -> build\lib.win-amd64-3.9\bitarray running build_ext building 'bitarray._bitarray' extension error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/ ---------------------------------------- ERROR: Failed building wheel for bitarray Running setup.py clean for bitarray Failed to build bitarray Installing collected packages: bitarray, pylib

查看全部
qq_53241521
qq_53241521
2020/12/04 12:11
  • python
  • 点赞
  • 收藏
  • 回答
    私信

0个回复