Open Openuser87 opened 2 months ago
Seems that happens with any version, except for default version 3.7. Also python
command itself is not found:
wenv python --version
Unknown command or script: "python"
With default version, wenv init
shows an error:
ERROR: This script does not work on Python 3.7. The minimum supported Python version is 3.8. Please use https://bootstrap.pypa.io/pip/3.7/get-pip.py instead.
Nevertheless, after that, python
command seems to work:
wenv python --version
Python 3.7.4
But pip
does not:
wenv pip list
Unknown command or script: "pip"
If you're setting an option via an environment variable the way you do it, every subsequent command must be prefixed with mentioned environment variable, e.g. WENV_PYTHONVERSION=3.12.4 wenv pip install foo
. Alternatively, you can of cause alter this option also via configuration files etc.
Thank you, that works!
Ways to persist:
export WENV_PYTHONVERSION=3.12.4
).wenv.json
in the directory where you execute wenv
:
{
"pythonversion": "3.12.4"
}
Could this possibly be emphasized a little more in the official documentation?
Sure, this can be done.
Trying to set up wenv on Fedora 39, wine 9.1.
Installation seems to run well:
But trying to execute a
pip
command yields:How could this be fixed?