Skip to content

install pip --upgrade pip troubles setup.py egg_info building from tmp #10603

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
1 task done
Xhyub opened this issue Oct 21, 2021 · 2 comments
Closed
1 task done

install pip --upgrade pip troubles setup.py egg_info building from tmp #10603

Xhyub opened this issue Oct 21, 2021 · 2 comments
Labels
resolution: invalid Invalid issue/PR

Comments

@Xhyub
Copy link

Xhyub commented Oct 21, 2021

Description

Trouble when running shell script for a project that installs vncdotool.
Maybe upgrading pip would resolve the issue but gets similar error when building from temporary location.

  1. install vncdotool "Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-0dxsoxvu/Pillow/"
  2. upgrade pip "Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-NVYk95/pip/"

Expected behavior

No response

pip version

8.1.1

Python version

3.5.2

OS

Ubuntu 16.04

How to Reproduce

  1. Run command pip install --upgrade pip

Output

pip install --upgrade pip
Collecting pip
  Using cached https://files.pythonhosted.org/packages/00/5f/d6959d6f25f202e3e68e3a53b815af42d770c829c19382d0acbf2c3e2112/pip-21.3.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-NVYk9S/pip/setup.py", line 7
        def read(rel_path: str) -> str:


                         ^
    SyntaxError: invalid syntax
   
    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-NVYk9S/pip/

Code of Conduct

@Xhyub Xhyub added S: needs triage Issues/PRs that need to be triaged type: bug A confirmed bug or unintended behavior labels Oct 21, 2021
@uranusjr
Copy link
Member

Newer versions of pip does not support your version of Python. Sorry.

@uranusjr uranusjr added resolution: invalid Invalid issue/PR and removed type: bug A confirmed bug or unintended behavior S: needs triage Issues/PRs that need to be triaged labels Oct 21, 2021
@Xhyub
Copy link
Author

Xhyub commented Oct 21, 2021

Nice thank you so much.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 20, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
resolution: invalid Invalid issue/PR
Projects
None yet
Development

No branches or pull requests

2 participants