Open YousufSSyed opened 1 year ago
venv
works for virtual environments (as long as you stick to pure Python packages):
python -m venv env
,source env/bin/activate
to activate the new environment,deactivate
to deactivate the environment.Would it be possible for you / A-Shell to provide python versions to download onto the app after installing it?
No, that is the main issue: anything that is a binary (a command or a dynamic library) has to ship with the app. Only non-executable files can be downloaded after the installation.
How come its possible to install pip packages but not python vesions like that?
pip in a-Shell only works with "pure Python" packages, packages that only include Python files. If you try to pip install packages with dynamic libraries, C files or Cython files, you will see a failure as well.
So it wouldn't be possible to precompile Python for A-Shell and then enter commands to download them from a mirror?
I want to see if I can install Pywb, but it doesn't work on 3.11.