0

I try to use virtualenv inside a folder using the command virtualenv . and getting the error -bash: virtualenv: command not found. However, I installed virtualenv using pip pip installed virtualenv and also, upgraded it earlier with sudo pip install virtualenv.

How to use virtualenv properly ? I'm following a tutorial and they seems doing the same and gets away with it. I'm a Java developer with beginner knowledge of Python and working to improve it.

Arefe
  • 1,029
  • 5
  • 16
  • 30
  • Why `-1` for a valid question that I don't find the answer ? Show me duplicate with answer that works in this case, please. – Arefe Jun 08 '16 at 04:38
  • 1
    -1 likely because the problem exists elsewhere if the command is not found. Typical [XY Problem](http://meta.stackexchange.com/questions/66377/what-is-the-xy-problem) – OneCricketeer Jun 08 '16 at 04:55

1 Answers1

0

This is pretty simple
Just goto environment folder
Try: Scripts/activate
This will activate the environment
Try:Scripts/deactivate
This will deactivate current environment

Venkat Ramana
  • 903
  • 7
  • 13