1,549 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
71
views
I installed pynmea2, but I'm getting 'module not found'
I have created a virtual environment on my RPI CM4 and installed pynmea2.
However, using any of the methods I have found for activating it inside a python script, the import pynmea2 always fails with ...
1
vote
0
answers
175
views
Jupyter/VSCode does not recognize pip from .venv despite being properly installed
EDIT: the issue is resolved (kinda). Check GitHub discussion. It turns out that there are possibly two problematic factors. First (my case), the newest version of Jupyter extension. When I switched ...
-3
votes
0
answers
63
views
Py-Charm ignores packages in venv
I have a Python project. I tried to create a virtual environment both through Py-Charm console and through project settings.
Problem:
In the code, after installing the libraries, Py-Charm still ...
1
vote
0
answers
42
views
Python virtual environment activated with incorrect path windows
I created a Python virtual environment on Windows, but when the virtual environment is activated, my Python path still references my global Python.
PS C:\PATH_TO_PROJECT> cmd
Microsoft Windows [...
1
vote
2
answers
171
views
How can I create a Python venv within a Bash script and then activate it immediately, all from a VS Code profile's settings.json?
I have this profile settings.json:
{
"terminal.integrated.profiles.osx": {
"python-venv": {
"path": "/opt/homebrew/bin/bash",
...
0
votes
1
answer
72
views
Pycharm 2025.2 pro WSL interpreter not running [closed]
I have created a venv interpreter using python -m venv venv and another using poetry
I pointed pycharm to these interpreters (separately), and it claims to see them
Then, running the simplest program ...
0
votes
1
answer
66
views
How can one python script launch another python script using a different virtual environment?
I have researched this question and found Running subprocess within different virtualenv with python, but my situation is a little different.
I have an astrophotography application which I run on ...
1
vote
1
answer
103
views
Import "llama_index.llms.ollama" could not be resolved
I have the following imports for a python file thats meant to be a multi llm agent soon. I wanted to use llama_index and I found a nice video from Tech with Tim which explains everything very well. I ...
0
votes
1
answer
76
views
conda activate venv is not working on vscode
I have installed vscode and miniconda(python version 3.13.5). Also I have created my virtual environment by the command "conda create" where python version is 3.10.1.
I am facing an issue ...
0
votes
0
answers
287
views
ERROR: Will not install to the user site because it will lack sys.path precedence ... using venv inside docker
I am having troubles building docker from ubuntu:24.04, Python version 3.12.3 and pip 25.1.1.
Since the recent (I think) defualt pip behavior throwing
error: externally-managed-environment
when ...
0
votes
0
answers
209
views
VS Code doesn't open Python virtual environment
I'm using Python 3.13.5 with VS Code 1.102.0 on Ubuntu 24.04.2. With VS Code updates, there were often problems with opening venv environment, but usually reloading VS Code was sufficient to make it ...
1
vote
1
answer
2k
views
Activate uv environment - venv mismatch
I am trying to set up an environment in VS Code for a Python project using uv on Ubuntu.
I have tried different sequences of actions but without success. Here is the latest one:
uv init
uv venv
source ...
0
votes
2
answers
195
views
How to prevent VS Code from importing global Python env site-packages when using pixi venv?
situation
I created a new Python project with pixi venv.
I have this isolated venv, including Python.
I installed pandas etc.
I didn't install plotly etc.
I have Python installed globally.
The ...
-5
votes
3
answers
5k
views
How to install uv when I already need an virtual environment to install it?
I want to set up a new Python project and use uv for package management. I don't have it installed on my global system, so I can't initialize an virtual env with
uv venv
The only solution I see now ...
1
vote
1
answer
113
views
How do I install a python-based CLI from a venv globally?
I'm developing a CLI application with Python and I can install it with pip install -e . for an editable install, however this installs it only in the virtual environment.
I can't access the CLI from ...