[Pythonmac-SIG] PyQT on Lion? (Charlie Clark)

Arana Fireheart aranafireheart at mac.com
Mon Jul 16 22:51:21 CEST 2012


Charlie,

	Thanks for the response. Part of the reason I was trying to use virtualenv was to 'disconnect' from a few years of builds (some successful/ some unsuccessful). I was hoping to avoid doing a 'clean install' of my machine and reinstall of of the apps etc.

	The latest attempt is to perform a 'new' install of PyQT and then copy the site-packages directory into the virtual environment (or possibly sym link it). I think this one shows the most promise for getting an environment that will not only run my PyQT apps but allow me to build a distribution version with py2app (which I have NEVER managed to be able to do!!)

	I'll let you all know how it goes, Iv'e got my finger's crossed!

Arana



On Jul 12, 2012, at 6:00 AM, pythonmac-sig-request at python.org wrote:

> Am 11.07.2012, 14:41 Uhr, schrieb Arana Fireheart <aranafireheart at mac.com>:
> 
>> Charlie,
>> 	I tried virtualenv after reading lots of people extolling it's virtues. Having had little luck with other methods I thought I would give it a try. I have managed to get this all built on my MacBookPro which is running Snow Leopard, but not on my desktop machine (iMac). HomeBrew lists PyQT as installed, but when I try to run some code it fails with a "can't find module".
>> 	What I don't get is why python can't locate the installed modules. Do you have any hints as to how I can track this down?
> 
> Hi Arana,
> 
> virtualenv's are indeed a great idea. They allow you to isolate the
> libraries for different projects from each other. However, if you are
> using libraries that need compiling then it can be better to use "system"
> libraries. You can do this in a virtualenv with the switch "--system-site-packages"
> 
> Charlie
> -- 
> Charlie Clark
> Managing Director
> Clark Consulting & Research
> German Office
> Kronenstr. 27a
> Düsseldorf
> D- 40217
> Tel: +49-211-600-3657
> Mobile: +49-178-782-6226
> 
> 
> 
> unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG



More information about the Pythonmac-SIG mailing list