我想安裝pyinstaller打包一下腳本,但是安裝老是不成功,報錯如下,請教一下大哥們,這到底怎么解決呢?百度嘗試未解決,求大佬出手相助!!!
Collecting pyinstaller
Using cached pyinstaller-4.0.tar.gz (3.5 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... error
ERROR: Command errored out with exit status 1:
command: 'c:\users\tarena\appdata\roaming\tc\python-3.6.4\python.exe' 'c:\users\tarena\appdata\roaming\tc\python-3.6.4\lib\site-packages\pip\_vendor\pep517\_in_process.py' prepare_metadata_for_build_wheel 'C:\Users\tarena\AppData\Local\Temp\tmpunbqx3vg'
cwd: C:\Users\tarena\AppData\Local\Temp\pip-install-cvtx1ty4\pyinstaller
Complete output (9 lines):
running dist_info
creating C:\Users\tarena\AppData\Local\Temp\pip-modern-metadata-bf6_j4jo\pyinstaller.egg-info
writing C:\Users\tarena\AppData\Local\Temp\pip-modern-metadata-bf6_j4jo\pyinstaller.egg-info\PKG-INFO
writing dependency_links to C:\Users\tarena\AppData\Local\Temp\pip-modern-metadata-bf6_j4jo\pyinstaller.egg-info\dependency_links.txt
writing entry points to C:\Users\tarena\AppData\Local\Temp\pip-modern-metadata-bf6_j4jo\pyinstaller.egg-info\entry_points.txt
writing requirements to C:\Users\tarena\AppData\Local\Temp\pip-modern-metadata-bf6_j4jo\pyinstaller.egg-info\requires.txt
writing top-level names to C:\Users\tarena\AppData\Local\Temp\pip-modern-metadata-bf6_j4jo\pyinstaller.egg-info\top_level.txt
writing manifest file 'C:\Users\tarena\AppData\Local\Temp\pip-modern-metadata-bf6_j4jo\pyinstaller.egg-info\SOURCES.txt'
error: [Errno 2] No such file or directory: 'c:\\users\\tarena\\appdata\\roaming\\tc\\python-3.6.4\\python36.zip\\lib2to3\\Grammar.txt'
----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\users\tarena\appdata\roaming\tc\python-3.6.4\python.exe' 'c:\users\tarena\appdata\roaming\tc\python-3.6.4\lib\site-packages\pip\_vendor\pep517\_in_process.py' prepare_metadata_for_build_wheel 'C:\Users\tarena\AppData\Local\Temp\tmpunbqx3vg' Check the logs for full command output.
報錯資訊如上:
嘗試著從官網下載 Python安裝包 將python36.zip 下的 lib2to3 檔案替換 還是這個報錯資訊。。。
求大佬出現 Thanks(?ω?)? 蟹蟹
uj5u.com熱心網友回復:
咋安裝的?用 pip install pyinstaller 安裝的嗎?
轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/133828.html
上一篇:MATLAB小白求大神幫忙
下一篇:python求解svm
