1π
β
The place where you have your project isnβt necessarily the place where you have the environment. Did you have the environment in git too?
Perhaps what you need to do (in case you donβt have a versioned environment) is recreate the environment (virtualenv environment), install the dependencies (pip install -r req.txt) and then activate it (source path/to/environment/bin/activate).
Good luck.
π€mariano
1π
Ok
Try this an awesome link to How to install django in virtual environment .
http://ayarshabeer.com/post/50973941605/install-multiple-django-version-using-virtualenvwrapper
π€masterofdestiny
- [Answered ]-Serving protected files with Django and Nginx X-accel-redirect
- [Answered ]-Django rest api not accepting raw data
- [Answered ]-How can I prevent duplicate usernames, given that they are case sensitive by default?
- [Answered ]-Get data in a model formset in Django
0π
Use the following steps
virtualenv virenv_name --no-site-packages - create new virtual environment in git
pip install -r requirements.pip - It can be used for install tools in
(requirements.pip files)
yolk -l - It will used for list install files
source git/virenv_name/bin/activate - Activate virtualenv
deactivate - Deactivate virtualenv
π€gangakvp
- [Answered ]-Django Debug Toolbar Causes Loss of Static Files
- [Answered ]-Django models.ForeignKey issue with model with custom foreign key
- [Answered ]-Django β Migrate command says that table exists after second makemigrations was executed
Source:stackexchange.com