About 84,700 results
Open links in new tab
  1. How to create virtual env with Python 3? - Stack Overflow

    python3 -m venv ./path-to-new-venv This is the recommended way to create virtual environments. Historically, a wrapper command pyvenv was provided for this. However, the wrapper was …

  2. How to create a venv with a different Python version

    Dec 20, 2021 · Therefore, when creating a new venv for a new project, I would like to downgrade Python, say to 3.8, only for this specific venv. How can I do that? What should I type onto the …

  3. What is the difference between venv, pyvenv, pyenv, virtualenv ...

    The differences between the venv variants still scare me because my time is limited to learn new packages. pipenv, venv, pyvenv, pyenv, virtualenv, virtualenvwrapper, poetry, and others have …

  4. visual studio code - Activate 'uv' environment - 'venv' mismatch ...

    Jul 4, 2025 · uv init uv venv source .venv/bin/activate uv add numpy pandas statsmodels uv sync Which results in this warning and in no packages being installed: Which is the right way of creating a virtual …

  5. What's the difference between "virtualenv" and "-m venv" in creating ...

    -m venv myvenv The first one works well for me in creating virtual environments while the other does not. I cd into my development directory and use virtualenv myvenv and it creates the virtual …

  6. How can I properly use Pyenv and venv? - Stack Overflow

    Oct 10, 2018 · Select that Python version: pyenv local <python_version> To create virtual env: This will create venv somewhere in root, from there you can activate and deactivate it pyenv virtualenv pyenv …

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

    Jan 9, 2019 · In my project folder I created a venv folder: python -m venv venv When I run command select python interpreter in Visual Studio Code, my venv folder is not shown. I went one level up like …

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

    To activate: $ bash --init-file PythonVenv/bin/activate This starts a new shell around the venv. Your original bash shell remains unmodified. To deactivate: $ exit OR [CTRL] + [D] This exits the entire …

  9. virtualenv - (venv) (base) both active on a python project, how do I ...

    Oct 5, 2020 · (venv) (base) both active on a python project, how do I get into venv only? Asked 5 years, 2 months ago Modified 3 years, 9 months ago Viewed 21k times

  10. How to activate Python virtual environment in VS Code's terminal in ...

    6 Assuming that you're using PowerShell and your Python virtual environment is in the 'venv' folder then you'll need to source the Activate.ps1 script by using the following command