neurolabusc / surf-ice

GLSL surface rendering source code. Compiled versions available from NITRC. Loads 3DS, CTM, DXF, FreeSurfer, GII (GIfTI), GTS, LWO2, MS3D, MZ3, NV (BrainNetViewer), OBJ, OFF, PLY, STL, VTK. Tractography formats include BFloat, PDB, TCK, TRK, and VTK. Also NIfTI format voxelwise images.
https://www.nitrc.org/plugins/mwiki/index.php/surfice:MainPage
BSD 2-Clause "Simplified" License
106 stars 23 forks source link

issue with MacOS Monterey 12.5 #36

Closed AFurryBear closed 2 years ago

AFurryBear commented 2 years ago

Hello! I really enjoyed working with surf-ice and the rich texture library it provides is always satisfying.

However recently after i updated my Mac system to Monterey 12.5 (from Big Sur), the python scripts is not working anymore. The error msg shows couldnt find python interpreter.

Due to the fact macos Monterey removed default system python2.7(There's no Framework anymore, see here, I've tried to change default python lib path in preference *.ini file to my anaconda python '~/anaconda3/lib/libpython3.8.dylib'. but it crashed immediately after running python code in scripts. Is that a problem cuz by no permission for anaconda lib?

now im wondering what could be done to fix the issue. Thank you.

neurolabusc commented 2 years ago
  1. Are you using the latest version? If not, does upgrading resolve the issue.

  2. Please copy and paste the information from the About box to provide details on the version and your installation. For example:

    Surf Ice 1.0.20211111 64-bit ARM Cocoa LLVM StaticPythonBridge 
    hw.model: MacBookAir10,1
    Version 11.6.8 (Build 20G730)
    www.mricro.com :: BSD 2-Clause License (opensource.org/licenses/BSD-2-Clause)
    PythonBridge
    Scale 90.2628
    Origin 0.4823x-18.4623x2.7279
    Mesh Vertices 57525 Faces 115050 Colors 57525
    -71.0000..71.9645  -108.7251..71.8006 -71.5471..77.0029
    Track Vertices 0 Faces 0 Count 0
    Node Vertices 0 Faces 0
    GPU Apple :: OpenGL  4.1 Metal - 71.7.1 :: GLSL 4.10
AFurryBear commented 2 years ago

Thank you!! yes, mine is the newest version. but I've solved it by rebooting my laptop. 🤣