About 153,000 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. How to create a Python 2.7 virtual environment using Python 3.7

    The venv module was introduced in Python 3.3, so you cannot use it to create virtual environments with python 2.7. You could use the virtualenv package which is a superset of venv.

  4. Where do I put my python files in the venv folder?

    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 …

  5. virtualenv - I am trying to create a virtual environment in python but ...

    Dec 4, 2020 · Assuming that you are using Python 3, you can follow the below steps to create and activate Python environment: To create environment: python -m venv path/to/virtualenv

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

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

  7. Cannot properly create a virtual enviroment in Python 3.12

    Oct 4, 2023 · Cannot properly create a virtual enviroment in Python 3.12 Asked 2 years, 2 months ago Modified 2 years, 1 month ago Viewed 43k times

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

  9. python - Creating a virtualenv with preinstalled packages as in ...

    Jan 23, 2017 · Creating a virtualenv will create a virtual python environment with preinstalled pip, setuptools and wheels. Is there a way to specify what packages to pre-install in that virtualenv apart …

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