【python】Failed building wheel for libtiff 解決辦法

報錯:

Command "e:\anaconda3\envs\py36\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\gong\\AppData\\Local\\Temp\\pip-install-odkmtqyi\\libtiff\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\gong\AppData\Local\Temp\pip-record-yh6m4xg0\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\gong\AppData\Local\Temp\pip-install-odkmtqyi\libtiff\

參考:https://www.jianshu.com/p/c902c66c02ac

https://blog.csdn.net/amoscn/article/details/78215641

官網手動下載Pylibtiff:https://www.lfd.uci.edu/~gohlke/pythonlibs/#pylibtiff

其中,cpxx表示python版本,win32和win_amd64表示32位或者64位操作系統

下載後,命令行輸入如下命令:

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章