[Django]-Nodeenv throws no python virtualenv is available

7👍

This also happened to me, it’s because nodeenv is not installed in your virtual environment. The following solved it for me:

sudo pip uninstall nodeenv
# Source your virtual environment.
source /path/to/virtualenv
pip install nodeenv
nodeenv -p

1👍

This happened to me on Mac OSX Yosemite.

I had installed nodeenv as a user. The solution was to install it as root:

pip uninstall nodeenv
sudo pip install nodeenv
# Source the virtual environment or use workon for virtualenvwrapper
workon <virtualenv name>
nodeenv -p
👤dralth

Leave a comment