Hi Gianluca ,
You might try getting the sources for 2.7 from here:
https://gist.github.com/0x414A/8b64178e69d9f8331938
Best regards,
Blaine
Blaine Mooers, Ph.D.
Associate Professor
Department of Biochemistry and Molecular Biology, College of Medicine
University of Oklahoma Health Sciences Center
975 NE 10th Street, BRC 466
Oklahoma City, OK 73104-5419
Faculty webpage X-ray lab (LBSF) COBRE in Structural Biology
SSRL UEC Facebook Page SSRL UEC SSRL SAC LCLS UEC
EasyPyMOL Molecular Graphics Small Angle Scattering
office: (405) 271-8300 lab: (405) 271-8313 e-mail: [email protected]
________________________________________
From: [email protected] [[email protected]] on behalf of [email protected] [[email protected]]
Sent: Friday, December 08, 2017 2:00 PM
To: [email protected]
Subject: cctbxbb Digest, Vol 105, Issue 3
Send cctbxbb mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://urldefense.proofpoint.com/v2/url?u=http-3A__phenix-2Donline.org_mailman_listinfo_cctbxbb&d=DwICAg&c=VjzId-SM5S6aVB_cCGQ0d3uo9UfKByQ3sI6Audoy6dY&r=k0gMbcsdOcdbPUNV5tW66KQSZfXL0ewVDPVBp7tqbks&m=GwdNPY7ypHlodjN8ehNayxUtD5BdVtwq8HHjGGTGlc4&s=JYMUbXhgIvB9zetty4-LwQ1pm3KUahYmGDgtXhgpEhw&e=
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of cctbxbb digest..."
Today's Topics:
1. Importing PyQt4 in litbx.python (Gianluca SANTONI)
2. Re: Importing PyQt4 in litbx.python ([email protected])
3. Re: Importing PyQt4 in litbx.python (Gianluca SANTONI)
----------------------------------------------------------------------
Message: 1
Date: Fri, 8 Dec 2017 13:18:13 +0100
From: Gianluca SANTONI
To: cctbx mailing list
Subject: [cctbxbb] Importing PyQt4 in litbx.python
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8; format=flowed
Dear all,
I'm having some troubles recently in importing pyqt4 in libtbx.python
under Debian8.
It used to work with a previous build compiled from the sources, but I
don't find a reasonable way to make it work from the bootstrap installation.
More details:
1) If I do in libtbx.python
sys.path.append('/usr/lib/python2.7/dist-packages/') and "from PyQt4
import QtCore", I get an
unidentified symbol: PyUnicodeUCS4_AsLatin1String
2) If I try to compile cctbx as I did in the past "python
../libtbx/configure.py cctbx" no make file is produced. Maybe I'm
missing something
Thanks everybody for your help.
Gian
--
Gianluca Santoni, PhD
ESRF structural biology group
71 avenue des Martyrs
38027 Grenoble cedex (France)
------------------------------
Message: 2
Date: Fri, 8 Dec 2017 12:40:13 +0000
From:
To:
Subject: Re: [cctbxbb] Importing PyQt4 in litbx.python
Message-ID:
Content-Type: text/plain; charset=utf-8
Hi,
There is an issue open on UCS4 which is somewhat related: https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_cctbx_cctbx-5Fproject_issues_60&d=DwICAg&c=VjzId-SM5S6aVB_cCGQ0d3uo9UfKByQ3sI6Audoy6dY&r=k0gMbcsdOcdbPUNV5tW66KQSZfXL0ewVDPVBp7tqbks&m=GwdNPY7ypHlodjN8ehNayxUtD5BdVtwq8HHjGGTGlc4&s=6LpNkcGx8bq7tAB89CLg2QKT2RSt2pTELiRC1u5Yx7I&e=
We currently don't use UCS4, and your system pyqt4 does. You would have to install (and potentially, compile) it for the cctbx python directly.
A 3 minute research from my mobile phone suggests that you might be able to download the sources as tar.gz files and then do something along the lines of
cctbx.python -m pip install SIP
cctbx.python -m pip install pyqt-source.tar.gz
but this is untested, and I haven't used pyqt before.
-Markus
On 8 Dec 2017 12:19, Gianluca SANTONI wrote:
Dear all,
I'm having some troubles recently in importing pyqt4 in libtbx.python
under Debian8.
It used to work with a previous build compiled from the sources, but I
don't find a reasonable way to make it work from the bootstrap installation.
More details:
1) If I do in libtbx.python
sys.path.append('/usr/lib/python2.7/dist-packages/') and "from PyQt4
import QtCore", I get an
unidentified symbol: PyUnicodeUCS4_AsLatin1String
2) If I try to compile cctbx as I did in the past "python
../libtbx/configure.py cctbx" no make file is produced. Maybe I'm
missing something
Thanks everybody for your help.
Gian
--
Gianluca Santoni, PhD
ESRF structural biology group
71 avenue des Martyrs
38027 Grenoble cedex (France)
_______________________________________________
cctbxbb mailing list
[email protected]
https://urldefense.proofpoint.com/v2/url?u=http-3A__phenix-2Donline.org_mailman_listinfo_cctbxbb&d=DwICAg&c=VjzId-SM5S6aVB_cCGQ0d3uo9UfKByQ3sI6Audoy6dY&r=k0gMbcsdOcdbPUNV5tW66KQSZfXL0ewVDPVBp7tqbks&m=GwdNPY7ypHlodjN8ehNayxUtD5BdVtwq8HHjGGTGlc4&s=JYMUbXhgIvB9zetty4-LwQ1pm3KUahYmGDgtXhgpEhw&e=
--
This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd.
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom
------------------------------
Message: 3
Date: Fri, 8 Dec 2017 14:20:26 +0100
From: Gianluca SANTONI
To: [email protected]
Subject: Re: [cctbxbb] Importing PyQt4 in litbx.python
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8; format=flowed
Hi Markus,
I could fix everyting by compiling both libraries from source with cctbx.python.
Hope this helps others with similar problem too.
cctbx.python -m pip install SIP
cctbx.python -m pip install pyqt-source.tar.gz
did not work. There is actually no PyPi package for sip in python2.7
Cheers
Gian
Gianluca Santoni, PhD
ESRF structural biology group
71 avenue des Martyrs
38027 Grenoble cedex (France)
On 08/12/2017 13:40, [email protected] wrote:
Hi,
There is an issue open on UCS4 which is somewhat related: https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_cctbx_cctbx-5Fproject_issues_60&d=DwICAg&c=VjzId-SM5S6aVB_cCGQ0d3uo9UfKByQ3sI6Audoy6dY&r=k0gMbcsdOcdbPUNV5tW66KQSZfXL0ewVDPVBp7tqbks&m=GwdNPY7ypHlodjN8ehNayxUtD5BdVtwq8HHjGGTGlc4&s=6LpNkcGx8bq7tAB89CLg2QKT2RSt2pTELiRC1u5Yx7I&e=
We currently don't use UCS4, and your system pyqt4 does. You would have to install (and potentially, compile) it for the cctbx python directly.
A 3 minute research from my mobile phone suggests that you might be able to download the sources as tar.gz files and then do something along the lines of
cctbx.python -m pip install SIP
cctbx.python -m pip install pyqt-source.tar.gz
but this is untested, and I haven't used pyqt before.
-Markus
On 8 Dec 2017 12:19, Gianluca SANTONI wrote:
Dear all,
I'm having some troubles recently in importing pyqt4 in libtbx.python
under Debian8.
It used to work with a previous build compiled from the sources, but I
don't find a reasonable way to make it work from the bootstrap installation.
More details:
1) If I do in libtbx.python
sys.path.append('/usr/lib/python2.7/dist-packages/') and "from PyQt4
import QtCore", I get an
unidentified symbol: PyUnicodeUCS4_AsLatin1String
2) If I try to compile cctbx as I did in the past "python
../libtbx/configure.py cctbx" no make file is produced. Maybe I'm
missing something
Thanks everybody for your help.
Gian
--
Gianluca Santoni, PhD
ESRF structural biology group
71 avenue des Martyrs
38027 Grenoble cedex (France)
_______________________________________________
cctbxbb mailing list
[email protected]
https://urldefense.proofpoint.com/v2/url?u=http-3A__phenix-2Donline.org_mailman_listinfo_cctbxbb&d=DwICAg&c=VjzId-SM5S6aVB_cCGQ0d3uo9UfKByQ3sI6Audoy6dY&r=k0gMbcsdOcdbPUNV5tW66KQSZfXL0ewVDPVBp7tqbks&m=GwdNPY7ypHlodjN8ehNayxUtD5BdVtwq8HHjGGTGlc4&s=JYMUbXhgIvB9zetty4-LwQ1pm3KUahYmGDgtXhgpEhw&e=
------------------------------
_______________________________________________
cctbxbb mailing list
[email protected]
https://urldefense.proofpoint.com/v2/url?u=http-3A__phenix-2Donline.org_mailman_listinfo_cctbxbb&d=DwICAg&c=VjzId-SM5S6aVB_cCGQ0d3uo9UfKByQ3sI6Audoy6dY&r=k0gMbcsdOcdbPUNV5tW66KQSZfXL0ewVDPVBp7tqbks&m=GwdNPY7ypHlodjN8ehNayxUtD5BdVtwq8HHjGGTGlc4&s=JYMUbXhgIvB9zetty4-LwQ1pm3KUahYmGDgtXhgpEhw&e=
End of cctbxbb Digest, Vol 105, Issue 3
***************************************