f



Python 3.3 can't find PySide

Hi everybody,

I'm just starting to dabble in Python development after spending years 
with C# and Java, but there's one small thing holding me back: I can't 
seem to get PySide working for the life of me. Let me explain:

I'm on OS X 10.6.8 and have installed Python 3.3.0 and Qt 4.8.4 with 
Homebrew. The Python interpreter works fine, and all the Qt utilites 
are in my $PATH and installed correctly. Homebrew has a package for 
PySide, but it's only compiled against Python 2.x instead of 3.x (there 
is an issue about this, https://github.com/mxcl/homebrew/issues/16439), 
so I can't use that.

I tried using the PySide BuildScripts on GitHub, but those fail with an 
error that I can't seem to resolve (I'll save that for a PySide list, I 
guess). I can't compile it manually because I don't have the expertise 
to pass the right options to cmake and tell it where to find all my 
Python stuff, so I'm really at my wit's end.

I tried installing the Homebrew PySide package anyways, but putting the 
PySide directory (with __init__.py) in my PYTHONPATH didn't allow me to 
import anything from PySide; I guess this means that PySide has to be 
told to compile for 3.x instead of 2.x.

My question: is there anybody who has had success installing PySide on 
OS X for Python 3.x? There must be a way, I must be missing 
something... right?

I'll try to find a more relevant PySide list or something to pose this 
question on but in the meantime, if anybody has any suggestions, I'd 
appreciate your input. Thanks in advance!
-- 
Tyson Moore
tyson+usenet@tyson.me

0
1/12/2013 10:12:25 PM
comp.lang.python 77058 articles. 6 followers. Post Follow

0 Replies
469 Views

Similar Articles

[PageSpeed] 18

Reply:

Similar Artilces:

Can't use python plugin in gimp 2.3.3
I compiled gimp - 2.3.3 from source in "/opt/gimp" . But the python plugin can not work, such as [image] -> Filters -> "Drop shadow and bevel" can not work, but the plugin can display. I compiled with ------ $sudo ./configure --prefix=/opt/gimp --disable-print && make && make install ------ debugis: ------ This is a development version of The GIMP. Debug messages may appear here. Traceback (most recent call last): File "/opt/gimp/lib/gimp/2.0/python/gimpfu.py", line 503, in response dialog.res = run_script(params) File "...

[RELEASED] Python 3.2.5 and Python 3.3.2
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On behalf of the Python development team, I am pleased to announce the releases of Python 3.2.5 and 3.3.2. The releases fix a few regressions in 3.2.4 and 3.3.1 in the zipfile, gzip and xml.sax modules. Details can be found in the changelogs: http://hg.python.org/cpython/file/v3.2.5/Misc/NEWS and http://hg.python.org/cpython/file/v3.3.2/Misc/NEWS To download Python 3.2.5 or Python 3.3.2, visit: http://www.python.org/download/releases/3.2.5/ or http://www.python.org/download/releases/3.3.2/ respectively. As always, please report bugs to http://bugs.python.org/ (Thank you to those who reported these regressions.) Enjoy! - -- Georg Brandl, Release Manager georg at python.org (on behalf of the entire python-dev team and all contributors) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iEYEARECAAYFAlGUbJ4ACgkQN9GcIYhpnLDH8ACdEM4k7bobLJsFmCb49zuwQR3W EjgAoIWAOFNhJNdTAWEGSWqFWUP20wrb =YnPr -----END PGP SIGNATURE----- ...

[RELEASED] Python 3.2.6rc1, Python 3.3.6rc1
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On behalf of the Python development team, I'm happy to announce the release of Python 3.2.6rc1 and 3.3.6rc1. Both are release candidates for security-fix releases, which are provide source-only on python.org. The list of security-related issues fixed in the releases is given in the changelogs: https://hg.python.org/cpython/raw-file/v3.2.6rc1/Misc/NEWS https://hg.python.org/cpython/raw-file/v3.3.6rc1/Misc/NEWS To download the pre-releases visit one of: https://www.python.org/downloads/release/python-326rc1/ ...

