【发布时间】:2021-03-06 00:22:43
【问题描述】:
我尝试安装 Auto-Py-to-exe,但在安装过程中出现了很多错误,但最后安装成功,见下图。 我有 Windows 10pro、PyCharm 社区 2020.3.3,我几乎所有项目都使用 python 3.9.1。 我已经卸载了 auto-Py-to-exe、piwin、PYpiwin32、pywin32、PyInstaller。关闭所有系统并重新启动,重新安装所有这些模块,但似乎没有任何效果。当我使用 Python 3.6 或 3.7 时出现同样的错误。 PyCharm 终端和 promt(cmd) 窗口终端出现了同样的错误。
C:\Windows\system32>auto-py-to-exe
Traceback (most recent call last):
File "c:\users\mélissa\appdata\local\programs\python\python39\lib\runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None, File "c:\users\mélissa\appdata\local\programs\python\python39\lib\runpy.py", line 87, in _run_code
exec(code, run_globals) File "C:\Users\Mélissa\AppData\Local\Programs\Python\Python39\Scripts\auto-py-to-exe.exe\__main__.py", line 7, in <module>
File "c:\users\mélissa\appdata\local\programs\python\python39\lib\site-packages\auto_py_to_exe\__main__.py", line 291, in run
if eel.chrome.get_instance_path() is not None and not disable_chrome:AttributeError: module 'eel.chrome' has no attribute 'get_instance_path'
C:\Windows\system32>
我已经更新了 PIP、EEL、PYInstaller(他们要安装的更高版本是 3.2.1,另一个失败)、gevent 和 greenlet 但我总是收到相同的错误消息。
我不知道该怎么办。我已在此处查看解决问题的答案或方向,但我目前一无所获。
the error message in PYCharm, it the same in window terminal
【问题讨论】:
标签: python python-3.x tkinter pygame auto-py-to-exe