Closed alannnna closed 4 years ago
Originally used Python from Anaconda. For Anaconda6 the value of LDLIBRARY
is the name of Python native library (e.g. libpython3.7m.dylib
).
Through sysconfig, we can get LIBDIR
and then get the correct version through LDVERSION
. There can be two versions in the lib
directory with or without pymalloc.
Thank you for the quick fix!
When running the example code from the readme, I get the following error:
The path it is looking for does not exist on my system:
/usr/local/opt/python/Frameworks/Python.framework/Versions/3.7/lib/Python.framework/Versions/3.7/Python
The values of LIBDIR and LDLIBRARY are as follows:
Edit: I do have a
libpython3.7.dylib
on my system at/usr/local/opt/python/Frameworks/Python.framework/Versions/3.7/lib/libpython3.7.dylib
, but there appear to be no sysconfig variables pointing at it.