Open anxiousmodernman opened 11 years ago
you'll need to set your project interpreter in PyCharm IDE
On Ubuntu Linux you should consider using the program virtualenvwrapper
Get it:
sudo apt-get install virtualenvwrapper
Make a virtualenv. This will hold all your python modules in a non-system directory. The management of this is a lot easier with virtualenvwrapper.
mkvirtualenv teamdash
This will activate your virtualenv. Whenever you want to activate it run the following in your terminal.
workon teamdash
Your command prompt will change to indicate that the python you're using is a virtualenv folder. Go to the project directory and run without sudo:
pip install -r requirements.txt
We're really playing with fire if we don't use a virtualenv for all python packages.
Create and name your virtualenv according to this guide.
http://docs.python-guide.org/en/latest/dev/virtualenvs/
Then, using the pip utility, re-download all project requirements like this (don't need sudo on unix because all virtualenv packages are local to the dev user)
Later on, we can break out the requirements according to dev, test, prod, etc.