Open HongliXiao opened 1 year ago
Which version of TDW have you installed? Have you followed the installation instructions here? Also, which system are you using? If I remember correctly, the physics engine TDW uses for non-rigid bodies is only supported by Windows
The TDW I installed is the latest version 1.11.23. There should be nothing wrong with the tdw_physics I installed. The system I use is Windows 11.
I guess the problem may be related to TDW. There is no FluidTypes class in the latest version of TDW library.
The code "from tdw.flex_data.fluid_type import FluidType" can call the FluidType class of the new version of TDW, but its usage method is different from the previous FluidTypes. Can you help me figure out what to do?
Could you try to install TDW version 1.8.8.0? v1.9.12 changed some things with regards to fluids. When you change your install to the 1.8.8.0 version of TDW, please make sure that it downloads a fresh build rather than using the one it has previously downloaded.
When I tried to run "drape.py", there is an error in line 19: from tdw.flex.fluid_types import FluidTypes
Traceback (most recent call last): File "f:/Research/3D/Physion/physics-benchmarking-neurips2021-master/stimuli/generation/controllers/drape.py", line 19, in
from tdw.flex.fluid_types import FluidTypes
ModuleNotFoundError: No module named 'tdw.flex'