python-venv

Cannot make Virtual Envoirment

Cannot make Virtual Envoirment Question: I have been following all the steps VSC’s tutorial ia giving me but i keep running into this error py : The term ‘py’ is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was …

Total answers: 1

Windows, Python, VENV, and Sublime Text Build systems: Path Error When Activating VENV

Windows, Python, VENV, and Sublime Text Build systems: Path Error When Activating VENV Question: Okay, I’ve looked through a bunch of python venv with sublime text questions, and I’m pretty sure this issue is due to the specifics of venv on windows. I’m on Windows, using Python 3.10, and the virtualenv package to manage my …

Total answers: 1

What do the 2 venvs mean in the console

What do the 2 venvs mean in the console Question: Why are there 2 venvs in parenthesis? I couldn’t find anything on google about what having 2 venvs means. Asked By: carrizal || Source Answers: Try deactivating the current venv with deactivate You might have started a virtual environment in a virtual environment, therefore the …

Total answers: 1

virtualenv not activated on windows 11

virtualenv not activated on windows 11 Question: Im using python 10 and windows-11 i try to activate venv with the following command .onlineShopScriptsactivate.bat I create venv using following command python -m venv onlineShop My pip list Package Version ———— ——- distlib 0.3.4 filelock 3.6.0 pip 22.0.4 platformdirs 2.5.2 pyaes 1.6.1 Pyrogram 2.0.17 PySocks 1.7.1 setuptools …

Total answers: 2

creating python virtual env on Linux

creating python virtual env on Linux Question: I’m new to Linux environment where i need to create a virtual environment for my project. As this is a development machine i will not have access like i used to have in my own machine. I tried running the below commands : python3 -m venv env But …

Total answers: 2

How can I list all the virtual environments created with venv?

How can I list all the virtual environments created with venv? Question: Someone’s just asked me how to list all the virtual environments created with venv. I could only think of searching for pyvenv.cfg files to find them. Something like: from pathlib import Path venv_list = [str(p.parent) for p in Path.home().rglob(‘pyvenv.cfg’)] This could potentially include …

Total answers: 2

VS Code: Python Interpreter can't find my venv

VS Code: Python Interpreter can't find my venv Question: I’ve been stuck on this for a few days, kindly help me if you can. I have my venv folder on my root project folder. When I try to set the Python Interpreter, it shows me only the Python installed in my machine and not the …

Total answers: 6