IndexError: list index out of range (bimbam.py)
IndexError: list index out of range (bimbam.py)
所以我想反编译游戏使用:
Python 2.7.15, Microsoft Visual C++ Compiler Package for Python 2.7, Cython 0.21.2 and the anaconda-master package.
我在 Windows 8.1 Build 9600 上这样做,你知道的。
我遵循了这个指南:(https://www.youtube.com/watch?v=lK_DDFpvlFw) 但是在 20:56 我得到了 bimbam.py 的错误(反编译游戏的工具)。我重新安装了所有东西,使用了不同的版本,更改了目录,遵循了其他指南并使用了旧的 anaconda-master 软件包,但我无法摆脱错误。我想我知道错误的含义:"there is nothing in the place where something should be" 或 "the script wants to access a variable/path which doesn't exist"。
Traceback (most recent call last):
File "C:\Users\Gabriel\Desktop\AnacondaDecompiler-master\tools\bimbam.py", lin
e 72, in <module>
main()
File "C:\Users\Gabriel\Desktop\AnacondaDecompiler-master\tools\bimbam.py", lin
e 38, in main
input = sys.argv[1]
IndexError: list index out of range
您似乎需要配置一个您的程序将使用的参数。
input = sys.argv[1]
导致索引错误,这意味着没有传递任何参数。
你能运行 程序有匹配的参数吗?
例如 python bimbam.py <filename>
好的,我解决了问题,正如您所说的 "python bimbam.py " 我尝试了 >> python bimbam.py "path\of\the\game\exe" "path\of\the\output\foulder" 并且成功了。我不知道为什么,但现在我很高兴我的早晨不是免费的! ...顺便说一句,回答我自己的问题是多么愚蠢。
所以我想反编译游戏使用:
Python 2.7.15, Microsoft Visual C++ Compiler Package for Python 2.7, Cython 0.21.2 and the anaconda-master package.
我在 Windows 8.1 Build 9600 上这样做,你知道的。
我遵循了这个指南:(https://www.youtube.com/watch?v=lK_DDFpvlFw) 但是在 20:56 我得到了 bimbam.py 的错误(反编译游戏的工具)。我重新安装了所有东西,使用了不同的版本,更改了目录,遵循了其他指南并使用了旧的 anaconda-master 软件包,但我无法摆脱错误。我想我知道错误的含义:"there is nothing in the place where something should be" 或 "the script wants to access a variable/path which doesn't exist"。
Traceback (most recent call last):
File "C:\Users\Gabriel\Desktop\AnacondaDecompiler-master\tools\bimbam.py", lin
e 72, in <module>
main()
File "C:\Users\Gabriel\Desktop\AnacondaDecompiler-master\tools\bimbam.py", lin
e 38, in main
input = sys.argv[1]
IndexError: list index out of range
您似乎需要配置一个您的程序将使用的参数。
input = sys.argv[1]
导致索引错误,这意味着没有传递任何参数。
你能运行 程序有匹配的参数吗?
例如 python bimbam.py <filename>
好的,我解决了问题,正如您所说的 "python bimbam.py " 我尝试了 >> python bimbam.py "path\of\the\game\exe" "path\of\the\output\foulder" 并且成功了。我不知道为什么,但现在我很高兴我的早晨不是免费的! ...顺便说一句,回答我自己的问题是多么愚蠢。