About 89,200 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. 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 …

  4. 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 …

  5. 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 …

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

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

    Using the deactivate feature provided by the venv's activate script requires you to trust the deactivation function to be properly coded to cleanly reset all environment variables back to how they were …

  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, 1 month ago Modified 3 years, 9 months ago Viewed 21k times

  10. How to know if Virtual Environment is working in VS Code?

    5 I’ve read through VS Code’s documentation on creating a virtual environment and I’ve used the venv command to do so, but how do I know if my current Python files are working using that Virtual …