You are not logged in.
Pages: 1
Topic closed
In Haskell, I ran into dependency issues when I had xmonad installed using pacman
and other packages installed using cabal.
Might a similar thing happen if I installed some PyPI packages (virtualenv, pymongo)
using pacman instead of pip?
My reason for wanting to install with pacman is that I'd be more likely to keep the
packages up to date - they'd be tied to the rest of my system, and there's no simple
command to upgrade all packages in pip.
Offline
IMO, you should choose which method works best for you and stick with it.
If you use a 3rd party package manager, you should stick with it.
Or if you use pacman, you should stick with it.
http://sherlock.heroku.com/blog/2012/04 … -managers/
Towards the end I mention I don't really know much about pip and would investigate on how it works.
But as a general rule, I would say to try out the 3rd party package manager first and see if it works.
I would also recommend doing per user installs (install to $HOME) to keep files managed by pacman separated from files installed with the 3rd party package manager.
Cabal and Gem imo are both superior to using packages provided in the supported repositories for the reasons outlined in my blog post.
Hope this helps.
Cheers!
Offline
Ok, so my initial take on pip is that the situation might be better to use pacman for python packages because so many of them are already packaged and maintained.
Your point that pip also doesn't have an upgrade all command is a strong one, but there seems to be workarounds for instance: http://stackoverflow.com/questions/2720 … s-with-pip
Now knowing this info, I will probably stick with pacman for my python needs at least until the pip situation improves and gives more incentive to use it.
Offline
pacman/yaourt almost always.
pip only when inside a virtualenv.
I don't want to break dependencies during updates or accidentally sudo pip2 uninstall a site-package that was installed by a makepkg
Last edited by w0ng (2012-04-09 05:38:47)
All configs @ https://github.com/w0ng
Offline
Can't you write a PKGBUILD that installs them with pip? This way you'll have all the files registered with pacman (I don't trust anything I can't find with -Ql or -Qo), but they're installed in a way pip can comprehend as well. The only thing the maintainer would have to do is test new upstream releases and increment the version number in the PKGBUILD. I don't know if this works when building the binary packages (as I don't know how pip stores it's information), but this could be working great for AUR packages.
I don't care about those language specific repositories. Why? Although I had to write lots of code lately, I am not a software developer. I also have lots of space on my hard disk, so I don't think in languages, I think in applications. The last thing I want to do is wonder what language was used to solve whatever task.
Offline
I have having the same question as Awebb: wouldn't it be possible to install python packages with a PKGBUILD file that uses pip inside? That would be useful.
Offline
I install packages with pacman if aviable.
When using pip, I edited the pip.conf file to make sure the packages installed with pip only affect my home directory.
Offline
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Pages: 1
Topic closed