Skip to main content
added 679 characters in body
Source Link
mrwnt10
  • 1.4k
  • 2
  • 19
  • 34

I'm working through Hitchhiker's Guide to Python's section on virtualenvwrapper, but am having difficulty creating a virtualenv. I don't receive any error when I try to create a virtualenv, but when I try to workon it, an error is thrown saying the env doesn't exist. My WORKON_HOME is empty. What might be the matter?

$ mkvirtualenv test
# NOTHING PRINTS HERE
$ workon test
ERROR: Environment 'test' does not exist. Create it with 'mkvirtualenv test'.
$ workon
# NOTHING PRINTS HERE

Relevant lines from my .bashrc, drawing on this question and the official installation guide:

export VIRTUALENVWRAPPER_PYTHON=/Library/Frameworks/Python.framework/Versions/3.7/bin/python3
export VIRTUALENVWRAPPER_VIRTUALENV=/Library/Frameworks/Python.framework/Versions/3.7/bin/virtualenvwrapper.sh
export WORKON_HOME=$HOME/.virtualenvs
export PROJECT_HOME=$HOME/Documents/Coding
source /Library/Frameworks/Python.framework/Versions/3.7/bin/virtualenvwrapper.sh

I'm working through Hitchhiker's Guide to Python's section on virtualenvwrapper, but am having difficulty creating a virtualenv. I don't receive any error when I try to create a virtualenv, but when I try to workon it, an error is thrown saying the env doesn't exist. My WORKON_HOME is empty. What might be the matter?

$ mkvirtualenv test
# NOTHING PRINTS HERE
$ workon test
ERROR: Environment 'test' does not exist. Create it with 'mkvirtualenv test'.
$ workon
# NOTHING PRINTS HERE

I'm working through Hitchhiker's Guide to Python's section on virtualenvwrapper, but am having difficulty creating a virtualenv. I don't receive any error when I try to create a virtualenv, but when I try to workon it, an error is thrown saying the env doesn't exist. My WORKON_HOME is empty. What might be the matter?

$ mkvirtualenv test
# NOTHING PRINTS HERE
$ workon test
ERROR: Environment 'test' does not exist. Create it with 'mkvirtualenv test'.
$ workon
# NOTHING PRINTS HERE

Relevant lines from my .bashrc, drawing on this question and the official installation guide:

export VIRTUALENVWRAPPER_PYTHON=/Library/Frameworks/Python.framework/Versions/3.7/bin/python3
export VIRTUALENVWRAPPER_VIRTUALENV=/Library/Frameworks/Python.framework/Versions/3.7/bin/virtualenvwrapper.sh
export WORKON_HOME=$HOME/.virtualenvs
export PROJECT_HOME=$HOME/Documents/Coding
source /Library/Frameworks/Python.framework/Versions/3.7/bin/virtualenvwrapper.sh
edited title
Link
mrwnt10
  • 1.4k
  • 2
  • 19
  • 34

virtualenvwrapper environment creatormkvirtualenv not working but no errors

Source Link
mrwnt10
  • 1.4k
  • 2
  • 19
  • 34

virtualenvwrapper environment creator not working but no errors

I'm working through Hitchhiker's Guide to Python's section on virtualenvwrapper, but am having difficulty creating a virtualenv. I don't receive any error when I try to create a virtualenv, but when I try to workon it, an error is thrown saying the env doesn't exist. My WORKON_HOME is empty. What might be the matter?

$ mkvirtualenv test
# NOTHING PRINTS HERE
$ workon test
ERROR: Environment 'test' does not exist. Create it with 'mkvirtualenv test'.
$ workon
# NOTHING PRINTS HERE