
Traceback (most recent call last):


 "<string>", line 1, in <module>

ImportError: No module named 'setuptools'

Traceback (most recent call last):


 "/data/data/com.termux/files/usr/bin/youtube-dl", line 8, in <module>

sys.exit(main())


 "/data/data/com.termux/files/usr/lib/python3.9/site-packages/youtube_dl/__init__.py", line 474, in main

_real_main(argv)


 "/data/data/com.termux/files/usr/lib/python3.9/site-packages/youtube_dl/__init__.py", line 464, in _real_main

retcode = ydl.download(all_urls)


 "/data/data/com.termux/files/usr/lib/python3.9/site-packages/youtube_dl/YoutubeDL.py", line 2018, in download

res = self.extract_info(


 "/data/data/com.termux/files/usr/lib/python3.9/site-packages/youtube_dl/YoutubeDL.py", line 797, in extract_info

ie_result = ie.extract(url)


 "/data/data/com.termux/files/usr/lib/python3.9/site-packages/youtube_dl/extractor/common.py", line 532, in extract

ie_result = self._real_extract(url)


 "/data/data/com.termux/files/usr/lib/python3.9/site-packages/youtube_dl/extractor/xtube.py", line 103, in _real_extract

if not isinstance(sources, dict):
UnboundLocalError: local variable 'sources' referenced before assignment"
