Skip to main content
Filter by
Sorted by
Tagged with
Advice
0 votes
6 replies
77 views

I've installed a package from a cloned repository, in "editable" mode (pip install -e .). I can't import the package in a script in the virtual environment where the package in installed (...
Cutter's user avatar
  • 1,852
Advice
0 votes
7 replies
97 views

Ok so I am the only technical person at a non-technical company. I am writing some scripts that I will be disseminating to my team. My goal is for everyone else on the team to be able to right click ...
dahallor's user avatar
Advice
0 votes
2 replies
66 views

I'm writing vim-script(s) that utilizes vim's embedded Python environment. One of these requires the Python Environment to utilize a virtual environment. Ideally for this application, vim would ...
NW_BlackDog's user avatar
0 votes
0 answers
57 views

I am running an Ubuntu 24.04 Lemp Server, and I'm not sure I fully understand pip3 and how it works. When installing certain python3-pip packages, some of them required being installed and run as root ...
DanRan's user avatar
  • 155
1 vote
1 answer
86 views

How can I create a python Virtual ENVironment (venv) such that the new venv has all of the python modules that are already installed on my system (with apt)? 🛈 Note: It's much more secure to install ...
Michael Altfield's user avatar
0 votes
0 answers
54 views

I created a virtual environment called "fastai" by conda. I tried to install ipywidgets in it by mamba install ipywidgets Then I checked it and it did exist. But when I used jupyter --...
Alex YAN's user avatar
0 votes
0 answers
108 views

I am trying to build someone else's project that relies on the virtualenv package. On Mac OS with Homebrew, the python environment is externally managed, so I can't "globally" install ...
Sam Jaques's user avatar
0 votes
2 answers
1k views

I work on a computing cluster. The global Python version on the node is 3.8. I have a virtual environment that I use when I start a job. The cluster uses LSF for scheduling. I usually access it via ...
W Charles's user avatar
1 vote
1 answer
83 views

These are the errors when I attempt to run my application: Traceback (most recent call last): File "<frozen runpy>", line 198, in _run_module_as_main File "<frozen runpy>...
Michael's user avatar
  • 113
-1 votes
1 answer
67 views

env\Scripts\activate when I want to activate my env they saying I can't cause the execution of the script its disabled and its happens to me with every file in my django folder (except the html ...
Mahmoud ElAlami's user avatar
2 votes
2 answers
145 views

I know that to activate virtualenv it's just .venv/Scripts/activate.ps1 but I was wondering if there's a way of having powershell do it automatically? Existing ones just talk about activating it, but ...
Archimedes Trajano's user avatar
1 vote
1 answer
134 views

After cloning and setting up my repo I use a poetry install When running the code, I see ModuleNotFoundError: No module named 'loguru' The package is there however: poetry add loguru The following ...
Gwilym's user avatar
  • 53
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
73 views

pre-commit is failing on all invocations due to an upstream dependency failure with virtualenv. I get the following error: [INFO] Initializing environment for https://github.com/pre-commit/pre-commit-...
Wold's user avatar
  • 972
0 votes
1 answer
83 views

I have a few DAGs that needs to run in a certain time that takes almost all the time-window it has to run before the next process is triggered. Adding the overhead of installing packages on every ...
bred81's user avatar
  • 1
0 votes
1 answer
402 views

I have created a project folder with a pyproject.toml, but I want to use the same virtualenv created in the ProjectA in ProjectB, how can I do that ? Whenever I use the poetry env use /full/path/...
ng.newbie's user avatar
  • 3,312
2 votes
2 answers
96 views

I have 2 problems. Here was my set-up. I have all of my respositories in ~/dev/, and I had all of my Python virtualenvs in ~/virtualenvs/. This worked OK, but one annoying thing was that it was ...
Ray's user avatar
  • 8,823
-1 votes
1 answer
114 views

When I run poetry run python manage.py runserver in my django backend I get this error ImportError: cannot import name 'GenericAPIView' from 'rest_framework.views' I think it is related to my poetry ...
keisler-au's user avatar
0 votes
0 answers
24 views

Python has a trouble recognizing packages. This is my current setting: Project |_ .venv |_ repo1 |_ .git |_ setup.py |_ repo1 |_ __init__.py |_ repo1.py |_ other ...
James C's user avatar
  • 210
0 votes
0 answers
45 views

Question: I am working in Cloudera Data Science Workbench (CDSW) and have created a virtual environment named "testenv". I started a session and activated my virtual environment using: ...
Bini Yoni's user avatar
1 vote
1 answer
77 views

Mac Mini M1. Hi, I am trying to setup Google Calendar API. I followed every step explained in ...see documentation When running the quickstart.py script given as sample (see here) I got errors : ...
coolmatt's user avatar
3 votes
2 answers
619 views

In Python I can create a virtual environment in VS Code with the following commands, I'll also install a kernel to the same virtual environment: python3 -m venv .venv source .venv/bin/activate pip ...
jophuh's user avatar
  • 371
1 vote
1 answer
347 views

I'm currently unable to use jupyter on my Dell laptop that runs Debian 12. I'm running jupyter lab in a python virtualenv. When I run jupyter lab I first get the following error message that is ...
Noé Mastrorillo's user avatar
0 votes
0 answers
276 views

On a fresh install of Fedora-41 with pyenv(1) setup as shown, when I execute user@fedora$ pyenv install 3.11.11, I receive the exception shown. I think this comes from the internal Python installation ...
nmvega's user avatar
  • 5,759
1 vote
2 answers
283 views

I'm trying to install Open WebUI as a portable installation, where the base folder can be moved or renamed. However, I've encountered issues making the virtual environment truly portable. While ...
intotheai's user avatar

1
2 3 4 5
151