我目前正在尝试使用pyinstaller。但是,当我运行该命令时我收到错误消息"tuple index out of range“,我被告知这意味着我的python版本不受支持。特别是,看起来pyinstaller认为我正在尝试将python3.6代码编译成可执行文件。但是我已经安装了python 2.7和python 3.6。如何让它知道我想让它将代码视为python2.7代码?
我试图在cmd中使用pyinstaller,但是我收到了错误:'pyinstaller' is not recognized as an internalC:\Users\username>C:\Users\username\AppData\Local\Programs\Python\Python36-32\Scripts><
它在命令提示符上显示为已安装,但Sublime和其他代码编辑器不会显示为已安装。pip install pyinstaller,然后返回:Requirement already satisfied,当我将其放入sublime:No module named pyinstaller中时,即使我再次将其放入命令提示符中:pyinstaller is not recognized as an internal or external command, operable program or我期待pip安装这个包,让它工作,这样我
我正在尝试为我用PyCharm编写的Python脚本创建一个可执行文件(exe)。当我从PyCharm运行脚本时,运行正常,但是当我试图以单独的.py运行它或试图运行exe时,我得到一个错误。# Get all the devices to a list called devs print (d.description) 我得到以下错误: PS C:\Python> python.exe .> pyinstaller -F .\tests.py
PS C:\Pyt