On Sun, 21 Apr 2013 08:38:54 -0700 (PDT)
Viktor Ransmayr <[email protected]> wrote:

> Question 2: Has anyone worked with Leo using 'virtualenv'  in a Python 3.x 
> environment or the standard 'venv' module provided with Python 3.3?

Old versions of virtualenv used to link to the system python libs, but
current versions don't, and I suspect there's no simple way to install
PyQt in a virtualenv - the installers for PyQt assume standard
locations.

But, you can just copy the system PyQt stuff from the system libs
into the virtual env. - in linux for me the other day this was:

cp -rv /usr/lib/python3/dist-packages/PyQt4 p3/lib/python3.3/site-packages/
cp -rv /usr/lib/python3/dist-packages/sip* p3/lib/python3.3/site-packages/

where 'p3' was my virtualenv.  I assume something similar would work in
Windows, with different paths.

Cheers -Terry

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/leo-editor?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to