| Summary: | dev-python/pip ignores --user parameter while trying to install pyinstaller | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Pavel Kozlov <pkozlov.vrn> |
| Component: | Current packages | Assignee: | Python Gentoo Team <python> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | CC: | mgorny |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Pavel Kozlov
2019-11-17 16:42:02 UTC
The same problem. Exact same problem here when I do: pip install --user --upgrade xonsh (Doesn't matter if I put upgrade first or user first). This is very "not good"! The weird thing is a few minutes prior to that I did: pip install --user xontrib-autojump and it worked. I wonder if the problem is only when I try to upgrade? This is the actual message. Even though I passed the --user option, it is trying to do --no-user for a dependency. Collecting xonsh Using cached https://files.pythonhosted.org/packages/b8/70/c43e9a44238711d7bc4d35abbdf853881ad911e6c07bbf93afc164ba02ec/xonsh-0.9.17.tar.gz Installing build dependencies ... error ERROR: Command errored out with exit status 1: command: /usr/bin/python3.6 /usr/lib64/python3.6/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-7va1y9av/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools>=40.8.0' wheel cwd: None Complete output (1 lines): ERROR: (Gentoo) Please run pip with the --user option to avoid breaking python-exec ---------------------------------------- ERROR: Command errored out with exit status 1: /usr/bin/python3.6 /usr/lib64/python3.6/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-7va1y9av/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools>=40.8.0' wheel Check the logs for full command output. Bug #692960 is very similar: https://bugs.gentoo.org/692960 Rebuilding pip with "vanilla" USE flag fixed this. This is one of the most frustrating things I've come across. The ebuild needs to be fixed (although it does seem upstream is at fault). The error message is just completely unhelpful and misleading. *** This bug has been marked as a duplicate of bug 692960 *** |