Python package shapely - version conflict

I saw that shapely is part of the default python environment in Isaac Sim. It seems with Isaac Sim 2022.2.1 the shapely version went up from 1.8.2 to 2.0.1.

I am creating an extension that relies on a python library that will use shapely version 1 only. Do you have any recommendation how to resolve this?

It would also be interesting to know which Omniverse extensions actually use shapely.

Thanks much
Bruno

Hi @bruno.vetter - Shapely is not provided by the Omniverse python environment. There is no easy solution but if you pip install two versions of the same package, you will be able to try and import python and it will always import the newer one.

Reference doc: linux - Force python to use an older version of module (than what I have installed now) - Stack Overflow

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