<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://wiki.johnfreier.com/index.php?action=history&amp;feed=atom&amp;title=Python2</id>
		<title>Python2 - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.johnfreier.com/index.php?action=history&amp;feed=atom&amp;title=Python2"/>
		<link rel="alternate" type="text/html" href="http://wiki.johnfreier.com/index.php?title=Python2&amp;action=history"/>
		<updated>2026-05-20T11:19:37Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.24.1</generator>

	<entry>
		<id>http://wiki.johnfreier.com/index.php?title=Python2&amp;diff=913&amp;oldid=prev</id>
		<title>Jfreier: Created page with &quot;This is a dumping ground for my python2 memory.  == PIP == pip is a dependency manager for python.  It stores all dependencies in requirements.txt   pip install -r requirement...&quot;</title>
		<link rel="alternate" type="text/html" href="http://wiki.johnfreier.com/index.php?title=Python2&amp;diff=913&amp;oldid=prev"/>
				<updated>2020-12-17T21:32:30Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;This is a dumping ground for my python2 memory.  == PIP == pip is a dependency manager for python.  It stores all dependencies in requirements.txt   pip install -r requirement...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This is a dumping ground for my python2 memory.&lt;br /&gt;
&lt;br /&gt;
== PIP ==&lt;br /&gt;
pip is a dependency manager for python.  It stores all dependencies in requirements.txt&lt;br /&gt;
  pip install -r requirements.txt&lt;br /&gt;
&lt;br /&gt;
== VirtualEnv ==&lt;br /&gt;
This is special environment for pythons so you don't have to worry about mixing up system wide dependencies.&lt;br /&gt;
&lt;br /&gt;
So virtualEnv 1 has python version 2.7.11 and virtualEnv 2 has python version 2.7.12&lt;br /&gt;
&lt;br /&gt;
To install virtualenv.&lt;br /&gt;
  pip install virtualenv&lt;br /&gt;
&lt;br /&gt;
to setup an virtual enviroment use the following command.&lt;br /&gt;
  virtualenv project1&lt;br /&gt;
&lt;br /&gt;
This will create a sub directory called project1.&lt;br /&gt;
&lt;br /&gt;
Then you can activate the virtualenv by using the following command.&lt;br /&gt;
  source ./project1/bin/activate&lt;br /&gt;
&lt;br /&gt;
Once in the virtual environment you can see which python is setup&lt;br /&gt;
  which python&lt;br /&gt;
&lt;br /&gt;
or list all dependencies&lt;br /&gt;
  pip list&lt;br /&gt;
&lt;br /&gt;
You can leave the virtual environment by using the following command.&lt;br /&gt;
  deactivate.&lt;/div&gt;</summary>
		<author><name>Jfreier</name></author>	</entry>

	</feed>