[RELEASED] Python 3.2.6rc1, Python 3.3.6rc1
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On behalf of the Python development team, I'm happy to announce the release of Python 3.2.6rc1 and 3.3.6rc1. Both are release candidates for security-fix releases, which are provide source-only on python.org. The list of security-related issues fixed in the releases is given in the changelogs: https://hg.python.org/cpython/raw-file/v3.2.6rc1/Misc/NEWS https://hg.python.org/cpython/raw-file/v3.3.6rc1/Misc/NEWS To download the pre-releases visit one of: https://www.python.org/downloads/release/python-326rc1/ ...

[RELEASED] Python 3.2.5 and Python 3.3.2
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On behalf of the Python development team, I am pleased to announce the releases of Python 3.2.5 and 3.3.2. The releases fix a few regressions in 3.2.4 and 3.3.1 in the zipfile, gzip and xml.sax modules. Details can be found in the changelogs: http://hg.python.org/cpython/file/v3.2.5/Misc/NEWS and http://hg.python.org/cpython/file/v3.3.2/Misc/NEWS To download Python 3.2.5 or Python 3.3.2, visit: http://www.python.org/download/releases/3.2.5/ or http://www.python.org/download/releases/3.3.2/ respectively. As always, please report bugs to http://bugs.python.org/ (Thank you to those who reported these regressions.) Enjoy! - -- Georg Brandl, Release Manager georg at python.org (on behalf of the entire python-dev team and all contributors) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iEYEARECAAYFAlGUbJ4ACgkQN9GcIYhpnLDH8ACdEM4k7bobLJsFmCb49zuwQR3W EjgAoIWAOFNhJNdTAWEGSWqFWUP20wrb =YnPr -----END PGP SIGNATURE----- ...

[RELEASED] Python 3.2.4 and Python 3.3.1
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On behalf of the Python development team, I am pleased to announce the final releases of Python 3.2.4 and 3.3.1. Python 3.2.4 is the final regular maintenance release for the Python 3.2 series, while Python 3.3.1 is the first maintenance release for the 3.3 series. Both releases include hundreds of bugfixes. There has recently been a lot of discussion about XML-based denial of service attacks. Specifically, certain XML files can cause XML parsers, including ones in the Python stdlib, to consume gigabytes of RAM and swamp the CPU. These releases do not include any changes in Python XML code to address these issues. Interested parties should examine the defusedxml package on PyPI: https://pypi.python.org/pypi/defusedxml To download Python 3.2.4 or Python 3.3.1, visit: http://www.python.org/download/releases/3.2.4/ or http://www.python.org/download/releases/3.3.1/ respectively. As always, please report bugs to http://bugs.python.org/ Enjoy! - -- Georg Brandl, Release Manager georg at python.org (on behalf of the entire python-dev team and all contributors) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iEYEARECAAYFAlFgiN8ACgkQN9GcIYhpnLAXxQCdHAd2lECpYfmYM4Wbd3I01es4 898AoKBDvHtgecD/PeVRKUrdQRSWGPJg =K8RQ -----END PGP SIGNATURE----- On Saturday, 6 April 2013 21:43:11 UTC+1, Georg Brandl wrote: > -----BEGIN PGP SIGNED MESSAGE----- > > Hash...

[Python 3.3.0] Getting tkinter to work on Python 3
--047d7bf0d52ef12d7304d836299a Content-Type: text/plain; charset=ISO-8859-1 Hi. I'm having a problem trying to get this to work well. Basically, whenever I try to import tkinter, this is the issue that I have: >>> import tkinter Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/local/lib/python3.3/tkinter/__init__.py", line 40, in <module> import _tkinter # If this fails your Python may not be configured for Tk ImportError: No module named '_tkinter' I'm running Ubuntu. If I need to provide any further info, please let me know. --047d7bf0d52ef12d7304d836299a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi.=A0 I&#39;m having a problem trying to get this to work well.=A0 Basical= ly, whenever I try to<br>import tkinter, this is the issue that I have:<br>= <br>&gt;&gt;&gt; import tkinter<br>Traceback (most recent call last):<br>= =A0 File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt;<br> =A0 File &quot;/usr/local/lib/python3.3/tkinter/__init__.py&quot;, line 40,= in &lt;module&gt;<br>=A0=A0=A0 import _tkinter # If this fails your Python= may not be configured for Tk<br>ImportError: No module named &#39;_tkinter= &#39;<br> <br>I&#39;m running Ubuntu.=A0 If I need to...

[RELEASED] Python 3.2.6, Python 3.3.6
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On behalf of the Python development team, I'm happy to announce the release of Python 3.2.6 and 3.3.6. Both are security-fix releases, which are provided source-only on python.org. The list of security-related issues fixed in the releases is given in the changelogs: https://hg.python.org/cpython/raw-file/v3.2.6/Misc/NEWS https://hg.python.org/cpython/raw-file/v3.3.6/Misc/NEWS To download the releases visit one of: https://www.python.org/downloads/release/python-326/ https://www.python.org/downloads/release/...

python-2.7.3 vs python-3.2.3
Greetings; I have need of using a script written for python3, but the default python on wheezy is 2.7.3. I see in the wheezy repos that 3.2.3-6 is available. Can/will they co-exist peacefully? Thank you. Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) Genes Web page <http://geneslinuxbox.net:6309/gene> On 26/01/16 13:26, Gene Heskett wrote: > Greetings; > > I have need of using a script written for python3, but the default pytho...

Dr. Dobb's Python-URL!
QOTW: "The security 'droids have decided that since the MS Office Suite is a 'standard' application then software written in MS Office VBA must be 'safe.' Any other development environments (such as Java, Perl, Cygwin) are 'unsafe' and can't be installed." - Peter Olsen "There's nothing wrong with open source projects catering to a market, and there's nothing wrong with running open source software on a proprietary operating system." - Steve Holden Efficiently running a regex over a large file: http://groups-bet...

Why Python 4.0 won't be like Python 3.0
A blog from Nick Coghlan http://www.curiousefficiency.org/posts/2014/08/python-4000.html that should help put a few minds to rest. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence On 2014-08-17, Mark Lawrence <breamoreboy@yahoo.co.uk> wrote: > A blog from Nick Coghlan > http://www.curiousefficiency.org/posts/2014/08/python-4000.html that > should help put a few minds to rest. I agree with the comments that the appellation for "simply the next version after 3.9" should be 3....

IDLE won't run after installing Python 3.3 in Windows
The next adventure in Python was to install Python 3 into a Windows XP mach= ine. I had a previous 2.7 installation that I uninstalled and carefully rem= oved all traces of from the directory and the registry. I got the 'python-3.3.3.msi' from Python.org and installed it. From a comma= nd window I can run 'python' and I get the Python prompt. I have several Py= thon programs on the machine. If I right click o one, I have the option of = 'Edit in IDLE'. If I do that, the disk light blinks briefly, and then nothi= ng. So I went into the \python33\lib\idlelib directory and from a CMD windo= w, ran 'python idle.py'. That loads IDLE. but when I ask IDLE to load a fil= e, it navigates to a FileOpen dialog and then closes everything when I actu= ally open the file. I then tried the same thing but used 'pythonw' instead.= Same deal. I also saw some other threads here about how Python can get befuddled by fi= rewalls, so I disabled that with no effect. Any suggestions? Thanks in advance! Howard On Tuesday, February 18, 2014 6:26:51 PM UTC+3:30, eglows...@gmail.com wrot= e: > The next adventure in Python was to install Python 3 into a Windows XP ma= chine. I had a previous 2.7 installation that I uninstalled and carefully r= emoved all traces of from the directory and the registry. >=20 >=20 >=20 > I got the 'python-3.3.3.msi' from Python.org and installed it. From a com= mand window I ca...

can't install Python 3.5 on windows
This is a multipart message in MIME format. ------=_NextPart_000_0001_01D101C9.700A1BE0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Dear Python: I have been trying to install Python on my Windows computer. I tried both Python 2.7 and 3.5. No luck with either one. If I try to run Python I get a message asking me if I want to repair Python. The program never runs. Can you help? -Jay Brown Jay C. Brown Department of Microbiology, Immunology and Cancer Biology University of Virginia Health System Charlottesville, VA ...

Is there any difference between print 3 and print '3' in Python ?
I know the print statement produces the same result when both of these two instructions are executed ,I just want to know Is there any difference between print 3 and print '3' in Python ? On Mon, Mar 26, 2012 at 10:45 PM, <redstone-cold@163.com> wrote: > I know the print statement produces the same result when both of these two instructions are executed ,I just want to know Is there any difference between print 3 and print '3' in Python ? One of them takes the integer 3, converts it into a string, and prints it. The other takes the string '3' and prints it. ...

