Skip to main content
Filter by
Sorted by
Tagged with
Advice
0 votes
4 replies
122 views

I had a python program that I could not get to work until I put it in a virtual environment.  Since I use it a lot, I put the following in a zsh script: python3 -m venv ~/bin/pypath/venv source ~/bin/...
WGroleau's user avatar
  • 455
3 votes
3 answers
113 views

Calling an api. For almost all calls the response comes clean but for a few there is garbage in the returned json. Executing the garbage one in the Firefox browser with the same parameters returns ...
Clodoaldo Neto's user avatar
1 vote
0 answers
192 views

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
1 vote
2 answers
177 views

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
69 views

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
0 votes
1 answer
80 views

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
221 views

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,630
0 votes
2 answers
221 views

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
1 vote
1 answer
114 views

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
1 vote
1 answer
313 views

I need help to install a package using apt install in the Raspberry Pi using the Python version I installed using pyenv. I already tried using pip, but the installation fails. The specific package I ...
JackOA's user avatar
  • 59
0 votes
0 answers
352 views

I'm using pixi for Python in vscode. In a normal terminal I can run pixi shell and exit, just like .venv\Scripts\activate & deactivate to enter or leave the venv. But in vscode, I am forced to ...
Nor.Z's user avatar
  • 1,595
2 votes
1 answer
105 views

The native Python package venv is "recommended for creating virtual environments". I read that as saying that the Python Foundation wants users to switch from third party solutions like ...
Roofus's user avatar
  • 646
-2 votes
1 answer
174 views

I am working on a grading automation tool for programming assignments. Each student submission is run in its own isolated virtual environment (venv), and dependencies are installed from a requirements....
Ebrahim Al-Aghbari's user avatar
0 votes
0 answers
253 views

I want to use Jupyter Notebook feature. My virtual environment can run an ipykernel without issues (on code as well). When I try importing a package, it acts as if the package doesn't exist. e.g. ...
juxyper's user avatar
  • 35
2 votes
0 answers
49 views

I’ve been working on a project for a while but all of a sudden my .venv broke. Initially it created duplicates of a bunch of files inside .venv/lib, (e.g. file, file 2, file 3, ...), so I deleted the ...
theresjustnotime's user avatar
0 votes
1 answer
74 views

This is more of a where in pip could this be happening, not a question about the repos/packages. I'm building several pytorch related repos using their setup.py scripts. For example, https://github....
NorseGaud's user avatar
  • 793
0 votes
0 answers
19 views

I am using a M2 Macbook Pro. conda 24.9.2. Python 3.12. Why the command "python" is not "localized"? conda create -n f5-tts python=3.10 conda activate f5-tts which pip => /opt/...
Dustin Sun's user avatar
  • 5,540
2 votes
0 answers
43 views

My query is while switching projects how we change python interpreter to that specific project .venv shown in bottom right & the (.venv) in terminal? Situation I have project1 with .env1 as venv I ...
yashpreet's user avatar
0 votes
0 answers
129 views

I am trying to write a Python script on an Ubuntu box. I had it working fine on another box, but now I cannot get it to install some libraries. I keep getting the "externally-managed-environment&...
d0dja's user avatar
  • 11
0 votes
2 answers
928 views

I have a Python virtual environment (created with venv) kept in a directory in my project. I created it and sourced the activate script. I am sure that it worked, because my terminal prompt starts ...
Nate T's user avatar
  • 869
0 votes
0 answers
70 views

When I create a virtual environment using Venv in Visual Studio Code--either using Cmd + Shift + P or via the command line--I notice the following prompt in the integrated Zsh terminal: .venvusername@...
butterfly_2478's user avatar
2 votes
0 answers
124 views

Is there a way to activate a Python venv with one command that works on Windows and Unix? The standard commands are: Windows: venv\Scripts\Activate.ps1 Unix: source venv/activate (There's a handy ...
Timmmm's user avatar
  • 99.1k
0 votes
2 answers
217 views

I have a problem, with django and apache (mod_wsgi), I get the browser error "too many redirects". Here my files and apache configuration project tree ├── db.sqlite3 ├── djangoProject │   ├──...
luna80's user avatar
  • 153
-1 votes
2 answers
72 views

I get the ModuleNotFoundError: no module named 'mysql' error when I run a Python script. I am a novice to Python programming. The mysql-connector was installed via environment (python3 -m venv env). ...
cabwav's user avatar
  • 15
8 votes
2 answers
6k views

On a Windows machine, I'm developing a Python project that I manage using uv. I run the unit tests with uv run pytest, and uv automatically creates a virtual environment in .venv. So far, so good. But ...
Martin's user avatar
  • 411

1
2 3 4 5
32