Skip to content Skip to sidebar Skip to footer

How To Check If Python3 Was Built With '--enable-shared'?

Environment: Mac OS X 10.8.5 Apache 2.2.26 Homebrew Python 3.3.3 Problem: I am trying to install mod_wsgi but first need to determine if Python was configured and compiled with t

Solution 1:

From the python repl:

import sysconfig
sysconfig.get_config_vars('Py_ENABLE_SHARED')

Post a Comment for "How To Check If Python3 Was Built With '--enable-shared'?"