You are not logged in.

#1 2018-06-01 22:19:25

wh00
Member
Registered: 2016-03-24
Posts: 20

[SOLVED] Updating python-pip errors

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

#2 2018-06-01 22:27:39

loqs
Member
Registered: 2014-03-06
Posts: 17,369

Offline

#3 2018-06-01 22:34:00

wh00
Member
Registered: 2016-03-24
Posts: 20

Re: [SOLVED] Updating python-pip errors

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... hmm

Offline

#4 2018-06-02 22:30:43

mrunion
Member
From: Jonesborough, TN
Registered: 2007-01-26
Posts: 1,938
Website

Re: [SOLVED] Updating python-pip errors

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

#5 2018-06-07 06:01:09

Glaeqen
Member
Registered: 2016-08-10
Posts: 26

Re: [SOLVED] Updating python-pip errors

mrunion wrote:

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

#6 2018-06-07 06:08:05

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,558

Re: [SOLVED] Updating python-pip errors

That's what venvs are for. Or using pip to install to your home dir.

Online

Board footer

Powered by FluxBB