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.
Error when running in a google cloud function with Python 3.7 #24737
Comments
|
@dstftw I saw your comment, but not sure if there is a solution for it? UPDATE: works on my machine with Python 3.7, maybe an issue within google cloud function? |
|
this is fairly easy to replicate. why is it closed? |
Checklist
Verbose log
Description
Getting this error when running in a google cloud function with Python 3.7, the code works when I run it on my local machine with Python 2.X. My Code:
This issue was reported before here #22549, but reporting again since I believe it is still happening. After looking into it for a little bit, it seems like for Python 2.x it works cause there is a special condition for it. Not sure what is the expected behavior for Python 3.7.
youtube-dl/youtube_dl/utils.py
Line 3096 in 75294a5