Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

What's the recommended way of installing python packages on Arch? Searching for them on the AUR and installing them from there (or create a PKGBUILD file to make a package yourself) or using pip?

I started off by installing stuff from pacman and the AUR and dont know if it would be wise to mix with pip packages.

share|improve this question
    
Which python packages you want are not present in the official repositories? –  Nicolas May 19 '13 at 17:17
add comment

migrated from serverfault.com May 19 '13 at 19:12

This question came from our site for professional system and network administrators.

2 Answers

Typically, in a distribution, it's recommended that you use the distribution's package manager. You can of course install things using pip (or, in the perl world, cpan), or compile and install things yourself. However, when you do this, the distribution's package manager doesn't know about them and can't manage dependencies or updates for them.

Using pip is pretty much equivalent to compiling and installing your own package. Do it if you need to, but prefer the distribution's package manager.

share|improve this answer
add comment

If you don't need the python packages for all users then you can install them in your home using pip install --user packagename. Installing in your home will not conflict with the package manager.

See the pip manual for more information.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.