Reputation: 95
when I try to run virtualenv in command line in mac, it says
from virtualenv.__main__ import run_with_catch
ModuleNotFoundError: No module named 'virtualenv'
but I am able to locate virtualenv with which virtualenv
/usr/local/bin/virtualenv
Upvotes: 3
Views: 5433
Reputation: 188
Looks like virtualenv
is not installed as a Python package. A simple pip install virtualenv
should do the trick.
Upvotes: 1