Django for Designers/Laptop setup/Linux virtualenv: Difference between revisions

no edit summary
imported>Paulproteus
No edit summary
imported>Paulproteus
No edit summary
Line 1:
== Test if you have the required tools ==
{{:Django for Designers/Laptop setup/OSX virtualenv}}
 
In this step, we test if you have the ''virtualenv'' tool.
 
Take this moment to open up a command prompt. Enter the command:
 
<pre>
virtualenv --help
</pre>
 
You should see a help message that looks something like this:
 
<pre>
Usage: virtualenv [OPTIONS] DEST_DIR
 
Options:
--version show program's version number and exit
</pre>
 
If you don't see that friendly message, download ''virtualenv.py'' from here:
 
* [https://raw.github.com/pypa/virtualenv/master/virtualenv.py virtualenv.py]
 
and save it inside the ''pages-to-apps'' folder.
 
Also, if you use Ubuntu or Debian, run the following command:
 
<pre>sudo apt-get install python-dev</pre>
 
It installs development-related tools that virtualenv relies on.
Anonymous user