Don't split "build" and "install" (or pass --glut to both calls):

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

Cheers,
  Thomas

> On Feb 13, 2019, at 5:44 PM, Tru Huynh <t...@pasteur.fr> wrote:
> 
> On Wed, Feb 13, 2019 at 05:21:09PM +0100, Tru Huynh wrote:
> ...
>> 
>> Trying to install PyQt4_gpl_x11-4.12. on CentOS-7 is another issue :)
>> ...
>> 
> 
> I went the easy route and pip3 install PyQt5-sip PyQt5,
> and rebuild ...
> 
> the Python-3.5.2 version now works fine, but not the Python-3.6.6
> which still fails!
> 
> [tru@sillage ~]$ module add pymol/release/2.3.0-Python-3.5.2 
> [tru@sillage ~]$ pymol
> 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.
> 
> 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.
> 
> 
> [tru@sillage ~]$ module add pymol/release/2.3.0-Python-3.6.6
> [tru@sillage ~]$ pymol
> 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
> 
> 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  

--
Thomas Holder
PyMOL Principal Developer
Schrödinger, Inc.



_______________________________________________
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