[Neuroimaging] pysurfer installation issue with python3 [Library not loaded: @rpath/libtbb.dylib]

Rolando Masis-Obando rolandomasisobando at gmail.com
Wed Jul 7 16:57:53 EDT 2021


Hello,

I am unfortunately having trouble installing pysurfer on a mac Sierra
10.12.6

I've installed anaconda navigator to get all the dependencies working. I've
tried multiple different python versions and still no luck. To keep things
simple, I would like help with installing psyurfer on python 3.6. I used
these instructions
https://gist.github.com/danjgale/4f64ca81f5e91cc0669d0f744c7a9f82 to
install until I hit a roadblock.

This is the error I get:





































*>>> import vtkTraceback (most recent call last):  File
"/Users/amennen/anaconda3/envs/pysurfer/lib/python3.6/site-packages/vtkmodules/vtkCommonCore.py",
line 5, in <module>    from .vtkCommonCorePython import *ImportError:
dlopen(/Users/amennen/anaconda3/envs/pysurfer/lib/python3.6/site-packages/vtkmodules/vtkCommonCorePython.so,
2): Library not loaded: @rpath/libtbb.dylib  Referenced from:
/Users/amennen/anaconda3/envs/pysurfer/lib/libvtkCommonCorePython36D-8.2.1.dylib
Reason: image not foundDuring handling of the above exception, another
exception occurred:Traceback (most recent call last):  File "<stdin>", line
1, in <module>  File
"/Users/amennen/anaconda3/envs/pysurfer/lib/python3.6/site-packages/vtk.py",
line 32, in <module>    all_spec.loader.exec_module(all_m)  File
"/Users/amennen/anaconda3/envs/pysurfer/lib/python3.6/site-packages/vtkmodules/all.py",
line 7, in <module>    from .vtkCommonCore import *  File
"/Users/amennen/anaconda3/envs/pysurfer/lib/python3.6/site-packages/vtkmodules/vtkCommonCore.py",
line 9, in <module>    from vtkCommonCorePython import *ImportError:
dlopen(/Users/amennen/anaconda3/envs/pysurfer/lib/python3.6/site-packages/vtkmodules/vtkCommonCorePython.so,
2): Library not loaded: @rpath/libtbb.dylib  Referenced from:
/Users/amennen/anaconda3/envs/pysurfer/lib/libvtkCommonCorePython36D-8.2.1.dylib
Reason: image not found*

I've added the vtkmodules to the path:

>>> echo $PYTHONPATH

:/Users/amennen/anaconda3/envs/pysurfer/lib/python3.6/site-packages/vtkmodules


Does anyone have an easy way to install pysurfer? Unfortunately, I have not
had a lot of luck installing pysurfer on different computers, the issues
that come up are slightly different every time. Any help would be deeply
appreciated!

Thank you so much!

Best,
Rolando
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.python.org/pipermail/neuroimaging/attachments/20210707/05ba119d/attachment.html>


More information about the Neuroimaging mailing list