equinor / komodoenv

Komodoenv is the virtualenv of the Komodo world
GNU General Public License v3.0
1 stars 3 forks source link

Komodoenv does not find the correct python when using rhel8 and python 3.11 #63

Closed larsevj closed 5 months ago

larsevj commented 5 months ago

Describe the bug When creating a komodoenv with a komodo built for rhel8 and python3.11, the associated python defaults to the system python3.6.

Additional context A workaround here seems to be to explicitly specify python3.11 instead of writing merely python (see below), but maybe a better solution can be found. subprocess.check_output( [ str(self.srcpy.executable)+str(self.srcpy.version_info[0])+"." + str(self.srcpy.version_info[1]), "-m", "venv", "--copies", str(self.dstpath / "root"), ], env=env, )