About 81,000 results
Open links in new tab
  1. What is the difference between venv, pyvenv, pyenv, virtualenv ...

    Jun 13, 2022 · PyPA endorses venv for creating VIRTUAL ENVELOPES: "Changed in version 3.5: The use of venv is now recommended for creating virtual environments". pipenv. pipenv- …

  2. How can I set up a virtual environment for Python in Visual Studio …

    Jan 9, 2019 · In my case my venv was in a different directory (not in my project workspace), so a simple cut/copy-paste of my venv to the project workspace did the trick. As soon as your venv …

  3. How to activate the virtual environment for python?

    Jan 19, 2022 · Stack Overflow for Teams Where developers & technologists share private knowledge with coworkers; Advertising Reach devs & technologists worldwide about your …

  4. What is a virtualenv, and why should I use one? - Stack Overflow

    Feb 1, 2017 · $ virtualenv ENV_DIR $ venv ENV_DIR $ pyvenv ENV_DIR $ pyvenv3 ENV_DIR ENV_DIR should be a non-existent directory. The directory can have any name, but to keep …

  5. How to activate virtual environment from Windows 10 command …

    Oct 23, 2017 · I've navigated to my virtualenv download, Downloads\venv\Scripts, and am trying to activate my virtual environment venv. I've tried. venv activate Which doesn't work since …

  6. Use different Python version with virtualenv - Stack Overflow

    Oct 8, 2009 · There is an easier way, virtualenv venv --python=python2.7 Thanks to a comment, this only works if you have python2.7 installed at the system level (e.g. /usr/bin/python2.7).

  7. How to leave/exit/deactivate a Python virtualenv - Stack Overflow

    This starts a new shell around the venv. Your original bash shell remains unmodified. To deactivate: $ exit OR [CTRL]+[D] This exits the entire shell the venv is in, and drops you back …

  8. Visual Studio Code does not detect Virtual Environments

    Mar 30, 2021 · The only solution I found was to delete the venv and recreate it. I followed these steps but I'll provide a brief summary for Windows: Activate your virtualenv. Go to the parent …

  9. Activate virtualenv and run .py script from .bat - Stack Overflow

    Nov 22, 2017 · call workon venv cd path/to/Python/proj python -m script.py I've tried adding timeouts immediately after the call to workon and tried moving the workon to seperate .bat …

  10. pip - How can I make a list of installed packages in a certain ...

    Dec 10, 2017 · python3 -m venv your_foldername_here Activate. cd your_foldername_here source bin/activate Deactivate. deactivate You can also stand in the folder and give the virtual …

Refresh