TotalSegmentator icon indicating copy to clipboard operation
TotalSegmentator copied to clipboard

missing Xvfb on newer Macs

Open dieserobin opened this issue 2 years ago • 1 comments

When trying to create preview files on a MacBook (OSX 13.2.1 running a jupyter notebook with python 3.10) I got an error telling me that Xvfb could not be found. The solution is quite simple. Apple stopped shipping Xvfb a while ago, but you can simply download it at xquartz.org – then running this command in the notebook worked for me:

os.environ["PATH"] += os.pathsep + '/opt/X11/bin'

Theses instructions are a short version of getting xvfb to work in jupyter notebook on m1 mac (thank you for creating TotalSegmentator!)

dieserobin avatar May 19 '23 20:05 dieserobin

Thanks for pointing this out.

wasserth avatar May 30 '23 14:05 wasserth