About 84,900 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. 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 …

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

  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

    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. python - How to create venv - Stack Overflow

    Dec 6, 2021 · But, now with the release of python v 3.10 it installed itself globally though I wanted it to be installed in same venv I was using for python v3.9 So, if anyone could help me with how can I install …

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