I use windows and python v3.8.1. I am trying to install pyinstaller , but when I type:
pip install pyinstaller
into the cmd shell, I get this error message:
Traceback (most recent call last): File "c:\\program files\\python38\\lib\\runpy.py", line 193, in _run_module_as_main return _run_code(code, main_globals, None, File "c:\\program files\\python38\\lib\\runpy.py", line 86, in _run_code exec(code, run_globals) File "C:\\Program Files\\Python38\\Scripts\\pip.exe\\__main__.py", line 9, in <module> TypeError: 'module' object is not callable
Try
python3 -m pip install stdlib_list --user
Otherwise try to uninstall and reinstall PIP
尝试使用以下命令python3 -m pip install <library_name_here> --user
Check this, using: pip list
There is a setuptools module installed. If not: py -m pip install setuptools
I remember latest version is 44.0
Then try to install, using: py -m pip install PyInstaller
Latest version is 3.5
Anyway, PyInstaller doesn't support Python 3.8.x.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.