Can't install Python 2.3 on RedHat 9
Hi, I want to eventually install plone which requires that I install python2.3. So I go to http://www.python.org/2.3.4/rpms.html and since I need RPM's for RH9 and not Fedora Core 1 I download python2.3-2.3.4-3pydotorg.src.rpm and do this .... # rpmbuild --rebuild python2.3-2.3.4-3pydotorg.src.rpm Installing python2.3-2.3.4-3pydotorg.src.rpm warning: user jafo does not exist - using root warning: group jafo does not exist - using root warning: user jafo does not exist - using root warning: group jafo does not exist - using root warning: user jafo does not exist - using root warning: gro...

Can't find module named 'svn' in python
Hi, i have a simple test which tries to load 'svn' moddule. # python -c "from svn import client" Traceback (most recent call last): File "<string>", line 1, in ? ImportError: No module named svn I have checked I have sub-directories 'libsvn', 'svn' under /usr/local/lib/svn-python/ cd /usr/local/lib/svn-python/ [root@localhost svn-python]# ls libsvn svn But python still can't find it. Please tell me what am I missing. I appreciate your help. My first thought: Check if you have /usr/local/lib/svn-python/ in your PYTHONPATH environme...

[RELEASED] Python 3.2.4 rc 1 and Python 3.3.1 rc 1
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On behalf of the Python development team, I am pleased to announce the first release candidates of Python 3.2.4 and 3.3.1. Python 3.2.4 will be the last regular maintenance release for the Python 3.2 series, while Python 3.3.1 is the first maintenance release for the 3.3 series. Both releases include hundreds of bugfixes. There has recently been a lot of discussion about XML-based denial of service attacks. Specifically, certain XML files can cause XML parsers, including ones in the Python stdlib, to consume gigabytes of RAM and swamp the CPU. These releases do not include any changes in Python XML code to address these issues. Interested parties should examine the defusedxml package on PyPI: https://pypi.python.org/pypi/defusedxml These are testing releases: Please consider trying them with your code and reporting any bugs you may notice to: http://bugs.python.org/ To download Python 3.2.4 or Python 3.3.1, visit: http://www.python.org/download/releases/3.2.4/ or http://www.python.org/download/releases/3.3.1/ respectively. Enjoy! - -- Georg Brandl, Release Manager georg at python.org (on behalf of the entire python-dev team and all contributors) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iEYEARECAAYFAlFRRIoACgkQN9GcIYhpnLD6jACgnzYdYRKZ4kwkKeN3zSLSZ3Zr M/IAn17vlpxI3a3xk+i/ODOrCkMnRZro =B5sA -----END PGP SIGNATURE----- ...

[RELEASED] Python 3.2.4 rc 1 and Python 3.3.1 rc 1
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On behalf of the Python development team, I am pleased to announce the first release candidates of Python 3.2.4 and 3.3.1. Python 3.2.4 will be the last regular maintenance release for the Python 3.2 series, while Python 3.3.1 is the first maintenance release for the 3.3 series. Both releases include hundreds of bugfixes. There has recently been a lot of discussion about XML-based denial of service attacks. Specifically, certain XML files can cause XML parsers, including ones in the Python stdlib, to consume gigabytes of RAM and swamp the CPU. These releases do not include any changes in Python XML code to address these issues. Interested parties should examine the defusedxml package on PyPI: https://pypi.python.org/pypi/defusedxml These are testing releases: Please consider trying them with your code and reporting any bugs you may notice to: http://bugs.python.org/ To download Python 3.2.4 or Python 3.3.1, visit: http://www.python.org/download/releases/3.2.4/ or http://www.python.org/download/releases/3.3.1/ respectively. Enjoy! - -- Georg Brandl, Release Manager georg at python.org (on behalf of the entire python-dev team and all contributors) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iEYEARECAAYFAlFRRIoACgkQN9GcIYhpnLD6jACgnzYdYRKZ4kwkKeN3zSLSZ3Zr M/IAn17vlpxI3a3xk+i/ODOrCkMnRZro =B5sA -----END PGP SIGNATURE----- ...

