a-shell icon indicating copy to clipboard operation
a-shell copied to clipboard

Pyvenv: Unable to enter virtual environment

Open PlatyPew opened this issue 4 years ago • 1 comments

Currently, as far as I know, there’s no way to source the activate file in the virtual environment.

PlatyPew avatar Jun 18 '20 01:06 PlatyPew

Hi, build 211 (currently on TestFlight: https://testflight.apple.com/join/WUdKe3f4 ) has virtual environments working for Python. It's built upon venv, but not exactly identical: only user-installed packages are in the virtual environment, system packages are shared between all environments (and pip is not renitialized).

Syntax is the usual: python -m venv virtualEnvironment, followed by source virtualEnvironment/bin/activate to activate the new environment, deactivate to deactivate the environment.

holzschu avatar Jan 18 '22 10:01 holzschu