You are not logged in.
Pages: 1
Hello i can't fix pip after upgrade arch linux how to fix this ?
[ root /home/anonim ]# pip install requests
ERROR: Exception:
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/pip/_internal/cli/base_command.py", line 160, in exc_logging_wrapper
status = run_func(*args)
File "/usr/lib/python3.10/site-packages/pip/_internal/cli/req_command.py", line 247, in wrapper
return func(self, options, args)
File "/usr/lib/python3.10/site-packages/pip/_internal/commands/install.py", line 326, in run
session = self.get_default_session(options)
File "/usr/lib/python3.10/site-packages/pip/_internal/cli/req_command.py", line 98, in get_default_session
self._session = self.enter_context(self._build_session(options))
File "/usr/lib/python3.10/site-packages/pip/_internal/cli/req_command.py", line 125, in _build_session
session = PipSession(
File "/usr/lib/python3.10/site-packages/pip/_internal/network/session.py", line 343, in __init__
self.headers["User-Agent"] = user_agent()
File "/usr/lib/python3.10/site-packages/pip/_internal/network/session.py", line 175, in user_agent
setuptools_dist = get_default_environment().get_distribution("setuptools")
File "/usr/lib/python3.10/site-packages/pip/_internal/metadata/__init__.py", line 75, in get_default_environment
return select_backend().Environment.default()
File "/usr/lib/python3.10/site-packages/pip/_internal/metadata/__init__.py", line 63, in select_backend
from . import pkg_resources
File "/usr/lib/python3.10/site-packages/pip/_internal/metadata/pkg_resources.py", line 8, in <module>
from pip._vendor import pkg_resources
File "/usr/lib/python3.10/site-packages/pip/_vendor/pkg_resources/__init__.py", line 3252, in <module>
def _initialize_master_working_set():
File "/usr/lib/python3.10/site-packages/pip/_vendor/pkg_resources/__init__.py", line 3235, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python3.10/site-packages/pip/_vendor/pkg_resources/__init__.py", line 3277, in _initialize_master_working_set
tuple(
File "/usr/lib/python3.10/site-packages/pip/_vendor/pkg_resources/__init__.py", line 3278, in <genexpr>
dist.activate(replace=False)
File "/usr/lib/python3.10/site-packages/pip/_vendor/pkg_resources/__init__.py", line 2785, in activate
declare_namespace(pkg)
File "/usr/lib/python3.10/site-packages/pip/_vendor/pkg_resources/__init__.py", line 2284, in declare_namespace
_handle_ns(packageName, path_item)
File "/usr/lib/python3.10/site-packages/pip/_vendor/pkg_resources/__init__.py", line 2217, in _handle_ns
loader.load_module(packageName)
File "/usr/lib/python3.10/site-packages/pygoogle/google.py", line 113
print """PyGoogle %(__version__)s
^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
And if i use pacman for update i still have error
[ root /home/anonim ]# pacman -S python-undetected_chromedriver
error: target not found: python-undetected_chromedriver
Last edited by anonimusman00 (2022-11-19 19:01:50)
Offline
There is no such package as python-undetected_chromedriver in the repos.
What command did you use to update Arch? What was updated? (pacman.log)
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
The original problem is pip & pygoogle (entirely unrelated to arch/pacman) and the second command is just nonsense. He's yanking an error message or speculative package name into pacman, hence the error.
pip package he's probably kinda looking for:
https://pypi.org/project/undetected-chromedriver/
SO thread, complaining about pygoogle:
https://stackoverflow.com/questions/738 … -archlinux
@anonimusman00, please use code tags, not quote tags and elaborate on what you're actually trying to achieve and what where your steps to that so far.
Ie. some context.
Offline
Don't run pip as root: https://wiki.archlinux.org/title/Python … management
Offline
Thanks for answer but now i have error with pip2 @cfr @seth @jasonwryan
Offline
This isn't twitter, "@something" is meaningless.
Offline
Pages: 1