How to install pyramid

January 27, 2012 by
Filed under: python 

1.Install python 2.7/3.x

2.Install setuptools

For windows, need to add C:\Python27\Scripts to PATH variable

3. Install virtualenv

$ easy_install virtualenv

create a virtual environement mysite:
$virtualenv mysite
$cd mysite
$source bin/activate

Then a new environment variable VIRTUAL_ENV would be set. And virtualenv modified your $PATH variable too by appending bin/python to $PATH; So pythonpath could be in the current directory. virtualenv also installed pip and easy_install in ENV/bin.

How to clean virtual environment:
$virtualenv –clear mysite

4.Install pyramid

After you’ve got your env virtualenv installed, you may install Pyramid itself using the following commands from within
the virtualenv (env) directory:

$ bin/easy_install pyramid

Digg This
Reddit This
Stumble Now!
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)


Comments are closed.