Hi Thomas,

On Wed, Feb 13, 2019 at 04:28:10PM +0100, Thomas Holder wrote:
> Hi Tru,
> 
> There is one thing we changed: The legacy GLUT support is not enabled by 
> default anymore. If that's the issue here, you have two options:
> 
> 1) install PyQt (recommended)
> 2) or compile PyMOL with --glut

I am trying the --glut way and that fixed the Python/2.7.15 build
and run fine, thanks!

        python setup.py --glut  build 
        python setup.py install --prefix=...

[tru@sillage ~]$ module add pymol/release/2.3.0-Python-2.7.15 
[tru@sillage ~]$ pymol
Qt not available, using GLUT/Tk interface
 PyMOL(TM) Molecular Graphics System, Version 2.3.0.
 Copyright (c) Schrodinger, LLC.
 All Rights Reserved.
 
    Created by Warren L. DeLano, Ph.D. 
 
    PyMOL is user-supported open-source software.  Although some versions
    are freely available, PyMOL is not in the public domain.
 
    If PyMOL is helpful in your work or study, then please volunteer 
    support for our ongoing efforts to create open and affordable scientific
    software by purchasing a PyMOL Maintenance and/or Support subscription.

    More information can be found at "http://www.pymol.org";.
 
    Enter "help" for a list of commands.
    Enter "help <command-name>" for information on a specific command.

 Hit ESC anytime to toggle between text and graphics.

Warning: GL_DRAW_BUFFER0=0 -> using GL_BACK
 Detected OpenGL version 4.6. Shaders available.
 Detected GLSL version 4.60.
 OpenGL graphics engine:
  GL_VENDOR:   NVIDIA Corporation
  GL_RENDERER: GeForce GT 1030/PCIe/SSE2
  GL_VERSION:  4.6.0 NVIDIA 410.93
 Detected 6 CPU cores.  Enabled multithreaded rendering.

PyMOL>viewport 640,480
Plugin 'lightingsettings_gui' only available with PyQt GUI.
...

But the same build option fails for both Python/3.5.2 and 3.6.6 with:
[tru@sillage ~]$ pymol
Traceback (most recent call last):
  File 
"/c7/shared/pymol/release/2.3.0-Python-3.5.2/lib/python3.5/site-packages/pymol/__init__.py",
 line 64, in <module>
    import pymol
  File 
"/c7/shared/pymol/release/2.3.0-Python-3.5.2/lib/python3.5/site-packages/pymol/__init__.py",
 line 580, in <module>
    import pymol._cmd
ImportError: 
/c7/shared/pymol/release/2.3.0-Python-3.5.2/lib/python3.5/site-packages/pymol/_cmd.cpython-35m-x86_64-linux-gnu.so:
 undefined symbol: glutSwapBuffers

Traceback (most recent call last):
  File 
"/c7/shared/pymol/release/2.3.0-Python-3.6.6/lib/python3.6/site-packages/pymol/__init__.py",
 line 64, in <module>
    import pymol
  File 
"/c7/shared/pymol/release/2.3.0-Python-3.6.6/lib/python3.6/site-packages/pymol/__init__.py",
 line 580, in <module>
    import pymol._cmd
ImportError: 
/c7/shared/pymol/release/2.3.0-Python-3.6.6/lib/python3.6/site-packages/pymol/_cmd.cpython-36m-x86_64-linux-gnu.so:
 undefined symbol: glutSwapBuffers

Trying to install PyQt4_gpl_x11-4.12. on CentOS-7 is another issue :)
[tru@borma PyQt4_gpl_x11-4.12.3]$ python3 configure-ng.py  --confirm-license 
--destdir /dev/shm/PyQt4_gpl_x11-4.12.3 --qmake=/usr/lib64/qt4/bin/qmake
Querying qmake about your Qt installation...
Determining the details of your Qt installation...
This is the GPL version of PyQt 4.12.3 (licensed under the GNU General Public
License) for Python 3.6.6 on linux.
Found the license file pyqt-gpl.sip.
Error: This version of PyQt4 requires sip 4.19.12 or later.
[tru@borma PyQt4_gpl_x11-4.12.3]$ rpm -qa sip\*
sip-macros-4.14.6-4.el7.x86_64
sip-devel-4.14.6-4.el7.x86_64
sip-4.14.6-4.el7.x86_64
...

Cheers

Tru
-- 
Dr Tru Huynh | mailto:t...@pasteur.fr | tel +33 1 45 68 87 37
https://research.pasteur.fr/en/team/structural-bioinformatics/
Institut Pasteur, 25-28 rue du Docteur Roux, 75724 Paris CEDEX 15 France  


_______________________________________________
PyMOL-users mailing list
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net
Unsubscribe: 
https://sourceforge.net/projects/pymol/lists/pymol-users/unsubscribe

Reply via email to