Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Tuple index out of range #17384
Tuple index out of range #17384
Comments
|
Post complete output. |
|
C:\Users\Rocks\youtube-dl>python -m py2exe.build_exe setup.py |
|
C:\Users\Rocks\youtube-dl>python -m py2exe.build_exe setup.py
Traceback (most recent call last):
File
"C:\Users\Rocks\AppData\Local\Programs\Python\Python37-32\lib\runpy.py",
line 193, in _run_module_as_main
"__main__", mod_spec)
File
"C:\Users\Rocks\AppData\Local\Programs\Python\Python37-32\lib\runpy.py",
line 85, in _run_code
exec(code, run_globals)
File
"C:\Users\Rocks\AppData\Local\Programs\Python\Python37-32\lib\site-packag
es\py2exe\build_exe.py", line 145, in <module>
main()
File
"C:\Users\Rocks\AppData\Local\Programs\Python\Python37-32\lib\site-packag
es\py2exe\build_exe.py", line 141, in main
builder.analyze()
File
"C:\Users\Rocks\AppData\Local\Programs\Python\Python37-32\lib\site-packag
es\py2exe\runtime.py", line 160, in analyze
self.mf.import_hook(modname)
File
"C:\Users\Rocks\AppData\Local\Programs\Python\Python37-32\lib\site-packag
es\py2exe\mf3.py", line 120, in import_hook
module = self._gcd_import(name)
File
"C:\Users\Rocks\AppData\Local\Programs\Python\Python37-32\lib\site-packag
es\py2exe\mf3.py", line 274, in _gcd_import
return self._find_and_load(name)
File
"C:\Users\Rocks\AppData\Local\Programs\Python\Python37-32\lib\site-packag
es\py2exe\mf3.py", line 357, in _find_and_load
self._scan_code(module.__code__, module)
File
"C:\Users\Rocks\AppData\Local\Programs\Python\Python37-32\lib\site-packag
es\py2exe\mf3.py", line 388, in _scan_code
for what, args in self._scan_opcodes(code):
File
"C:\Users\Rocks\AppData\Local\Programs\Python\Python37-32\lib\site-packag
es\py2exe\mf3.py", line 417, in _scan_opcodes
yield "store", (names[oparg],)
IndexError: tuple index out of range
…On Thu, Aug 30, 2018 at 11:32 AM Sergey M. ***@***.***> wrote:
Closed #17384 <#17384>.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#17384 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AouQbEbLqSwwuCg98MTdbvSHTeeWk1Tlks5uWAV7gaJpZM4WTs0o>
.
|
|
py2exe only supports python 3.4. |
Please follow the guide below
xinto all the boxes [ ] relevant to your issue (like this:[x])Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2018.08.28. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.Before submitting an issue make sure you have:
What is the purpose of your issue?
The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue
If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add the
-vflag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):
Note that youtube-dl does not support sites dedicated to copyright infringement. In order for site support request to be accepted all provided example URLs should not violate any copyrights.
Description of your issue, suggested solution and other information
I am getting the Tuple index out of range every time I try to compile setup.py.
I am using python 37 and latest version of py2exe (I think version 18)