4 ms·
Why not "sudo apt-get install python-lxml python-beautifulsoup"? Difficult to make the "olde" argument when you're installing dependencies from apt.
by lamby 15y ago
Why not "sudo apt-get install python-lxml python-beautifulsoup"? Difficult to make the "olde" argument when you're installing dependencies from apt.
- wesleyzhao 15y agoDoes that work? If I remember correctly I may have tried that and it was one of the things that failed. Something would not compile I believe. I am still a noob so if that works and I just messed it up I wouldn't be surprised. Do you know by experience that is all you need?
- VuongN 15y agoWorked for me when I did it on Debain Squeeze. I later ended up uninstalling the apt-get version and install the newer version from pipy via pip.
- wesleyzhao 15y agoInteresting - so would this not have worked for my Ubuntu ami instance or my Ubuntu home machine?
- kevindication 15y agoWorks just fine on Ubuntu.
- oinksoft 15y agoI can't speak for Ubuntu, but it's supposed to be reasonably stable and there is absolutely no reason to believe that package installation for this sort of software would differ between machines.
- oinksoft 15y ago... of course it will work. And there's no compilation step involved, either, as I've never encountered a Debian package that was not a binary distribution (but maybe there are some, requiring build-essential? This package surely does not depend on build-essential).
- wesleyzhao 15y agoI'll run this on a clean Ubuntu instance and if this works I'll update my post! Thanks!!
- danohuiginn 15y agoyes, that's really all you need. I've just tried on a couple of different versions of ubuntu, and it worked on them all. If you find a version of ubuntu or debian where that doesn't work, file a bug!
- pavel_lishin 15y agoThat doesn't work with virtualenv, does it? The advantage of pip and easy_install is that you can install it per project without fucking up global dependencies, etc.
- ianb 15y agoIt should be fine as long as you don't use --no-site-packages
- wesleyzhao 15y agoJust tried that on a new Ubuntu instance...it worked!!! Wow...