Creating a Python Virtual Environment!
Вставка
- Опубліковано 17 жов 2022
- Step 1: Open command line and create the environment by typing "python -m venv myvenv"
Step 2: Change into the virtual environment directory "cd myenv"
Step 3: Change into the scripts directory "cd Scripts"
Step 4: Run "activate" and you have your Python virtual environment!
CONNECT:
LinkedIn: / adrian-dolinay-frm-96a...
GitHub: github.com/ad17171717
Twitter: / dolinayg
Odysee: odysee.com/@adriandolinay:0
not activated
Your_venv_Name\scripts\activate.bat (for cmd.exe user)
Your_venv_Name\scripts\activate.ps1 (for powershell user)
Why there are many ways to create virtual environment for django
Using same Virutal Environment is Created. However, there is no Scripts folder in it... How to resolve this?
I get the same problem but I cant solve it. Have you come up with the solution yet ?
@@HoangVo-uq9vs yes,
1. delete the python path from environment variables of your pc.
2. Then uninstall Python.
3. Reinstall Python and select custom installation (note:- tick all the checkboxes)
4. Add python path in environment variables.
With these steps, my problem was resolved.
Hope you got the answer right ? If yes tell me too@@HoangVo-uq9vs
Yes but how do I code stuff in it then use it
You can like and subscribe for that lol
@@AdrianDolinaylol
instead of activate use .\activate