How to upgrade existing python env 3.7.13 into python 3.8 in Isaac Sim - Standalone python application


I am trying to create a physics simulation of a robot, where I am attempting to use my own controllers. To achieve this, I am using the python bindings.

During the execution of the script, where I have imported the python bindings, I encounter the following error:

ImportError: Python version mismatch: module was compiled for Python 3.8, but the interpreter version is incompatible: 3.7.13 (default, Mar 28 2022, 19:19:54) 
[GCC 7.3.1 20180303 (Red Hat 7.3.1-5)].

Based on this error, I understand that Isaac Sim provides a built-in Python 3.7.13 environment by default. Now, I want to upgrade this environment or parallelly install Python 3.8 version without creating a conda environment. Is it possible? If yes, how can I do this?

I have followed this link, but couldn’t find much details.

1 Like

In continuation of the same discussion, I attempted to create the virtual environment using conda by modifying the environment.yml file to include python=3.8. However, it did not work.

Therefore, my question now is: is it not possible to run the Isaac-Sim python application on a python version higher than 3.7?

please let me know about this, if it is possible ?

Hi @ksu1rng

The current Omniverse Python environment is 3.7. So, it is not possible to run compiled code or use another Python environment with different minor version (e.g. 3.8, 3.9, etc.). More info here: ImportError: Python version mismatch

This post offer more details about other Python versions:

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.