Libpython3.6m.dylib vs libpython3.6.dylib

I am working on building an application from Python code using py2app.

Everything goes well until I run setup.py, then at the very end of its launch I get this message: "ValueError:

'/Users/(my_computer_name)/anaconda3/lib/libpython3.6.dylib' does not exist "

It turns out there is a file in there just named slightly differently: it asks for "libpython3.6.dylib" and there is a file called "libpython3.6m.dylib"

Any understanding would be greatly appreciated, thanks!

+3


source to share


1 answer


Anaconic Python binaries are built with support for multithreading, which means that the generated library will be of the form *m.dylib

( see link in Google Groups )

You can create a symlink and try to build with py2app (I had problems with this).



Alternatively, this worked for me: I had an equivalent virtual setup (which uses the Python Framework and makes py2app localize the library in different ways) and was able to build an app on that.

0


source







All Articles