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

VTK version mismatch #5

Open
LordGorgon opened this issue May 31, 2024 · 1 comment
Open

VTK version mismatch #5

LordGorgon opened this issue May 31, 2024 · 1 comment

Comments

@LordGorgon
Copy link

I am struggling to run simulations for asap due to a VTK library mismatch. Here's the error message I get:

> (asap) python test_sim/test_simple_sim.py --model box/box_stack --steps 2000
Traceback (most recent call last):
  File "test_sim/test_simple_sim.py", line 8, in <module>
    import redmax_py as redmax
ImportError: dlopen(/Users/me/anaconda3/envs/asap/lib/python3.8/site-packages/redmax_py-0.0.1-py3.8-macosx-10.9-x86_64.egg/redmax_py.cpython-38-darwin.so, 2): Symbol not found: _PyCMethod_New
  Referenced from: /usr/local/opt/vtk/lib/libvtkWrappingPythonCore3.11-9.2.1.dylib
  Expected in: flat namespace
 in /usr/local/opt/vtk/lib/libvtkWrappingPythonCore3.11-9.2.1.dylib

I'm using an i9 Mac. I was able to built the asap environment. What version of VTK is being used? I am struggling to find a VTK version that is compatible with python 3.11

@yunshengtian
Copy link
Owner

On my local computer I have this version:

==> vtk: stable 9.2.6 (bottled)

I haven't met such issue so I'm not sure how helpful this is.

Another workaround might be trying a new anaconda environment with python3.7/3.8/3.9 installed. I haven't tested on python 3.11 yet.

Let me know how it goes!

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

2 participants