Skip to content
Advertisement

virtualenv activate does not work

I am trying to create a virtual environment to test an api.

I can create the environment just fine using virtualenv test, then I can cd into it. When I try to run activate, I get this error:

JavaScript

I recently updated windows, and it replaced the cmd with Windows Powershell. My virtualenv worked fine with the cmd, so I suspect it may have to do with the way the Powershell does things.

How can I activate the virtualenv?

Advertisement

Answer

If you press WindowsKey + R, and type cmd when the box comes up, it should bring up the command line interface instead of powershell!

User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement