You are not logged in.
Anyone else having issues upgrading?
# pacman -S python-pip
resolving dependencies...
looking for conflicting packages...
Packages (15) python-cachecontrol-0.12.4-1 python-chardet-3.0.4-1 python-colorama-0.3.9-1
python-distlib-0.2.7-1 python-distro-1.3.0-1 python-html5lib-1.0.1-2 python-idna-2.6-1
python-lockfile-0.12.2-2 python-progress-1.3-2 python-pytoml-0.1.15-1
python-requests-2.18.4-1 python-retrying-1.3.3-3 python-urllib3-1.22-1
python-webencodings-0.5.1-1 python-pip-10.0.1-1
Total Installed Size: 7.63 MiB
Net Upgrade Size: 1.41 MiB
:: Proceed with installation? [Y/n]
(15/15) checking keys in keyring [####################################] 100%
(15/15) checking package integrity [####################################] 100%
(15/15) loading package files [####################################] 100%
(15/15) checking for file conflicts [####################################] 100%
error: failed to commit transaction (conflicting files)
python-pip: /usr/lib/python3.6/site-packages/pip/_internal/__init__.py exists in filesystem
python-pip: /usr/lib/python3.6/site-packages/pip/_internal/__pycache__/__init__.cpython-36.pyc exists in filesystem
python-pip: /usr/lib/python3.6/site-packages/pip/_internal/__pycache__/basecommand.cpython-36.pyc exists in filesystem
python-pip: /usr/lib/python3.6/site-packages/pip/_internal/__pycache__/baseparser.cpython-36.pyc exists in filesystem
Last edited by wh00 (2018-06-01 22:34:11)
Offline
Offline
Hmmm thanks. Wasn't sure if it was safe or not to overwrite. No package owns it.
I wonder if it was something I accidentally put there...
Offline
Search for pip on the forums.
And then stop using pip to install packages. Either write a pacman package for what you want, find one already in the repos or AUR, or use Python virtual environments and --user mode.
Matt
"It is very difficult to educate the educated."
Offline
And then stop using pip to install packages.
Easy to say. Sorry for interrupting a thread but this is not as easy as it sounds. I.e. if you need specific version of any library installed on your system, pip (or at least anything more python specific than pacman) is a must have. Furthermore, you have to install everything systemwide when your project uses ansible thanks to its flawed design. Both those things together break the idea. Pip and pacman conflicts are kinda nasty.
Offline
That's what venvs are for. Or using pip to install to your home dir.
Online