Unable to load ssl module

import ssl
Traceback (most recent call last):
  File "<macro panel>", line 1
  File "ssl.py", line 100
    import _ssl             # if we can't import it, let the error propagate
    ^^^^^^^^^^^
ImportError: dlopen(/Users/yelim/Library/Application Support/Glyphs 3/Repositories/GlyphsPythonPlugin/Python.framework/Versions/3.11/lib/python3.11/lib-dynload/_ssl.cpython-311-darwin.so, 0x0002): Library not loaded: @rpath/Versions/3.11/lib/libssl.3.dylib
  Referenced from: <99CF2BB1-F289-37D8-8B78-138157AA59F7> /Users/yelim/Library/Application Support/Glyphs 3/Repositories/GlyphsPythonPlugin/Python.framework/Versions/3.11/lib/python3.11/lib-dynload/_ssl.cpython-311-darwin.so
  Reason: tried: '/Applications/Glyphs 3.app/Contents/MacOS/../Frameworks/Versions/3.11/lib/libssl.3.dylib' (no such file), '/usr/lib/libssl.3.dylib' (no such file, not in dyld cache)

When I run the code on the macro panel, I get the following error. There is no problem with the system python, but the problem occurs with the python in Glyphs. Is it originally a possible error?

I’ll have a look.

What do you like to is it for?

Thank you.

I found out while fixing the error caused by linking firebase that I posted on the forum before.

I’ve found that I’ve had the same problem before. Here’s how to fix it. Was it fixed then?
It’s hard for me to try because there’s an error when I try that way.
I hope that it will be resolved quickly by looking at that article. :pray:

The script doesn’t work any more. But I think I have fixed it. Can you try? (restarting Glyphs (maybe twice) should give you the latest version).

1 Like

I’ve only reinstalled the Python module and I’ve seen that it works fine. Thank you so much for the quick update!