virtualenv
virtualenv copied to clipboard
Virtual Python Environment builder
In Fedora, we are currently trying to come up with a safe approach that will make `sudo pip` and similar install to /usr/local rather than /usr. After years of only...
**Issue** When making a virtualenv using `virtualenv -p python3.8 ./venv` virtualenv claims that the virtual environment is ready. Run `source ./venv/bin/activate` which will also work. Then attempt to run `python3...
Broken environment built via `virtualenv venv` with scheme `posix_local` in Debian testing bookworm
**Issue** Debian has set the sysconfig default scheme from `posix_prefix` to `posix_local`(https://lists.debian.org/debian-python/2022/03/msg00039.html). And when `posix_local` being chosen, the default `./venv/bin/activate` is set to `./venv/local/bin/activate` -- AND, it is BROKEN. Reproduce:...
We don't have official conda support, but things kinda worked. This is no longer the case post #1976. Seems conda copies the venv module into its environments, and it's a...
**Issue** Using `venv` as creator - `virtualenv --creator=venv myenv` - creates a broken virtual environment on Ubuntu 22.04. It produces two different activate scripts, one in `myenv/bin` and one in...
Suddenly getting the below with the latest virtualenv 20.15.0 This is on a work jenkins build so I am unable to provide any more details / logs than below. Hopefully...
Per @balopat: Yeah, this is still an issue - https://github.com/pypa/virtualenv/issues/480#issuecomment-285003214 is the right direction. Easy to reproduce: 1. activate virtualenv 2. `exec fish` 3. activate virtualenv again Fix: before `exec`,...
**Issue** Unable to create a virtualenv with `python3.10 -m virtualenv .venv`. `-m venv .venv` works to create an environment, but `pre-commit` uses `-m virtualenv` internally. **Environment** Provide at least: -...
**Issue** When calling zipapp version of virtualenv with `--seeder=pip` to download the latest packaging tools from PyPi, it works fine on Ubuntu, but fails on macOS with a runtime error:...
based on feedback https://github.com/pypa/virtualenv/pull/1481#discussion_r363312122 from @asottile > right, but now it can't work with single quotes within the path -- using pipes.quote when substituting will make both of them work...