Hi Yuan, the short answer is: you can't do that with the PyMOL 1.3 Edu build. It has a built-in Python interpreter and doesn't work with your Python 2.7 installation. You could - in theory - do that with Open-Source PyMOL, check out http://pymolwiki.org/index.php/Windows_Install#Pre-compiled_PyMOL
Cheers, Thomas On 01 Mar 2015, at 16:04, Yuan Wang <yuanw...@iastate.edu> wrote: > Dear Pymol communities, > > I'm trying to embed pymol window as a pyqt widget now and the code from > https://gist.github.com/masci/6437112 runs perfectly on my Linux machine. > > However when I tried to run it on my Windows machine, I kept getting the > import error when the code tried to import pymol2, which said no module named > _cmd. I did realize there is a _cmd.so file that came with the Linux > distribution, but I could not find anything similar on the windows > distribution. Anybody knows how to solve this problem? Any help would be > appreciated. > > I'm using Pymol 1.3 educational version and Python 2.7, if this matters. > > Thanks! > > Yuan Wang > > -- > > Yuan Wang > Research Assistant > Bioinformatics and Computational Biology > 111 Lab and Office Building > Iowa State University, 50010 -- Thomas Holder PyMOL Principal Developer Schrödinger, Inc. ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net) Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net