I think I've asked this before but is there any ex...
# general
a
I think I've asked this before but is there any existing way to take a pex and install all of its dependencies to the system Python, rather than having to create a virtual environment linked to system Python?
b
I'm not sure of the answer, but to answer it I'd explore the
pex3
CLI. I'd be looking for something like: a way to export wheels to a directory/repository, that can be installed with
pip install ...
like normal, but there may be other options. That said, can you explain a bit more background about why you want to avoid a venv?
a
2 reasons: 1. We're in a docker image and I just want everything installed at the system level. 2. The current reason I'm looking into this again is because I'm trying to find a way to take the dependencies from a pex and install them into a conda environment, which has a bunch of
.so
files that become inaccesible for reasons I have not been able to discern yet once you activate a virtual environment.