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

КОМЕНТАРІ • 11

  • @3gamers529
    @3gamers529 Рік тому +9

    not activated

    • @nobitanobi8888
      @nobitanobi8888 5 місяців тому

      Your_venv_Name\scripts\activate.bat (for cmd.exe user)
      Your_venv_Name\scripts\activate.ps1 (for powershell user)

  • @CodingMakesMeHappy
    @CodingMakesMeHappy 9 місяців тому +1

    Why there are many ways to create virtual environment for django

  • @shivafoods007
    @shivafoods007 Рік тому +4

    Using same Virutal Environment is Created. However, there is no Scripts folder in it... How to resolve this?

    • @HoangVo-uq9vs
      @HoangVo-uq9vs 11 місяців тому +1

      I get the same problem but I cant solve it. Have you come up with the solution yet ?

    • @shivafoods007
      @shivafoods007 11 місяців тому

      @@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.

    • @Prathamos
      @Prathamos 5 місяців тому

      Hope you got the answer right ? If yes tell me too​@@HoangVo-uq9vs

  • @cannagybro115
    @cannagybro115 Рік тому +1

    Yes but how do I code stuff in it then use it

  • @nihal4931
    @nihal4931 10 місяців тому +1

    instead of activate use .\activate