<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2013/8/29 Tibold Kandrai <span dir="ltr"><<a href="mailto:kandraitibold@gmail.com" target="_blank">kandraitibold@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div><div dir="ltr" style="font-family:Calibri,'Segoe UI',Meiryo,'Microsoft YaHei UI','Microsoft JhengHei UI','Malgun Gothic','Khmer UI','Nirmala UI',Tunga,'Lao UI',Ebrima,sans-serif;font-size:12pt">
<div>Hey Frank,</div><div> </div><div>If the ppa doesn’t exist, you could try to compile it yourself or by manually downloading it or by installing from PyPi with:</div><div>sudo pip install PySide</div><div> </div><div>There are a few dependencies you need to have installed like CMake, but the build will let you know what does it need.</div>
</div></div></blockquote><div><br>Detailed instructions how to build on linux are here <a href="https://pypi.python.org/pypi/PySide#building-pyside-on-a-unix-system-ubuntu-12-04-lts">https://pypi.python.org/pypi/PySide#building-pyside-on-a-unix-system-ubuntu-12-04-lts</a><br>
<br> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div dir="ltr" style="font-family:Calibri,'Segoe UI',Meiryo,'Microsoft YaHei UI','Microsoft JhengHei UI','Malgun Gothic','Khmer UI','Nirmala UI',Tunga,'Lao UI',Ebrima,sans-serif;font-size:12pt">
<div>I just had to build it myself too as for OS X there are no 1.2.1 binaries available.</div><div> </div><div>In my case the only problem I had with it is that the Ui tools didn’t build, but since I’m not really using it that’s not that big of a problem for me, although they can be compiled by fixing the cmake files.</div>
<div><div> </div><div>Cheers,</div><div>Tibold Kandrai</div><div> </div></div><div style="padding-top:5px;border-top:1px solid rgb(229,229,229)"><div><font style="line-height:15pt;letter-spacing:0.02em;font-family:Calibri,"Segoe UI",Meiryo,"Microsoft YaHei UI","Microsoft JhengHei UI","Malgun Gothic","Khmer UI","Nirmala UI",Tunga,"Lao UI",Ebrima,sans-serif;font-size:11pt" face="Calibri, 'Segoe UI', Meiryo, 'Microsoft YaHei UI', 'Microsoft JhengHei UI', 'Malgun Gothic', 'Khmer UI', 'Nirmala UI', Tunga, 'Lao UI', Ebrima, sans-serif"><b>From:</b> Frank Rueter | OHUfx<br>
<b>Sent:</b> Thursday, 29 August 2013 09:09<br><b>To:</b> <a href="mailto:pyside@qt-project.org" target="_blank">pyside@qt-project.org</a></font></div></div><div> </div>
Thanks for the heads up Sebastian.<br>
That is probably a good way to go, as I need to add os specific
logic as well (I am in a mixed linux and osx environment).<br>
<br>
For now, I'm just trying to get the vanilla install to work again
though.<br>
And then get my head back into PySide which I was forced to neglect
for almost a year.<br>
<br>
Hope all is well in Berlin!<br>
<br>
Cheers,<br>
frank<br>
<br>
<div>On 29/08/13 19:03, Sebastian Elsner
wrote:<br>
</div>
<blockquote style="margin-top:0px;margin-bottom:0px">
<div>Hey Frank,<br>
<br>
I don't know about the linux part but you can keep PySide on a
central server, just don't add that path to you PYTHONPATH by
default. Nuke does not need to know about it, but in a
standalone app you could just do something like:<br>
<br>
import sys<br>
sys.path.add("/server/pyside")<br>
<br>
and that one works again. <br>
<br>
The strategy I am going for here is: All standalone apps use the
standard (Windows) Python and standard installers for packages.
<br>
We have a lot of compiled dependencies like PyQt, ZeroMQ or
MySQL in Maya/Nuke/Houdini. The path.add method is the way I
manage those to dynamically "mount" (i.e. path.add) all the
packages I need per host program (with their own compiler
version, because thats where the problem comes from)<br>
<br>
Cheers<br>
<br>
Sebastian<br>
<br>
<br>
<br>
<br>
placeOn 08/29/2013 08:22 AM, Frank Rueter | OHUfx wrote:<br>
</div>
<blockquote style="margin-top:0px;margin-bottom:0px">
Hi guys,<br>
<br>
this may be a linux problem more than a PySide problem, but
after a day of searching for a solution I am a bit desperate and
was hoping somebody here would be able to help:<br>
<br>
A few days ago I installed PySide on Kubuntu 12.10 without any
trouble by running those commands:<br>
<pre><code><span>sudo add</span><span>-</span><span>apt</span><span>-</span><span>repository ppa</span><span>:</span><span>pyside
sudo apt</span><span>-</span><span>get update
sudo apt</span><span>-</span><span>get install python</span><span>-</span><span>pyside</span></code></pre>
<br>
This successfully installed PySide to
/usr/lib/python2.7/dist-packages/PySide<br>
<br>
I then decided to move the installed PySide folder to a central
server location which is in my PYTHONPATH to be able to access
the same PySide install from multiple machine (to avoid version
problems etc).<br>
<br>
After that some host applications that are using PySide natively
wouldn't launch any longer (PySide itself worked fine), so I
decided to back paddle; I deleted all files on the server again
and ran this to clean up:<br>
<code><span><br>
sudo apt</span><span>-</span><span>get
purge python-pyside</span></code><br>
<code><span>sudo apt</span><span>-</span><span>get autoremove<br>
<br>
</span></code><br>
Now I thought I'd be ready for a clean install again, so I
started over with the above mentioned install commands.<br>
First, this only installed the binaries (.so files) into
/usr/lib/python2.7/dist-packages/PySide, no __init__.py, nothing
else.<br>
So I tried un-installing and re-installing a few times, but now
nothing gets installed at all anymore.<br>
<br>
When running <code><span>sudo apt</span><span>-</span><span>get update</span></code>,
I now get these errors:<br>
<blockquote style="margin-top:0px;margin-bottom:0px"><i>Err <a title="http://ppa.launchpad.net/" href="http://ppa.launchpad.net" target="_blank">http://ppa.launchpad.net</a>
quantal/main Sources 404 Not Found</i><i><br>
</i><i>Hit <a title="http://security.ubuntu.com/" href="http://security.ubuntu.com" target="_blank">http://security.ubuntu.com</a>
quantal-security/restricted i386 Packages</i><i><br>
</i><i>Err <a title="http://ppa.launchpad.net/" href="http://ppa.launchpad.net" target="_blank">http://ppa.launchpad.net</a>
quantal/main amd64 Packages 404 Not Found</i><i><br>
</i><i>Err <a title="http://ppa.launchpad.net/" href="http://ppa.launchpad.net" target="_blank">http://ppa.launchpad.net</a>
quantal/main i386 Packages 404 Not Found</i><i><br>
</i><i>W: Failed to fetch <a title="http://ppa.launchpad.net/pyside/ppa/ubuntu/dists/quantal/main/source/Sources" href="http://ppa.launchpad.net/pyside/ppa/ubuntu/dists/quantal/main/source/Sources" target="_blank">http://ppa.launchpad.net/pyside/ppa/ubuntu/dists/quantal/main/source/Sources</a>
404 Not Found</i><i><br>
</i><i>W: Failed to fetch <a title="http://ppa.launchpad.net/pyside/ppa/ubuntu/dists/quantal/main/binary-amd64/Packages" href="http://ppa.launchpad.net/pyside/ppa/ubuntu/dists/quantal/main/binary-amd64/Packages" target="_blank">http://ppa.launchpad.net/pyside/ppa/ubuntu/dists/quantal/main/binary-amd64/Packages</a>
404 Not Found</i><i><br>
</i><i>W: Failed to fetch <a title="http://ppa.launchpad.net/pyside/ppa/ubuntu/dists/quantal/main/binary-i386/Packages" href="http://ppa.launchpad.net/pyside/ppa/ubuntu/dists/quantal/main/binary-i386/Packages" target="_blank">http://ppa.launchpad.net/pyside/ppa/ubuntu/dists/quantal/main/binary-i386/Packages</a>
404 Not Found</i><br>
</blockquote>
<br>
<br>
I checked in a web browser, and sure enough, the "quantal" dist
does not exist:<br>
<a title="http://ppa.launchpad.net/pyside/ppa/ubuntu/dists/" href="http://ppa.launchpad.net/pyside/ppa/ubuntu/dists/" target="_blank">http://ppa.launchpad.net/pyside/ppa/ubuntu/dists/</a><br>
<br>
It feels like it was simply removed the other day since I was
able to install PySide successfully but it's more likely that
I'm stuffing up something here.<br>
<br>
Can somebody please help with this? I am stuck and need to get
this running soon :(<br>
<br>
Cheers,<br>
frank<br>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
PySide mailing list
<a title="mailto:PySide@qt-project.org" href="mailto:PySide@qt-project.org" target="_blank">PySide@qt-project.org</a>
<a title="http://lists.qt-project.org/mailman/listinfo/pyside" href="http://lists.qt-project.org/mailman/listinfo/pyside" target="_blank">http://lists.qt-project.org/mailman/listinfo/pyside</a>
</pre>
</blockquote>
<br>
<br>
<pre>--
check out <a title="http://www.pointcloud9.com/" href="http://www.pointcloud9.com" target="_blank">www.pointcloud9.com</a>
Sebastian Elsner - Pipeline Technical Director - RISE
t: <a href="tel:%2B49%2030%2020180300" value="+493020180300" target="_blank">+49 30 20180300</a> <a title="mailto:florian@risefx.com" href="mailto:florian@risefx.com" target="_blank">florian@risefx.com</a>
f: <a href="tel:%2B49%2030%2061651074" value="+493061651074" target="_blank">+49 30 61651074</a> <a title="http://www.risefx.com/" href="http://www.risefx.com" target="_blank">www.risefx.com</a>
RISE FX GmbH
Schlesische Strasse 28, Aufgang B, 10997 Berlin
c/o action concept, An der Hasenkaule 1-7, 50354 Hürth
Geschaeftsfuehrer: Sven Pannicke, Robert Pinnow
Handelsregister Berlin HRB 106667 B
</pre>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
PySide mailing list
<a title="mailto:PySide@qt-project.org" href="mailto:PySide@qt-project.org" target="_blank">PySide@qt-project.org</a>
<a title="http://lists.qt-project.org/mailman/listinfo/pyside" href="http://lists.qt-project.org/mailman/listinfo/pyside" target="_blank">http://lists.qt-project.org/mailman/listinfo/pyside</a>
</pre>
</blockquote>
<br>
</div></div><br>_______________________________________________<br>
PySide mailing list<br>
<a href="mailto:PySide@qt-project.org">PySide@qt-project.org</a><br>
<a href="http://lists.qt-project.org/mailman/listinfo/pyside" target="_blank">http://lists.qt-project.org/mailman/listinfo/pyside</a><br>
<br></blockquote></div><br></div></div>