試圖讓我的腳溼透PySide的開發,但有困難 進行設置。我試圖安裝binaries 1.0.4-r1 and 1.0.5但 這兩個產生以下消息對進口PySide在OSX上安裝PySide 10.6.8
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Library/Python/2.6/site-packages/PySide/__init__.py", line 2,
in <module>
import private
File "/Library/Python/2.6/site-packages/PySide/private.py", line 2,
in <module>
from QtCore import __moduleShutdown
ImportError: dlopen(/Library/Python/2.6/site-packages/PySide/
QtCore.so, 2): Library not loaded: QtCore.framework/Versions/4/QtCore
Referenced from: /Library/Python/2.6/site-packages/PySide/QtCore.so
Reason: image not found
然後我試着做從gitorious build scripts安裝的。使用 sudo ./dependencies.osx.sh。完成後,我現在得到了導入PySide的以下錯誤 。
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Library/Python/2.6/site-packages/PySide/__init__.py", line 2,
in <module>
File "/Library/Python/2.6/site-packages/PySide/private.py", line 2,
in <module>
ImportError: No module named QtCore
任何意見表示讚賞。我正在使用QtCreator 2.2.1和Qt SDK 1.1.2/Qt庫4.7.3。謝謝!
我在安裝PySide和QT的最新版本的OSX 10.6.8上也有類似的情況。 – Aaron
用macports安裝時同樣的事情... – Jelle