PySide / Qt Import Error

后端 未结 5 2005
醉梦人生
醉梦人生 2020-12-28 16:18

I\'m trying to import PySide / Qt into Python like so and get the follow error:

from PySide import QtCore

ImportError: dlopen(/usr/local/lib/python2.7/site         


        
5条回答
  •  醉话见心
    2020-12-28 16:28

    I had a similar problem, on Mavericks using a Brew-installed Qt and virtual environment.

    I had to brew reinstall Qt

    Then run the pyside_postinstall.py -install

    See here: https://github.com/Homebrew/homebrew/issues/27898

提交回复
热议问题