You are not logged in.
Hi, all
I am with xfce currently and though of tring KDE. However when I tried to install KDE it turns that there are confilicts between 'kde' and 'python-numpy':
:: Proceed with installation? [Y/n]
(318/318) checking keys in keyring [####################################] 100%
(318/318) checking package integrity [####################################] 100%
(318/318) loading package files [####################################] 100%
(318/318) checking for file conflicts [####################################] 100%
error: failed to commit transaction (conflicting files)
python2-numpy: /usr/bin/f2py2 exists in filesystem
python2-numpy: /usr/lib/python2.7/site-packages/numpy-1.8.0-py2.7.egg-info exists in filesystem
python2-numpy: /usr/lib/python2.7/site-packages/numpy/__config__.py exists in filesystem
python2-numpy: /usr/lib/python2.7/site-packages/numpy/__config__.pyc exists in filesystem
python2-numpy: /usr/lib/python2.7/site-packages/numpy/__init__.py exists in filesystem
python2-numpy: /usr/lib/python2.7/site-packages/numpy/__init__.pyc exists in filesystem
python2-numpy: /usr/lib/python2.7/site-packages/numpy/_import_tools.py exists in filesystem
python2-numpy: /usr/lib/python2.7/site-packages/numpy/_import_tools.pyc exists in filesystem
,..Can anyone help please?
thanks,
ps:
python-numpy was installed via "pip install numpy" instead of "pacman -S python-numpy". Could this cause any problem?
Last edited by hellolj (2014-03-02 06:15:30)
Offline
Offline
Thanks for the prompt reply.
I installed my python-numpy via "pip install numpy" instead of "pacman -S python-numpy". So it this that causes the problem?
By that, does it mean I should always stick to using "pacman" instead of "pip install"?
Last edited by hellolj (2014-03-02 04:30:48)
Offline
By that, does it mean I should always stick to using "pacman" instead of "pip install"?
Generally it is less pain to stick to pacman only. Using anything else would mean pacman cannot know what packages certain files belong to, similar to what you ran into here.
Offline
I don't know how pip works, but for ruby I only install gems locally (into ~/.ruby) and use chruby to manage them: that means I don't have conflicts with pacman along these lines.
The nearest thing I can find for python is this: https://wiki.archlinux.org/index.php/Python_VirtualEnv
Offline
I don't know how pip works, but for ruby I only install gems locally (into ~/.ruby) and use chruby to manage them: that means I don't have conflicts with pacman along these lines.
The nearest thing I can find for python is this: https://wiki.archlinux.org/index.php/Python_VirtualEnv
This looks nice. May I should install my python packages in my home directory.
Offline
hellolj wrote:By that, does it mean I should always stick to using "pacman" instead of "pip install"?
Generally it is less pain to stick to pacman only. Using anything else would mean pacman cannot know what packages certain files belong to, similar to what you ran into here.
Got it. Seems I have to reinstall my python packages from scratches again.
Thanks to all the help.
SOLVED.
Offline
Never ever run pip as root, no matter which distro you are on. It is horribly insecure and it makes a mess of the filesystem and will conflict with system packages.
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline