You are not logged in.

#1 2012-09-07 17:43:09

matyilona200
Member
Registered: 2012-06-21
Posts: 77

[solved]python-pip fileconflict with __pycache__ folders

When I ran pacman -Syu I'v got the following errors.

error: failed to commit transaction (conflicting files)
python-pip: /usr/lib/python3.2/site-packages/pip/__pycache__/__init__.cpython-32.pyc exists in filesystem
python-pip: /usr/lib/python3.2/site-packages/pip/__pycache__/backwardcompat.cpython-32.pyc exists in filesystem
python-pip: /usr/lib/python3.2/site-packages/pip/__pycache__/basecommand.cpython-32.pyc exists in filesystem
python-pip: /usr/lib/python3.2/site-packages/pip/__pycache__/baseparser.cpython-32.pyc exists in filesystem
python-pip: /usr/lib/python3.2/site-packages/pip/__pycache__/download.cpython-32.pyc exists in filesystem
python-pip: /usr/lib/python3.2/site-packages/pip/__pycache__/exceptions.cpython-32.pyc exists in filesystem
python-pip: /usr/lib/python3.2/site-packages/pip/__pycache__/index.cpython-32.pyc exists in filesystem
python-pip: /usr/lib/python3.2/site-packages/pip/__pycache__/locations.cpython-32.pyc exists in filesystem
python-pip: /usr/lib/python3.2/site-packages/pip/__pycache__/log.cpython-32.pyc exists in filesystem
python-pip: /usr/lib/python3.2/site-packages/pip/__pycache__/req.cpython-32.pyc exists in filesystem
python-pip: /usr/lib/python3.2/site-packages/pip/__pycache__/status_codes.cpython-32.pyc exists in filesystem
python-pip: /usr/lib/python3.2/site-packages/pip/__pycache__/util.cpython-32.pyc exists in filesystem
python-pip: /usr/lib/python3.2/site-packages/pip/commands/__pycache__/__init__.cpython-32.pyc exists in filesystem
python-pip: /usr/lib/python3.2/site-packages/pip/commands/__pycache__/install.cpython-32.pyc exists in filesystem
python-pip: /usr/lib/python3.2/site-packages/pip/commands/__pycache__/uninstall.cpython-32.pyc exists in filesystem
python-pip: /usr/lib/python3.2/site-packages/pip/vcs/__pycache__/__init__.cpython-32.pyc exists in filesystem
python-pip: /usr/lib/python3.2/site-packages/pip/vcs/__pycache__/bazaar.cpython-32.pyc exists in filesystem
python-pip: /usr/lib/python3.2/site-packages/pip/vcs/__pycache__/git.cpython-32.pyc exists in filesystem
python-pip: /usr/lib/python3.2/site-packages/pip/vcs/__pycache__/mercurial.cpython-32.pyc exists in filesystem
python-pip: /usr/lib/python3.2/site-packages/pip/vcs/__pycache__/subversion.cpython-32.pyc exists in filesystem
Errors occurred, no packages were upgraded.

There are no other files in theese __pychace__ folders.Should I try to remove the __pycache__ folders manually and try again?

Last edited by matyilona200 (2012-09-08 21:49:08)

Offline

#2 2012-09-07 18:48:40

Stebalien
Member
Registered: 2010-04-27
Posts: 1,237
Website

Re: [solved]python-pip fileconflict with __pycache__ folders

Yes but only remove those specific __pycache__ folders. This happens when the maintainer doesn't include the pyc files in the initial package and adds them later.


Steven [ web : git ]
GPG:  327B 20CE 21EA 68CF A7748675 7C92 3221 5899 410C
Do not email: honeypot@stebalien.com

Offline

#3 2012-09-08 21:49:50

matyilona200
Member
Registered: 2012-06-21
Posts: 77

Re: [solved]python-pip fileconflict with __pycache__ folders

Thank you! After deleting the __pycache__ folders evrything was fine.

Offline

Board footer

Powered by FluxBB