osx - How to check if Python3 was built with '--enable-shared'? -


पर्यावरण:

  • मैक ओएस एक्स 10.8.5 < / li>
  • अपाचे 2.2.26
  • होमब्रे पायथन 3.3.3

    समस्या:

    I mod_wsgi को स्थापित करने की कोशिश कर रहा हूं लेकिन पहले यह तय करने की आवश्यकता है कि क्या पायथन को '-सक्षम-साझा' विकल्प के साथ कॉन्फ़िगर और संकलित किया गया था।

    प्रश्न:

    1. मैं कैसे तय कर सकता हूं कि होमब्यू को 'सक्षम-साझा' विकल्प के साथ पायथन स्थापित किया गया है? < li> अगर यह स्थापित नहीं हुआ है, तो इसे स्थापित करने का सही तरीका क्या है?

      धन्यवाद!

      अजगर प्रतिक से:

        आयात करें sysconfig sysconfig.get_config_vars ('Py_ENABLE_SHARED')    

Comments

Popular posts from this blog

Verilog Error: output or inout port "Q" must be connected to a structural net expression -

jasper reports - How to center align barcode using jasperreports and barcode4j -

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -