PLATFORM
  • Tails

    Create websites with TailwindCSS

  • Blocks

    Design blocks for your website

  • Wave

    Start building the next great SAAS

  • Pines

    Alpine & Tailwind UI Library

  • Auth

    Plug'n Play Authentication for Laravel

  • Designer comingsoon

    Create website designs with AI

  • DevBlog comingsoon

    Blog platform for developers

  • Static

    Build a simple static website

  • SaaS Adventure

    21-day program to build a SAAS

Written By

Python venv or virtualenv won't activate on windows

Python venv or virtualenv won't activate on windows

Problem

Unable to Activate the Virtual Environment In Windows Operating System.

Details

The issue is specifically for Powershell of Windows Operating System While Activating the virtualenv of Python which does not allow us to run scripts in Powershell Window.

First Solution

Try Running below command in Powershell

Set-ExecutionPolicy Unrestricted -Scope Process

Second Solution

Try Running below command in Powershell

Set-ExecutionPolicy Unrestricted -Force

Third Solution

Don't run the File at .\Scripts\activate or .\Scripts\activate.bat.
Instead Run The File At location .\Scripts\activate.ps1.

Fourth Solution

Use the Unix like command Shells Instead of Powershell for example Git Bash Is Lightweight Cli Tool.

Comments (0)

loading comments