What do you want to save?
Add Code snippet
New code examples
-
-
Other 2022-02-05 06:10:17
how to activate a venv in windows
#in the terminal cd_yourdir >pip install virtualenv >virtualenv "__" #(any name on the place of string whatever you want) E.G. > virtualenv venv >D:Projectdir/venv/scripts/activate.bat DONE !!! # It will look like this now (venv)... Add solution -
Python 2021-11-21 08:47:11
ImportError: Couldn't import Django. Are you sure it's installed and available on your PYTHONPATH environment variable? Did you forget to activate a virtual environment?
# Make sure you have virtualenv set up on the directory your working on. # To set up virtualenv, first download it (If you haven't yet) # Do it by typing in this on the terminal: pip install virtualenv # Then activate the virtual environment by doing... Add solution -
Other 2021-11-07 14:33:14
virtualwrapper
$ pip install virtualenvwrapper ... $ export WORKON_HOME=~/Envs $ mkdir -p $WORKON_HOME $ source /usr/local/bin/virtualenvwrapper.sh $ mkvirtualenv env1 Installing setuptools.......................................... ......................................... Add solution
Best helpers
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5