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.
Build failure with python < 2.7: ImportError: No module named argparse #4483
Comments
|
Thank you for the report. I believe this to be fixed in youtube-dl 2014.12.16. |
Hello, I'm the maintainer of youtube-dl in the MacPorts package management system. Building youtube-dl 2014.12.15 fails on Mac OS X v10.6 Snow Leopard as follows:
I believe the problem is that
make_contributing.pyuses argparse, which is not included in Python until version 2.7;pythonon Mac OS X v10.6 is version 2.6.1. As you can see I have requested to use a MacPorts-installed copy of Python 2.7, but the youtube-dl build system is not making use of it. My first guess is that you could use$(PYTHON)instead ofpythonin the Makefile to fix this.