Questions tagged [virtualenv]
virtualenv is a tool that creates sandboxed Python environments.
virtualenv
7,529
questions
0
votes
1
answer
32
views
python ModuleNotFoundError on conda environment
I am trying to use the Open Motion Planning Library in a conda environment.
I think that this issue is caused by the conda virtual environment not playing nicely with my setup somehow, but I have no ...
0
votes
1
answer
41
views
When I run Python code using virtual environment from terminal, it fails vs. running from within IDE
From within Visual Studio Code [1.91.1] on my Raspberry Pi 4 Model B, running Debian 12, the code runs successfully when I start with Main.py using "Run and Debug". I have installed all of ...
0
votes
0
answers
22
views
When using Google Colab, Python package 'datasets' just disappeared from virtualenv directory 'site-packages'
I'm using Google Colab and trying make a virtual environment to work.
My code is:
from google.colab import drive
drive.mount('/content/drive')
!pip install virtualenv
myenv_dir = '/content/...
0
votes
0
answers
20
views
MongoDB Atlas CLI: atlas command not found
I am trying to use MonngoDB Atlas CLI. I have installed Atlas in a Ubuntu virtual environment following the official documentation. Apparently everything works. However, if I close and reopen the ...
1
vote
0
answers
22
views
Python Pycharm virtualenv cant add new virtualenv
I made some tests with multiple virtualenv Environment in Pycharm Professional Version 2024.1.1.
Now im stuck with the Problem, that I cant make a new Virtualenv anymore, because all i get is this ...
0
votes
1
answer
49
views
Error in PyCharm: Package requirement 'Django==5.0.7' is not satisfied
I'm trying to set up a Django project in PyCharm, but I keep encountering the following error:
Package requirement 'Django==5.0.7' is not satisfied
I have already tried the following steps:
Ensured ...
2
votes
1
answer
64
views
Should I put Django venv directory in .gitignore?
In my book Python Crash Course 2nd edition it is recommended to put ll_env (venv directory) in .gitignore.
It says, "We tell Git to ignore the entire ll_env directory, because we can re-create
it ...
0
votes
0
answers
26
views
How do I get Jupyter Notebook to work with Python 3.10 installed on my PC?
The situation: I need to use Python 3.10 specifically for some project. (instructions below) With it, I have to run a file with jupyter notebook. However, after downloading python 3.10, I cannot seem ...
-2
votes
1
answer
33
views
problem activating virtual env inside project folder using poetry: cannot deactivate current virtual env
I have a global virtual env (my_env) and have been developing all my projects in it. Now I have developed a new project, also in my_env, and I want to use poetry to create a new, project-specific env ...
0
votes
0
answers
20
views
Conda Virtual Environment Display Issue in Terminal Prompt ~ZSH
I'm experiencing a display issue with my Conda virtual environment in the terminal . The environment name that is rendered strangely on the right side of each line is not correct i expect to show base ...
0
votes
1
answer
59
views
How to manage multiple python virtual environments in a single VS Code project?
I'm working on a Python project in Visual Studio Code that consists of two separate sections, each with its own virtual environment. One environment is for my REST API, and the other section is for my ...
0
votes
0
answers
17
views
Envs Directories on Anaconda
I installed anaconda on D-drive, but it does have its folders in C drive in these locations - inside C:\Users\grelnob\.conda and C:\Users\grelnob\AppData\Local\conda
Here is the location of the envs ...
0
votes
0
answers
39
views
venv is activated but pip installing still goes in default and python does not see the lib in sourcecode
in vscode in terminal shell typing "which python" shows default path:
C:\Users\erjan\AppData\Local\Programs\Python\Python311\python.exe
(my_venv)
but (my_venv) means my venv is active, i ...
1
vote
2
answers
92
views
What if I forgot to activate virtual environment working on Django project? [duplicate]
I have been working on a Django project in Python Crash Course 2nd edition.
In the book it was said that I need to create virtual environment and that I need to activate it every time. I did create it ...
0
votes
0
answers
38
views
How to make a 64bit Python interpreter safely available to a Virtualenv in PyCharm if only a 32bit Python version is installed on my machine?
I have Python 3.8.1 as 32 bit version installed on a machine running Windows 10 Pro 64 bit. I am now using PyCharm and created a virtual environment (VE) using Virtualenv. From there, I only have ...