Python code missing in the packaging of STLIB (release versions)
Hi
Current packaging of STLIB is not working as the python code is not included in the packaging. In some old version of this packaging v21.06.03, in STLIB/lib/ there was a folder "python3/site-packages" that included the python code... Is it possible to put it back ?
Yes :)
Hi, I have encounter a similar problem when using the first step tutorial file. And I can not find the ShowGrid object in the directory.
Here is my detailed log:
[SofaPython3::SceneLoader] Unable to completely load the scene from file '/xxx/SOFA_robosoft2022_python-3.8_Linux/plugins/SoftRobots/docs/sofapython3/tutorials/FirstSteps/myproject/mystep1.py'.
Python exception:
ImportError: cannot import name 'ShowGrid' from 'stlib3.visuals' (/xxx/SOFA_robosoft2022_python-3.8_Linux/plugins/STLIB/lib/python3/site-packages/stlib3/visuals/init.py)
At:
mystep1.py(2):
Thanks! @damienmarchal
Hi all,
Thank for reporting these issues. Normally all that should be fixed for the next 22.06 release of Sofa. If you have some time to help, you can currently download the pre-release to check that this error is fixed. Check the v22.06 files at this page (the one with beta3, beta4 in there filename.) https://github.com/SofaDefrost/DefrostSofaBundle/releases
Thanks a lot! @damienmarchal The new version has fixed this issue!