Skip to content Skip to sidebar Skip to footer

Embedding Python 3.3

I try to embed Python 3.3, as described here. I'm on MacOS 10.8 which has Python 2.7 so I downloaded binary distribution of version 3.3 from python.org. From it I got all the heade

Solution 1:

Run python3.3-config --cflags and you'll get the needed cflags for your system. For ldflags, the command is python3.3-config --ldflags

Solution 2:

First and formost, the library has to be named in the form of 'libxxx.so', then the linker will find it with '-L. -lxxx'.

Even then, the resulting executable wont work as one has to copy/create not just the library but the whole framework.

More here: http://lists.apple.com/archives/cocoa-dev/2013/Feb/msg00522.html

Post a Comment for "Embedding Python 3.3"