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.
Type error: LoardLibrary() argument 1 must be strign not unicode #11593
Comments
|
Duplicate of #11540
Neither you nor we (youtube-dl maintainers) made the mistake. Instead, Python should be blamed: http://bugs.python.org/issue29082. Conclusion: Python 2.7.13 is broken. Downgrade to 2.7.12 or use 3.x |
|
How can i install youtube-dl on python 3 i have both on pc? @yan12125 |
|
Python 2 and Python 3 can co-exist. Just install it like how you've installed Python 2. |
Every time i run any command or just type youtube-dl i get this error:
Traceback (most recent call last): File "c:\python27\lib\runpy.py", line 174, in _run_module_as_m "__main__", fname, loader, pkg_name) File "c:\python27\lib\runpy.py", line 72, in _run_code exec code in run_globals File "C:\Python27\Scripts\youtube-dl.exe\__main__.py", line 9, File "c:\python27\lib\site-packages\youtube_dl\__init__.py", l _real_main(argv) File "c:\python27\lib\site-packages\youtube_dl\__init__.py", l setproctitle('youtube-dl') File "c:\python27\lib\site-packages\youtube_dl\utils.py", line libc = ctypes.cdll.LoadLibrary('libc.so.6') File "c:\python27\lib\ctypes\__init__.py", line 440, in LoadLi return self._dlltype(name) File "c:\python27\lib\ctypes\__init__.py", line 362, in __init self._handle = _dlopen(self._name, mode) TypeError: LoadLibrary() argument 1 must be string, not unicodedid i make mistake? Or is your?