Problems using prebuilt python package #151
Replies: 6 comments 11 replies
-
Typically the scene files are installed in a data/Scenes subfolder in your Python directory. Can you check if the directory exists? |
Beta Was this translation helpful? Give feedback.
-
Btw. how did you start the simulation? By the command "splash"? |
Beta Was this translation helpful? Give feedback.
-
Do you have multuiple Python installations? It seems that the paths are somehow wrong. |
Beta Was this translation helpful? Give feedback.
-
I just wonder if your system mixed up both installations. Since you mentioned that you installed the module using pip, but then python did not find the module. So maybe pip was from one Python installation and python from the other one. Just a guess. |
Beta Was this translation helpful? Give feedback.
-
Typically, you install pysplishsplash using pip, and start the example using python. pip and python should be from the same Python installation. We do not maintain the code for Python 2.7. So you should use a current Python version. |
Beta Was this translation helpful? Give feedback.
-
I really cannot reproduce your problems. Typically you install the module and the examples can load the module. Are you able to execute the "SPHSimulator.py" example with the path of a scene file as argument? |
Beta Was this translation helpful? Give feedback.
-
Hello,
I installed the pre-built Python package on linux in a virtualenv,
However I get path errors when trying to execute the examples,
When I try to instead use a custom scene file (I just copied
empty.json
into a local file calledscene.json
) and then build the scene using the other example, I get a different error (the base object has no getScene method).Any pointers welcome :)
Beta Was this translation helpful? Give feedback.
All reactions