Installing with alternate Python version #5964
Unanswered
AndroxxTraxxon
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm attempting to install Stackstorm using Python3.11 as its runtime version in CentOS/Rocky. However, all the install scripts (default appear to install Python using Yum's python3-devel package.
Does anyone know where I might alter the installation process to switch the python version? At the moment, it seems like the easiest way to do this might just be to build my own version of the
python3-devel
package with the python version I want so that theyum
dependencies still resolve in the expected way.I'm aware that there will be python package version issues after making this change, but I'm trying to take this one step at a time.
Additionally, I'm aware that there is a configuration option that lets you manage the python version for packs, which almost gets to what I want, but fails any time you try to run a Sensor with the following error (running the example Sensor on the "making a pack" tutorial):
Basically, I gather from this that Python3.6, which is being run by the st2sensorcontainer, is attempting to evaluate the python3.11 virtualenv, and in doing so is running into basic python builtin lib conflicts.
in light of this, I'd really like to attempt running with Python3.11, or find a way to alleviate this cross-version environment evaluation
Beta Was this translation helpful? Give feedback.
All reactions