Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

virtualenv not activated on windows 11

Im using python 10 and windows-11
i try to activate venv with the following command

.\onlineShop\Scripts\activate.bat

I create venv using following command

python -m venv onlineShop

My pip list

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

Package      Version
------------ -------
distlib      0.3.4
filelock     3.6.0
pip          22.0.4
platformdirs 2.5.2
pyaes        1.6.1
Pyrogram     2.0.17
PySocks      1.7.1
setuptools   58.1.0
six          1.16.0
virtualenv   20.14.1

also when Im using .\onlineShop\Scripts\activate gives me this Error

"cannot be loaded because the execution of scripts is disabled on this system".

Problem : venv is not activated

>Solution :

According to Microsoft Tech Support, it might be a problem with Execution Policy Settings. To fix it, you should try executing Set-ExecutionPolicy Unrestricted -Scope Process

OR IF this problem is not gone Then please read this answer

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading