taichi_mpm icon indicating copy to clipboard operation
taichi_mpm copied to clipboard

AttributeError: module 'taichi' has no attribute 'dynamics'

Open eaglex-sh opened this issue 5 years ago • 7 comments

The problem occurs when I run the script under the /mls-cpic

eaglex-sh avatar Nov 19 '19 12:11 eaglex-sh

Hi @guodewen , are you following this (https://taichi.readthedocs.io/en/latest/installation.html#ubuntu-arch-linux-and-mac-os-x) to install the legacy taichi? You might have used a version of taichi that is too new.

yuanming-hu avatar Nov 19 '19 14:11 yuanming-hu

Hi, sir. I followed the instructions on the web page, and there is an error I don't know how to fix.

assert os.path.exists(os.path.join(bin_dir, 'libtaichi_core.dylib'))

AssertionError Error: installation failed.

Then, I rerun the script

python3 install.py

And it occurs

Existing taichi installation detected. Please remove existing taichi installation in

eaglex-sh avatar Nov 20 '19 10:11 eaglex-sh

I have the same problem on a linux install... libtaichi_core is not being built apparently?

MrBurnst avatar Dec 18 '19 07:12 MrBurnst

Hi guys,

Could you ls your taichi/build folder and share the results?

yuanming-hu avatar Dec 18 '19 19:12 yuanming-hu

... I don't get one - running the setup script does not generate a taichi build. and when I git pull the legacy branch I am unable to build it - I tried downgrading llvm to 8.0, python3.5 and 3.7, nothing works :/ last thing I got when building was

pybind11.h:1010:9: error: no matching function for call to 'operator delete'

in lib/python3.7/site-packages/taichi/lib I have libdevice.10.bc libtaichi_core.so runtime_cuda.bc runtime_x86_64.bc taichi_core.so

  • libtaichi_core.so points to taichi_core.so

MrBurnst avatar Dec 18 '19 21:12 MrBurnst

Hi @MrBurnst , please see here: https://github.com/yuanming-hu/taichi/issues/312

yuanming-hu avatar Dec 19 '19 20:12 yuanming-hu

Hello, I am having the same problem with several scripts. I followed the instructions to install the legacy version. the ls is: CMakeCache.txt libccd.so libpartio.so Makefile CMakeFiles libccd.so.2 libtaichi_core.so projects cmake_install.cmake libccd.so.2.0 libtaichi_mpm.so taichi_core.so

uljad avatar Jul 06 '20 01:07 uljad