YoutubeDL.exe does not work when special characters are in path #5089

Closed
opened 2026-02-21 00:32:07 -05:00 by deekerman · 1 comment
Owner

Originally created by @CoelacanthsKill on GitHub (Jul 7, 2015).

My username in Windows 7 is literally an infinite sign (∞), and YoutubeDL.exe does not work when trying to run it with a "special character" in the path.

C:\Users\∞\Downloads>youtube-dl.exe https://www.youtube.com/watch?v=eQWka7VvUrw
Traceback (most recent call last):
  File "C:\Python27\lib\site-packages\py2exe\boot_common.py", line 92, in <modul
e>
ImportError: No module named linecache
Traceback (most recent call last):
  File "<install zipextimporter>", line 1, in <module>
ImportError: No module named zipextimporter
Traceback (most recent call last):
  File "__main__.py", line 2, in <module>
ImportError: No module named __future__

But from a "normal" path, it works perfectly fine.

Originally created by @CoelacanthsKill on GitHub (Jul 7, 2015). My username in Windows 7 is literally an infinite sign (∞), and YoutubeDL.exe does not work when trying to run it with a "special character" in the path. ``` C:\Users\∞\Downloads>youtube-dl.exe https://www.youtube.com/watch?v=eQWka7VvUrw Traceback (most recent call last): File "C:\Python27\lib\site-packages\py2exe\boot_common.py", line 92, in <modul e> ImportError: No module named linecache Traceback (most recent call last): File "<install zipextimporter>", line 1, in <module> ImportError: No module named zipextimporter Traceback (most recent call last): File "__main__.py", line 2, in <module> ImportError: No module named __future__ ``` But from a "normal" path, it works perfectly fine.
Author
Owner

@dstftw commented on GitHub (Jul 9, 2015):

Duplicate of #2919.

@dstftw commented on GitHub (Jul 9, 2015): Duplicate of #2919.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/youtube-dl#5089
No description provided.