Hi Elmira,

If you are using windows, Open Source PyMOL for python3.6 can be found here:
https://www.lfd.uci.edu/~gohlke/pythonlibs/#pymol

If you are using Mac, Open Source PyMOL via macports still depends on Python2.7 
by default. 
However, you can install PyMOL built with the macports python3.6 interpreter by 
using the variant flag python36.
(e.g., sudo port install pymol +python36). 
See https://www.macports.org/ports.php?by=library&substr=pymol

I tested this command this morning, and it worked for me with the Mohave OS. 
It takes about twenty minutes for the dependencies to install.  
I was able to "import pymol" and run "print pymol.__path__", which returned the 
path to macports python3.6.
Earlier, I had made a kernel for mapcorts python3.6 so this interpreter could 
be used in jupyter notebook.

If you are using Linux, see the PyMOL wiki for help 
https://pymolwiki.org/index.php/Linux_Install.

Best regards,

Blaine

Blaine Mooers, Ph.D.
Associate Professor
Department of Biochemistry and Molecular Biology
College of Medicine
University of Oklahoma Health Sciences Center
S.L. Young Biomedical Research Center (BRC) Rm. 466
975 NE 10th Street, BRC 466
Oklahoma City, OK 73104-5419

________________________________________
From: Elmira Nazarshodeh [elmira.nazarsho...@gmail.com]
Sent: Tuesday, April 23, 2019 8:35 AM
To: pymol-users@lists.sourceforge.net
Subject: [EXTERNAL] [PyMOL] Problem with pymol in python 3.6

Hello

I am going to work with pymol through python 3.6. When I type (from pymol 
import cmd) in the jupyter notebook, I get the following error:

ModuleNotFoundError: No module named 'pymol'


Could you please help me how can I fix the problem? How can I install a version 
of pymol that is compatible with python 3.6.?

Best Regards

_______________________________________________
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