Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Python Setting Up a Local Python Environment Installing Python and Python Libraries Locally Using virtualenv

I am having trouble installing virtualenvwrapper on linux mint 17 Qiana.

export WORKON_HOME=$HOME/.virtualenvs export PROJECT_HOME=$HOME/Devel source /usr/local/bin/virtualenvwrapper.sh

I am supposed to add the 3 lines of code above to the shell start up file but i have no idea how to do that

1 Answer

Kenneth Love
STAFF
Kenneth Love
Treehouse Guest Teacher

I bet your shell is Bash. If so, add those three lines into the .bash_profile file in your home directory.

Lance McCormick
Lance McCormick
7,553 Points

Hi Kenneth, I am struggling setting up virtualenv in Linux Mint. I created a post of the Forums addressing my issue. It has the "virtualenv" tag on it. Id appreciate any help as your Windows and Mac videos don't really help me at this stage. I have googled a lot and produced no solid answers for doing this on Linux Mint. Thanks