<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Installation problem]]></title><description><![CDATA[<p dir="auto">Running the post-install script generated a runtime error.  No idea what it means.  I had previously installed PySide.  Did uninstall of PySide and was reinstalling.  Could be the symlinks still existing in /usr/lib cause this.</p>
<p dir="auto">There is no clean way to uninstall.  It might shock you that sometimes  that is necessary.  It would be nice if you supplied an uninstall script.  I don't know where all the pieces land.</p>
<p dir="auto">Here is the runtime error:<br />
PySide package found in /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PySide...<br />
Traceback (most recent call last):<br />
File "/Library/Frameworks/Python.framework/Versions/2.7/bin/pyside_postinstall.py", line 321, in &lt;module&gt;<br />
install()<br />
File "/Library/Frameworks/Python.framework/Versions/2.7/bin/pyside_postinstall.py", line 31, in install<br />
install_posix()<br />
File "/Library/Frameworks/Python.framework/Versions/2.7/bin/pyside_postinstall.py", line 231, in install_posix<br />
rpath_cmd(pyside_path, srcpath)<br />
File "/Library/Frameworks/Python.framework/Versions/2.7/bin/pyside_postinstall.py", line 215, in rpath_cmd<br />
localize_libpaths(srcpath, pyside_libs, pyside_path)<br />
File "/Library/Frameworks/Python.framework/Versions/2.7/bin/pyside_postinstall.py", line 181, in localize_libpaths<br />
(install_name, install_name, libpath))<br />
File "/Library/Frameworks/Python.framework/Versions/2.7/bin/pyside_postinstall.py", line 90, in back_tick<br />
raise RuntimeError(cmd + ' process returned code %d' % retcode)<br />
RuntimeError: install_name_tool -change libpyside-python2.7.1.2.dylib @rpath/libpyside-python2.7.1.2.dylib /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PySide/libpyside-python2.7.1.2.2.dylib process returned code 1</p>
]]></description><link>https://forum.qt.io/topic/44578/installation-problem</link><generator>RSS for Node</generator><lastBuildDate>Fri, 09 Oct 2026 22:58:10 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/44578.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 06 Aug 2014 21:31:48 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Installation problem on Wed, 06 Aug 2014 23:08:09 GMT]]></title><description><![CDATA[<p dir="auto">Need to run with sudo on some machines, but not others based on privileges of target directories.</p>
]]></description><link>https://forum.qt.io/post/238834</link><guid isPermaLink="true">https://forum.qt.io/post/238834</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Wed, 06 Aug 2014 23:08:09 GMT</pubDate></item><item><title><![CDATA[Reply to Installation problem on Wed, 06 Aug 2014 21:44:21 GMT]]></title><description><![CDATA[<p dir="auto">Further to this.  When attempting to run a simple tutorial app, I get:</p>
<p dir="auto">Traceback (most recent call last):<br />
File "&lt;stdin&gt;", line 1, in &lt;module&gt;<br />
File "<a href="http://simple.py" target="_blank" rel="noopener noreferrer nofollow ugc">simple.py</a>", line 7, in &lt;module&gt;<br />
from PySide import QtGui<br />
ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PySide/QtGui.so, 2): Library not loaded: libpyside-python2.7.1.2.dylib<br />
Referenced from: /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PySide/QtGui.so<br />
Reason: image not found</p>
<p dir="auto">But, this really doesn't make sense.  In /Library/Frameworks/Python.framework/Versions/2.7/python2.7/site-packages/Pyside  we find:</p>
<p dir="auto">total 56240<br />
-rwxr-xr-x   1 root  admin   3234416 Aug  6 14:18 <a href="http://QtCore.so" target="_blank" rel="noopener noreferrer nofollow ugc">QtCore.so</a><br />
-rwxr-xr-x   1 root  admin    529136 Aug  6 14:18 <a href="http://QtDeclarative.so" target="_blank" rel="noopener noreferrer nofollow ugc">QtDeclarative.so</a><br />
-rwxr-xr-x   1 root  admin  13745080 Aug  6 14:18 <a href="http://QtGui.so" target="_blank" rel="noopener noreferrer nofollow ugc">QtGui.so</a><br />
-rwxr-xr-x   1 root  admin    497000 Aug  6 14:18 <a href="http://QtHelp.so" target="_blank" rel="noopener noreferrer nofollow ugc">QtHelp.so</a><br />
-rwxr-xr-x   1 root  admin    386800 Aug  6 14:18 <a href="http://QtMultimedia.so" target="_blank" rel="noopener noreferrer nofollow ugc">QtMultimedia.so</a><br />
-rwxr-xr-x   1 root  admin   1183236 Aug  6 14:18 <a href="http://QtNetwork.so" target="_blank" rel="noopener noreferrer nofollow ugc">QtNetwork.so</a><br />
-rwxr-xr-x   1 root  admin    459048 Aug  6 14:18 <a href="http://QtOpenGL.so" target="_blank" rel="noopener noreferrer nofollow ugc">QtOpenGL.so</a><br />
-rwxr-xr-x   1 root  admin    355548 Aug  6 14:18 <a href="http://QtScript.so" target="_blank" rel="noopener noreferrer nofollow ugc">QtScript.so</a><br />
-rwxr-xr-x   1 root  admin     69976 Aug  6 14:18 <a href="http://QtScriptTools.so" target="_blank" rel="noopener noreferrer nofollow ugc">QtScriptTools.so</a><br />
-rwxr-xr-x   1 root  admin    597816 Aug  6 14:18 <a href="http://QtSql.so" target="_blank" rel="noopener noreferrer nofollow ugc">QtSql.so</a><br />
-rwxr-xr-x   1 root  admin    213780 Aug  6 14:18 <a href="http://QtSvg.so" target="_blank" rel="noopener noreferrer nofollow ugc">QtSvg.so</a><br />
-rwxr-xr-x   1 root  admin    112648 Aug  6 14:18 <a href="http://QtTest.so" target="_blank" rel="noopener noreferrer nofollow ugc">QtTest.so</a><br />
-rwxr-xr-x   1 root  admin    957548 Aug  6 14:18 <a href="http://QtUiTools.so" target="_blank" rel="noopener noreferrer nofollow ugc">QtUiTools.so</a><br />
-rwxr-xr-x   1 root  admin    733332 Aug  6 14:18 <a href="http://QtWebKit.so" target="_blank" rel="noopener noreferrer nofollow ugc">QtWebKit.so</a><br />
-rwxr-xr-x   1 root  admin    582256 Aug  6 14:18 <a href="http://QtXml.so" target="_blank" rel="noopener noreferrer nofollow ugc">QtXml.so</a><br />
-rwxr-xr-x   1 root  admin    307224 Aug  6 14:18 <a href="http://QtXmlPatterns.so" target="_blank" rel="noopener noreferrer nofollow ugc">QtXmlPatterns.so</a><br />
-rw-r--r--   1 root  admin      1497 Aug  6 14:18 <strong>init</strong>.py<br />
-rw-r--r--   1 root  admin      1360 Aug  6 14:18 <strong>init</strong>.pyc<br />
-rw-r--r--   1 root  admin      9175 Aug  6 14:18 _utils.py<br />
-rw-r--r--   1 root  admin      7358 Aug  6 14:18 _utils.pyc<br />
drwxr-xr-x  32 root  admin      1088 Aug  6 14:18 examples<br />
drwxr-xr-x   4 root  admin       136 Aug  6 14:18 include<br />
-rwxr-xr-x   1 root  admin    194428 Aug  6 14:18 libpyside-python2.7.1.2.2.dylib<br />
-rwxr-xr-x   1 root  admin    194428 Aug  6 14:18 libpyside-python2.7.1.2.dylib<br />
-rwxr-xr-x   1 root  admin    194428 Aug  6 14:18 libpyside-python2.7.dylib<br />
-rwxr-xr-x   1 root  admin    186816 Aug  6 14:18 libshiboken-python2.7.1.2.2.dylib<br />
-rwxr-xr-x   1 root  admin    186816 Aug  6 14:18 libshiboken-python2.7.1.2.dylib<br />
-rwxr-xr-x   1 root  admin    186816 Aug  6 14:18 libshiboken-python2.7.dylib<br />
-rwxr-xr-x   1 root  admin    994332 Aug  6 14:18 <a href="http://phonon.so" target="_blank" rel="noopener noreferrer nofollow ugc">phonon.so</a><br />
-rwxr-xr-x   1 root  admin    235232 Aug  6 14:18 pyside-lupdate<br />
-rwxr-xr-x   1 root  admin     79196 Aug  6 14:18 pyside-rcc<br />
drwxr-xr-x   6 root  admin       204 Aug  6 14:18 scripts<br />
-rwxr-xr-x   1 root  admin   2267344 Aug  6 14:18 shiboken<br />
-rwxr-xr-x   1 root  admin     21104 Aug  6 14:18 <a href="http://shiboken.so" target="_blank" rel="noopener noreferrer nofollow ugc">shiboken.so</a><br />
drwxr-xr-x  32 root  admin      1088 Aug  6 14:18 typesystems</p>
<p dir="auto">So, must be some weird path thing.</p>
<p dir="auto">Python sys.path is:</p>
<p dir="auto">['',<br />
'/Library/Frameworks/Python.framework/Versions/2.7/bin',<br />
'/Library/Frameworks/Python.framework/Versions/2.7/bin',<br />
'/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages',<br />
'/Library/Frameworks/Python.framework/Versions/2.7/lib/python27.zip',<br />
'/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7',<br />
'/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin',<br />
'/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac',<br />
'/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages',<br />
'/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk',<br />
'/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-old',<br />
'/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload',<br />
'/Library/Python/2.7/site-packages',<br />
'/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/IPython/extensions',<br />
'/Users/lewislevin/.ipython']</p>
<p dir="auto">Seems ok.  Looks like you can't run pyside_postinstall twice.</p>
<p dir="auto">Wish this stuff wasn't so fragile.   I am sure you tend to think of QT and PySide as development tools/libraries, but for many users it is a RUNTIME for pre-existing code.  So, there has to be some reasonable way to install and uninstall it.</p>
]]></description><link>https://forum.qt.io/post/238821</link><guid isPermaLink="true">https://forum.qt.io/post/238821</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Wed, 06 Aug 2014 21:44:21 GMT</pubDate></item></channel></rss>