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

    To create a virtual environment, go to your project’s directory and run the following command. This will create a new virtual environment in a local folder named .venv: python3 -m venv …

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

    Jan 9, 2019 · You can easily create a Python virtual environment in Visual Studio Code (VSCode) by following these steps: Open the terminal in VSCode. You can do this by navigating to the …

  3. python - What is a virtualenv, and why should I use one ... - Stack ...

    Feb 1, 2017 · When a virtualenv is active, pip will install packages within the environment, which does not affect the base Python installation in any way. In Python 3.3 or later, you can create a …

  4. python - Why is virtualenv necessary? - Stack Overflow

    A Virtual Environment, put simply, is an isolated working copy of Python which allows you to work on a specific project without worry of affecting other projects. For example, you can work on a …

  5. Use different Python version with virtualenv - Stack Overflow

    Oct 8, 2009 · I had to run a pyenv shell for the selected python version: pyenv shell 3.11.3 and then run python -m venv env to create the virtual environment. This creates a virtual …

  6. python - Conda: Creating a virtual environment - Stack Overflow

    Create a virtual environment conda create -n yourenvname python=x.x anaconda Activate your virtual environment source activate yourenvname Install additional Python packages to a …

  7. python - Where should virtualenvs be created? - Stack Overflow

    which created the virtual environment directory at the same level as the inner djangoproject directory. Is this the wrong place in which to create the virtualenv for this particular project? I'm …

  8. 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 python and venv to create a virtual environment. Here is a workflow that you can …

  9. Using VirtualEnv with multiple Python versions on windows

    Use the desired Python version to install virtualenv: C:\Users\nishant>py -3.12 -m pip install virtualenv Create a Virtual Environment. Create a virtual environment with the following …

  10. python - Make virtualenv inherit specific packages from your …

    Create the environment with virtualenv --system-site-packages. Then, activate the virtualenv and when you want things installed in the virtualenv rather than the system python, use pip install - …

Refresh