A
A
Andrey Belyaev2021-05-14 01:32:47
Python
Andrey Belyaev, 2021-05-14 01:32:47

pip won't start, how to fix?

There is such a problem:
[email protected]:/old/userbot-vk# pip3

Traceback (most recent call last):
File "/usr/bin/pip3", line 11, in
sys.exit(main())
File "/usr/local/lib/python3.5/dist-packages/pip/__init__ .py", line 12, in main
from pip._internal.utils.entrypoints import _wrapper
File "/usr/local/lib/python3.5/dist-packages/pip/_internal/utils/entrypoints.py", line 4, in
from pip._internal.cli.main import main
File "/usr/local/lib/python3.5/dist-packages/pip/_internal/cli/main.py", line 58
sys.stderr.write(f"ERROR : {exc}")
^
SyntaxError: invalid syntax
[email protected]:/old/userbot-vk# pip
Traceback (most recent call last):
File "/usr/local/bin/pip", line 7, in
from pip._internal.cli.main import main
File "/usr/local/lib/python3.5/dist-packages/pip/_internal/cli/main.py", line 58
sys.stderr.write(f"ERROR: {exc}")
^
SyntaxError: invalid syntax

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey Gornostaev, 2021-05-14
@andrewky_dev

In January , pip stopped supporting Python 3.5 .

E
EmeraldGuy, 2021-05-15
@xXLareMoonXx

Update Python to a newer one.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question