About 51 results
Open links in new tab
  1. How can I create a virtual environment with Python 3?

    282 Use: 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 …

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

    Dec 20, 2021 · I had a similar case, and here is how I solved it with using pyenv to install different versions of the Python interpreter and venv to create a virtual environment.

  3. python - What is the difference between venv, pyvenv, pyenv, …

    Python 3.3 includes in its standard library the new package venv. What does it do, and how does it differ from all the other packages that match the regex (py)?(v|virtual|pip)?env?

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

  5. Activate 'uv' environment - 'venv' mismatch - Stack Overflow

    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 …

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

    I have created a Python virtual environment using VS Code. The virtual environment is created successfully but I am not able to activate it. When I am trying to activate my virtual env using "

  7. Where do I put my python files in the venv folder? - Stack Overflow

    Jul 24, 2018 · I think @tripleee 's answer is enough to answer this question, but I recently has a problem when I put my python files in the myproject folder because I was making an exe file with it (using …

  8. python - Can I move a virtualenv? - Stack Overflow

    Sep 5, 2015 · If you want a movable environment, use python -m venv with --upgrade after moving, or better yet, recreate the venv and reinstall from requirements.txt. Cloning is the sane, sadness-free …

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

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