DEV Community

Iano Njuguna
Iano Njuguna

Posted on

Answer: 'virtualenv' won't activate on Windows

In PowerShell use

Scripts\activate.ps1

instead of activate.bat which doesn't work in PowerShell any more.

Also deactivate it by just typing

deactivate

at the command prompt.

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more