7,515 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
Score of 0
1 answer
113 views
Creating a conda env within windows subsystem for linux
I have just started using windows subsystem for linux. I have a yml file that i am using to make the env proteomics_skani, called from within WSL, with the yml file living in my windows filesystem:
...
- reputation score 758
Tooling
0
votes
2
replies
83
views
Is there any way to reduce the size of my virtual env
Is there any way to reduce the size of my virtual environments - I have a relatively simple django website - the most complex parts are probably using weasyprint to save a page as PDF, and using the ...
- reputation score 9782
Advice
0
votes
1
replies
38
views
.venv not activating on vsc linux
mansur@mansur:~/Documents/CS$ source /home/mansur/Documents/CS/.venv/bin/activate
bash: /home/mansur/Documents/CS/.venv/bin/activate: No such file or directory
I switched to linux like 1 month ago ...
- reputation score 1
Tooling
0
votes
0
replies
131
views
VSCode; RemoteSSH; Python; venv; .env - LD_LIBRARY_PATH
I feel sure I'm overlooking something fairly obvious...
I am using VSCode (1.109.5) on Windows with Remote SSH(0.122.0) to a Debian (12 Bookworm) remote server. I doubt the versions are especially ...
- reputation score 2086
Score of 0
0 answers
33 views
Python virtualenv with sync
I use python with virtual environments on manjaro linux.
I install the package python-virtualenvwrapper, then I added
export WORKON_HOME=$HOME/.virtualenvs
export VIRTUALENVWRAPPER_PYTHON=/usr/bin/...
- reputation score 11
Score of 1
2 answers
83 views
Django startproject fails after I manually created the project files/folders (name conflict?)
I’m setting up a Django + Channels project and I think I messed up the order.
I ran these commands:
cd ~
mkdir social_mvp
cd social_mvp
mkdir socialsite
mkdir core
mkdir -p core/templates/core
mkdir -...
- reputation score 35
Score of 3
2 answers
407 views
Build wxPython in a virtual environment, Python 3.14 Debian 13
I am trying to build wxPython in a virtual environment. Debian 13 does not come with Python 3.14. I have installed Python 3.14 in a virtual environment. I have installed the dependencies and it seems ...
- reputation score 620
Score of 1
1 answer
185 views
Pip wont let me install user local packages with --user any more, shows externally managed env error [duplicate]
I have used --user in the past to not have to deal with virtualenvs in the past, but I cant seem to do it now, presumably on a different python version..
$ pip install --user esphome
error: externally-...
- reputation score 32112
Advice
0
votes
7
replies
139
views
How to import an editable package?
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 (...
- reputation score 1891
Advice
0
votes
4
replies
210
views
python3.14 returns error but output is still correct
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/...
- reputation score 455
Advice
0
votes
7
replies
170
views
Is it possible to auto select a Python venv without using the terminal or VSCode?
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 ...
- reputation score 31
Score of 1
1 answer
119 views
Not able to build opencv manually in python env
I am trying to build opencv from it's github repo manually and use it in the virtual python environment. I am unable to import opencv.
Previously I got the error as mentioned Here. The solution is to ...
- reputation score 13
Advice
0
votes
3
replies
115
views
Vim 9.1 & Python Virtual Env
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 ...
- reputation score 51
Score of -3
1 answer
114 views
ModuleNotFoundError: No module named 'kiwisolver' -- yet Requirement already satisfied: kiwisolver in /usr/lib/python3/dist-packages (1.3.2) [duplicate]
I can run a config software from a virtual environment that ends up with the following error:
File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module
return ...
- reputation score 2179
Score of 0
0 answers
98 views
How to safely fix and migrate pip3 packages installed and run using sudo/root/local users to a safe pip3 virtual environment (venv)?
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 ...
- reputation score 155