Menu

Building against Anaconda Python

Help
Jay L
2015-08-04
2016-02-25
  • Jay L

    Jay L - 2015-08-04

    I am trying to build PythonQt against anaconda python (2.7.x). Running the included PyGuiExample I am unable to get any Python other than the system install.

    Running OS X 10.10, Qt 5.5, latest Anaconda.

    I have set the python.prf as
    PYTHON_CONFIG_PATH = /Users/me/anaconda/bin/python-config
    QMAKE_CXXFLAGS += $$system($${PYTHON_CONFIG_PATH} --includes)
    LIBS += $$system($${PYTHON_CONFIG_PATH} --libs)

    Two environment variables have been set:
    PYTHON_PATH /Users/me/anaconda/include/python2.7
    PYTHON_LIB /Users/me/anaconda/lib

    The build (in QtCreator) is successful with a high number of warnings about unused parameters.

    Any thoughts on getting PythonQt built against a Python installation other than the system framework?

     
  • Kenny Koller

    Kenny Koller - 2016-02-25

    Hi Jay,

    I have the same question. Have you learned anything since you posted?

    Kenny

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.