question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Installation error

See original GitHub issue

When trying to install, I get this error:

kot@192:~$ pip install youtube-dlg
Defaulting to user installation because normal site-packages is not writeable
Collecting youtube-dlg
  Downloading Youtube-DLG-0.4.tar.gz (153 kB)
     |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 153 kB 2.4 MB/s 
    ERROR: Command errored out with exit status 1:
     command: /usr/bin/python3.8 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-uigeedb4/youtube-dlg/setup.py'"'"'; __file__='"'"'/tmp/pip-install-uigeedb4/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-pip-egg-info-ehhjazge
         cwd: /tmp/pip-install-uigeedb4/youtube-dlg/
    Complete output (8 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-uigeedb4/youtube-dlg/setup.py", line 69, in <module>
        from youtube_dl_gui import (
      File "/tmp/pip-install-uigeedb4/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.



Opensuse tumbleweed.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:2
  • Comments:8

github_iconTop GitHub Comments

1reaction
axcorecommented, Mar 1, 2021

Most Linux distributions provide Python 2. For example, on Debian and Ubuntu python 2 is by default!

I meant to write: β€œMost Linux distributions no longer provide Python 2 support”, which means that software written in python 2 is no longer available in software repositories.

1reaction
axcorecommented, Feb 28, 2021

This project is abandoned, and cannot easily be installed on modern Linux distributions. Try this fork or this one.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to troubleshoot Windows Installer errors - Microsoft Support
Describes how to troubleshoot problems that occur when you install, uninstall, or upgrade a program on a Windows-based computer by using Windows Installer....
Read more >
How to Fix Microsoft Windows 10 Installation Error Codes
This document covers the list of Windows 10 installation error codes with its corresponding Cause and Resolution. Learn how to Fix!
Read more >
If an error occurred while updating or installing macOS
The message might say that an error occurred while downloading, preparing, or installing, or that the installer is damaged or could not be ......
Read more >
Fix problems installing Chrome - Google Chrome Help
If you get an error message when you try to download and install Google Chrome, try these fixes. Fix most installation errors Make...
Read more >
9 Ways to Fix an Error Occurred While Preparing the Installation
1. Why is macOS Big Sur failing to install? Β· 2. Why does my Mac update keep failing? Β· 3. What do I...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found