Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
eaglex-sh opened this issue Nov 19, 2019 · 7 comments
Open

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

eaglex-sh opened this issue Nov 19, 2019 · 7 comments

Comments

@eaglex-sh
Copy link

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

@yuanming-hu
Copy link
Owner

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.

@eaglex-sh
Copy link
Author

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

@MrBurnst
Copy link

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

@yuanming-hu
Copy link
Owner

Hi guys,

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

@MrBurnst
Copy link

MrBurnst commented Dec 18, 2019

... 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

@yuanming-hu
Copy link
Owner

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

@uljad
Copy link

uljad commented Jul 6, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants