couldn't install in ubuntu 20.04
See original GitHub issueBug report
cant install youtube-dl-gui in ubuntu 20.04. there is a dependency issue of twodict. i tried installing with pip and using source compilation. both failed.
What operating system do you use ?
Ubuntu 20.04
List of actions to perform to reproduce the problem:
- … install package using pip or setup.py
What is the expected behaviour ?
install correctly
What happens instead ?
showing dependency error and python2 print error
pip3 install youtube-dlg
Collecting youtube-dlg
Downloading Youtube-DLG-0.4.tar.gz (153 kB)
|████████████████████████████████| 153 kB 145 kB/s
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-l3anp9ah/youtube-dlg/setup.py'"'"'; __file__='"'"'/tmp/pip-install-l3anp9ah/youtube-dlg/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-install-l3anp9ah/youtube-dlg/pip-egg-info
cwd: /tmp/pip-install-l3anp9ah/youtube-dlg/
Complete output (8 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-l3anp9ah/youtube-dlg/setup.py", line 69, in <module>
from youtube_dl_gui import (
File "/tmp/pip-install-l3anp9ah/youtube-dlg/youtube_dl_gui/__init__.py", line 25
print error
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(error)?
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
when installing through setup.py i get No module named twodict and cant able to install twodic for python2 in ubuntu 20.04
Issue Analytics
- State:
- Created 3 years ago
- Comments:7
Top Results From Across the Web
I can't install Ubuntu 20.04
Try using a different USB stick and make sure you first click "Try Ubuntu Before Installing" then start installing process from the desktop....
Read more >Can't Install Deb File on Ubuntu 20.04? Here's the Fix!
The solution for this problem is pretty simple. You change the default application in Ubuntu for opening DEB files from Archive Manager to...
Read more >Ubuntu 20.04 installation problems - linux - Super User
I am trying to install Ubuntu 20.04 LTS (alongside windows and/or otherwise) (specifications are given below) but I couldn't.
Read more >Ubuntu 20.04 installtion script failed (Couldn't create ... - GitHub
I run the installation script on a fresh Ubuntu 20.04 and I got the following error (even though setup succeded (but failed to...
Read more >[Fixed] Grub Install Fatal Error in Ubuntu 20.04 LTS ... - YouTube
Hi Guys,If you want to use Linux and if you're planning to install and dual boot Linux distros like Ubuntu, and If you're...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@ajithrn tbh: The devs should drop Python 2. Period. Python 2 reached End Of Life (EOL) And I don’t care what it is, once it reached EOL, it has to be upgraded or one has to pay for further support. That applies at least to the professional world. Windows 7? People loved it. But it reached EOL and had to be replaced. Is everyone happy with it? No, of course not. Will everyone switch to Windows 10? No, of course not. But they have nobody to blame, if someone uses an exploit for Win7 and harms their IT.
Look at other active maintained Open Source Projects like WordPress. I quote from their website:
Meaning PHP 7.2 or even below that is no longer supported (or at least not recommended). And according to the (Supported Versions of PHP](https://www.php.net/supported-versions.php) PHP 7.2 is still maintained - even if only for security fixes.
I checked Drupal as well. They too recommend PHP 7.3+ and anything below is not recommended or simply doesn’t work anymore.
I happen to work in the IT and we have customers with an old version of WordPress with an even older version of PHP (5.6 i.e.). They have to pay their hoster for this.
And I’m pretty sure, most other Python 2 projects moved on as well. BTW: If you looked at #444 you’ll notice that this very project is not maintained anymore. So move on and simply ditch it.
I don’t have the time, money nor the required patience to deal with dead projects. I’d rather stick to https://github.com/axcore/tartube and be done with it. It looks better in any way, it uses Python 3, manages your Downloads and if you don’t want it to do that, you can still use the old style since even this is implemented.
So … why should I fight with an inferior project?
Did they abandon youtube-dl-gui ? I can’t get it installed on Ubuntu 20.04
ERROR: Command errored out with exit status 1: command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-n6mrmavu/youtube-dlg/setup.py'"'"'; __file__='"'"'/tmp/pip-install-n6mrmavu/youtube-dlg/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-install-n6mrmavu/youtube-dlg/pip-egg-info cwd: /tmp/pip-install-n6mrmavu/youtube-dlg/ Complete output (8 lines): Traceback (most recent call last): File "<string>", line 1, in <module> File "/tmp/pip-install-n6mrmavu/youtube-dlg/setup.py", line 69, in <module> from youtube_dl_gui import ( File "/tmp/pip-install-n6mrmavu/youtube-dlg/youtube_dl_gui/__init__.py", line 25 print error ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(error)? ---------------------------------------- ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.