Subject: Incompatible versions of libfreetype.6.dylib

11 views
Skip to first unread message

Samuel Dupree

unread,
Oct 13, 2021, 10:06:01 PMOct 13
to Anaconda - Public
I'm running Python 3.8.8 under the Anaconda distribution ver. custom on a Mac Pro (2019) desktop running Mac OSX ver. 11.6.

I'm getting the following error message:

ImportError: dlopen(/Users/user/opt/anaconda3/lib/python3.8/site-packages/matplotlib/ft2font.cpython-38-darwin.so, 2): Library not loaded: @rpath/libfreetype.6.dylib
  Referenced from: /Users/user/opt/anaconda3/lib/python3.8/site-packages/matplotlib/ft2font.cpython-38-darwin.so
  Reason: Incompatible library version: ft2font.cpython-38-darwin.so requires version 24.0.0 or later, but libfreetype.6.dylib provides version 23.0.0
(base) user@Mac-Pro work %

Any suggestion as to how to fix this?

Sam Dupree.

glenn travis

unread,
Oct 14, 2021, 11:36:51 PMOct 14
to Anaconda - Public, sdu...@speakeasy.net
I also have Anaconda-Navigator and Python 3.8.8

I have never used that, however, I had no errors when I went to terminal and entered:

>>> import matplotlib.font_manager

>>> import matplotlib.ft2font

notice that I did not enter the .cpython-38 etc

The locate command returned:

/Users/geekingaround/opt/anaconda3/pkgs/matplotlib-base-3.3.4-py38h8b3ea08_0/lib/python3.8/site-packages/matplotlib/ft2font.cpython-38-darwin.so


Reply all
Reply to author
Forward
0 new messages