Skip to main content
-1 votes
0 answers
123 views

I installed pynmea2, but I'm getting 'module not found' [closed]

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 ...
davesedar's user avatar
1 vote
0 answers
180 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 ...
Soren V. Raben's user avatar
-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 ...
Kirill Prime's user avatar
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 [...
Apostla's user avatar
  • 127
1 vote
2 answers
173 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", ...
Kenny83's user avatar
  • 931
0 votes
1 answer
86 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 ...
Gulzar's user avatar
  • 28.7k
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 ...
Steve Cohen's user avatar
  • 4,909
1 vote
1 answer
109 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 ...
Joshie's user avatar
  • 23
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 ...
Debabrata Bardhan's user avatar
0 votes
0 answers
309 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 ...
cast's user avatar
  • 21
0 votes
0 answers
211 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 ...
Paul Jurczak's user avatar
  • 8,585
1 vote
1 answer
2k views

Activate 'uv' environment - 'venv' mismatch

I am trying to set up an environment in Visual Studio 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 ...
shamalaia's user avatar
  • 2,391
0 votes
2 answers
202 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 ...
Nor.Z's user avatar
  • 1,595
-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 ...
kerf's user avatar
  • 3
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 ...
1j01's user avatar
  • 4,298

15 30 50 per page
1
2 3 4 5
104