Python 3.3.0a4, please add ru'...'
Please consistency. >>> sys.version '3.3.0a4 (v3.3.0a4:7c51388a3aa7+, May 31 2012, 20:15:21) [MSC v.1600 32 bit (Intel)]' >>> 'a' 'a' >>> b'a' b'a' >>> br'a' b'a' >>> rb'a' b'a' >>> u'a' 'a' >>> ur'a' 'a' >>> ru'a' SyntaxError: invalid syntax >>> jmf On Sat, 16 Jun 2012 10:36:42 -0700, jmfauth wrote: > Please consistency. There is no point asking here. Feature requests a...

Python 3.5 versus Python 3.0
Python 3.5 is still suffering from the same issues one can find in Python 3.0 . The problem? Unicode and the coding of characters. The problem #2? This willingness to not work correctly and properly. ...

Can't use Python Launcher on Windows after update to 3.5
I've installed 3.5 for all users so it's in C:\Program Files From https://docs.python.org/3.5/using/windows.html#from-the-command-line it says "System-wide installations of Python 3.3 and later will put the launcher on your PATH. The launcher is compatible with all available versions of Python, so it does not matter which version is installed. To check that the launcher is available, execute the following command in Command Prompt:", but:- C:\Users\Mark\Documents\MyPython>py -3.4 'py' is not recognized as an internal or external command, operab...

3*x''+(10^-3)*x'+123*x=2*cos(3*t); x=x(t);initial conditions x(0)=0 and x'(0)=0
Hi everybody, I need to solve the Cauchy problem written in the title box ( I paste it here again ): 3*x''+(10^-3)*x'+123*x=2*cos(3*t); x=x(t);initial conditions x(0)=0 and x'(0)=0. I tried with Runge-Kutta method and it seems to work as the solution x(t) is the same that I can get solving the equation by myself. I need to know if it would be better another method (eventually multistep one) and why it would be better (please don't just tell me 'cause it's faster or so...I need to know the why too). As last thing I need to estimate the error committed with Runge...

Can't compile with GCC 3.3.3 on 64-bit Solaris9 SPARC?!?
When I run `./configure` on Solaris9 SPARC (64-bit), I get: checking for gcc... gcc checking for C compiler default output... configure: error: C compiler cannot create executables # isainfo -vk 64-bit sparcv9 kernel modules Some notes of interest: - the GCC compiler seems to be working fine, which I tested by compiling "hello.c", as well as IPFilter (which doesn't use autoconf) - this seems to happen only on 64-bit SPARC systems, and only with autoconf (well DUH, since `./configure` is an autoconf generated script) - GCC version is 3.3.3, installed from blastwave.org (along w...

[RELEASED] Python 3.3.3 final
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On behalf of the Python development team, I'm very happy to announce the release of Python 3.3.3. Python 3.3.3 includes several security fixes and over 150 bug fixes compared to the Python 3.3.2 release. Importantly, a security bug in CGIHTTPServer was fixed [1]. Thank you to those who tested the 3.3.3 release candidate! This release fully supports OS X 10.9 Mavericks. In particular, this release fixes an issue that could cause previous versions of Python to crash when typing in interactive mode on OS X 10.9. Python 3.3 includes a range of improvements of the 3.x series, as well as easier porting between 2.x and 3.x. In total, almost 500 API items are new or improved in Python 3.3. For a more extensive list of changes in the 3.3 series, see http://docs.python.org/3.3/whatsnew/3.3.html To download Python 3.3.3 rc2 visit: http://www.python.org/download/releases/3.3.3/ This is a production release, please report any bugs to http://bugs.python.org/ Enjoy! - -- Georg Brandl, Release Manager georg at python.org (on behalf of the entire python-dev team and 3.3's contributors) [1] http://bugs.python.org/issue19435 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iEYEARECAAYFAlKLDGYACgkQN9GcIYhpnLCjewCfQ+EJHpzGzIyTvYOrYmsRmnbv n40AniVM0UuQWpPrlCu349fu7Edt+d4+ =WSIj -----END PGP SIGNATURE----- ...

Web resources about - Python 3.3 can't find PySide - comp.lang.python

Resources last updated: 3/10/2016 5:53:25 PM