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

    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 .venv Activate a …

  2. python - How to create venv - Stack Overflow

    Dec 6, 2021 · I have been using my python v3.9 in my virtual environment, it contains all the packages and scripts i have been using for so long. But, now with the release of python v 3.10 it installed itself …

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

  4. python - Automatically create file 'requirements.txt' - Stack Overflow

    1509 Sometimes I download the Python source code from GitHub and don't know how to install all the dependencies. If there isn't any requirements.txt file I have to create it by hand. Given the Python …

  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. python - How can I activate a virtualenv in Linux? - Stack Overflow

    To add clarifying details to this: once you create your virtual environment with virtualenv venv , then manually go into the Scripts folder that was created just to look at the files, you'll see some activate …

  7. Activating Python Virtual Environment on Windows 11

    Dec 31, 2022 · Always install Python via MSI. Always use py to create a new venv by running py -3.X -m venv .venv (where ".venv" is the name of the folder/venv directory) This way, you are allowing the …

  8. python - How can I properly use Pyenv and venv? - Stack Overflow

    Oct 10, 2018 · You create a directory for your project, cd into it, and run virtualenv venv for a simple virtualenv, but you can also specify which Python executable you'd like in your virtual environment …

  9. create and use python venv from cmake - Stack Overflow

    Apr 5, 2024 · we are using cmake and invoking some python packages (like conan) from cmake. However latest python 3.12 seams to enforce using venv. I did some searching and found this …

  10. Cannot properly create a virtual enviroment in Python 3.12

    Oct 4, 2023 · Cannot properly create a virtual enviroment in Python 3.12 Ask Question Asked 2 years, 4 months ago Modified 2 years, 3 months ago