Auto-tools/Python101: Difference between revisions

Jump to navigation Jump to search
m
(Created page with "== Setting up Python == ==== Install Python ==== *Go to: http://www.python.org/getit/ *Make sure to get Python 2.6 or Python 2.7 *Choose the right platform and architecture (3...")
 
Line 15: Line 15:
* Open up a command line and run 'easy_install pip'
* Open up a command line and run 'easy_install pip'


==== Setup Virtualenv ====
==== Install Virtualenv ====
* Run 'pip install virtualenv'
* Run 'pip install virtualenv'
** A virtualenv is an isolated environment that python packages can get installed to. Packages installed into a virtualenv are only available to you when that virtualenv is activated. The benefit of this is that your global python environment doesn't get cluttered and packages don't interfere with one another. It may not sound like much but if you start using Python a lot managing packages in your global environment becomes a real pain.
** A virtualenv is an isolated environment that python packages can get installed to. Packages installed into a virtualenv are only available to you when that virtualenv is activated. The benefit of this is that your global python environment doesn't get cluttered and packages don't interfere with one another. It may not sound like much but if you start using Python a lot managing packages in your global environment becomes a real pain.
Confirmed users
656

edits

Navigation menu