3 ms·
On the flip side, just googling around for how to get python modules (eggs?) installed was a maddening experience. About 6 different ways to do it, and the docu
by tibbon 14y ago
On the flip side, just googling around for how to get python modules (eggs?) installed was a maddening experience. About 6 different ways to do it, and the documentation was a bit unclear on all of them.
I just install Ruby from rvm (or rbenv), git clone an app and type 'bundle install' and then its all working.
- andybak 14y ago90 percent of the time the answer is pip. Things can get trickier on Windows if there are compiled dependencies. You'd better hope there's a precompiled binary for you in that case.
- pekk 14y agoPlease don't make this another 'ruby is better' thing, OK? Just use 'pip install' and forget the rest, this is overwhelmingly the most common advice. If you don't follow this advice and you still complain about installing Python packages, you are inflicting that damage on yourself voluntarily. Most things you need to use on Windows have exe/msi installers, if you cannot get pip working on Windows (it's not rocket science though)
- ivosaurus 14y agoThis is simply an effect of you having full knowledge of Ruby development management, but not python's. In fact, they are quite similar to eachother. A pythonist would just say: "I just install a python environment from virtualenv, git clone an app and type 'pip install -r requirements.txt' and then its all working." virtualenv ~= rbenv, and pip ~= bundler. Either set of the two make it easy to install appropriate packages for separate projects. Now maybe the googleability of this knowledge isn't as great as it could be, but ask any good pythonista and they'll set you on the right track.
- tibbon 14y agoThanks! The issue right now really is the Googlability. I just searched for "Installing python modules" and of the top 5-6 hits (listed below) none of them mentioned the advice you just gave. The Python 2.7 docs don't mention it at all under their installing modules page. Everything's about RPM and Distutils. http://docs.python.org/2/install/index.html http://docs.python.org/2/install/index.html http://docs.python.org/release/2.2p1/inst/inst.html http://docs.python.org/release/2.2p1/inst/inst.html http://stackoverflow.com/questions/739993/get-a-list-of-installed-python-modules http://stackoverflow.com/questions/739993/get-a-list-of-inst... https://my.bluehost.com/cgi/help/530 https://my.bluehost.com/cgi/help/530 http://stackoverflow.com/questions/9714635/how-to-install-python-module-without-setup-py http://stackoverflow.com/questions/9714635/how-to-install-py... http://discuss.joyent.com/viewtopic.php?id=25044 http://discuss.joyent.com/viewtopic.php?id=25044 On the flip side, 'installing ruby gems' does tell you about the gem application, but doesn't mention bundler in the top 5 results.