Hi Sunyeping, Enter on the upper command line in PyMOL, "conda install pandas" to gain access to the pandas from PyMOL.
Alternatively, you can install pymol in an anaconda env, activate that env, and then install pandas in that env. Best regards, Blaine Blaine Mooers, Ph.D. Associate Professor Department of Biochemistry and Molecular Biology, College of Medicine Director of the Laboratory of Biomolecular Structure and Function Academic Director, Biomolecular Structure Core, COBRE in Structural Biology Full Member, Cancer Biology Program, Stephenson Cancer Center University of Oklahoma Health Sciences Center Mailing Address: 975 NE 10th Street, BRC 466 Oklahoma City, OK 73104-5419 Office: 405-271-8300 Lab: 405-271-8312 Websites: Faculty page: https://basicsciences.ouhsc.edu/bmb/Faculty/bio_details/mooers-blaine-hm-phd BSC-OKC (LBSF): https://research.ouhsc.edu/Core-Facilities/Laboratory-of-Biomolecular-Structure-and-Function COBRE in Structural Biology: https://www.ou.edu/structuralbiology ________________________________________ From: sunyeping via PyMOL-users [pymol-users@lists.sourceforge.net] Sent: Wednesday, September 29, 2021 10:54 PM To: pymol-users Subject: [EXTERNAL] [PyMOL] How to import anaconda packages in Pymol? Dear all, I installed Pymol in CentOS from source following the guide in "https://pymolwiki.org/index.php/Linux_Install<https://urldefense.proofpoint.com/v2/url?u=https-3A__pymolwiki.org_index.php_Linux-5FInstall&d=DwQGaQ&c=VjzId-SM5S6aVB_cCGQ0d3uo9UfKByQ3sI6Audoy6dY&r=k0gMbcsdOcdbPUNV5tW66KQSZfXL0ewVDPVBp7tqbks&m=4XDBZ4622O10xA5XUfZJ6zzsdZojw2K5JrAD2yjDdPM&s=TZs4hlwxHiDIAIki3LnjGsNjyzNEKHO4Vqpjtrox4mA&e=>". I compiled Pymol with the Python from anaconda, but I found that I cannot import anaconda packages (such as pandas, numpy, etc.) in Pymol. The "import pandas" command will return "no such module named pandas" error. Could yuo tell me how to let pymol use the anaconda packages? I will appreciate any help. 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