About 61,400 results
Open links in new tab
  1. python - How to activate virtual environment from Windows 10 …

    Oct 23, 2017 · I'm trying to create and activate a virtual environment, using Windows 10 command prompt. I know that virtualenv is installed correctly, as the command virtualenv venv Works.

  2. python - How can I activate a virtualenv in Linux? - Stack Overflow

    So cd into your Scripts folder and type . activate into your command line (be sure to include a space after the period). You'll notice your path in the command line changes, by adding (venv) to the …

  3. How to activate the virtual environment for python?

    Jan 19, 2022 · Your virtual environment was created with virtualenvwrapper. Activate it with command workon mysite-virtualenv in bash console on PythonAnywhere. For the web app you need to set it on …

  4. python - How can I activate my virtualenv in the Visual Studio Code ...

    Jul 13, 2022 · How can I activate my virtual environment in the Visual Studio Code terminal? I've tried using the workspace settings method, but the settings file was empty.

  5. Why does the command source not work on Windows - cannot …

    If you're like me and you want the source command to be pathless/easy, I've modified the existing activate/deactivate/venv scripts provided by virtualenv to work in Windows from anywhere, with a …

  6. python - How to activate virtualenv on Windows? - Stack Overflow

    Jan 3, 2021 · To create a virtual environment on windows use python -m venv <env_name> To activate a virtual environment on windows use .\env_name\Scripts\activate.bat **Please note the slashes on …

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

  8. python - Issue with virtualenv - cannot activate - Stack Overflow

    Jan 19, 2012 · On Windows, virtualenv creates a .bat/.ps1 file, so you should run venv\Scripts\activate instead (per the virtualenv documentation on the activate script). Just run activate, without an …

  9. Activating Python Virtual Environment on Windows 11

    Dec 31, 2022 · python -m venv env This will create a new folder called env inside the directory where you executed the command. You can activate the created virtual environment by running the …

  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