Hi Garrett,
Using your system installer will not install pandas into Chimera's Python interpreter, which is why you need to install pip into Chimera with the get-pip.py script.  You do that with "chimera --nogui --script get-pip.py" from the Unix shell, not from within Chimera.  What happened when you tried it from the Unix shell?

--Eric

Eric Pettersen
UCSF Computer Graphics Lab
 

On Mar 27, 2024, at 9:59 AM, Garrett Scapellato via Chimera-users <chimera-users@cgl.ucsf.edu> wrote:

Eric,

I've tried installing pip to chimera using that code both in my terminal and in chimera, but I get syntax errors. Just in case it is important, I will note that I skipped the first step of installing the pip installer, because my computer already has a python pip installer.

Thanks,

Garrett Scapellato

Research Technician II
Edwards Lab
DHVI
Duke University

<Outlook-f2ju1yow.jpg>

From: Eric Pettersen <pett@cgl.ucsf.edu>
Sent: Friday, March 22, 2024 4:22 PM
To: Garrett Scapellato <garrett.scapellato@duke.edu>
Cc: chimera-users@cgl.ucsf.edu <chimera-users@cgl.ucsf.edu>
Subject: Re: [Chimera-users] Importing Modules into Chimera
 
Hi Garrett,
Chimera has its own Python interpreter, so installing pandas into other Python interpreters on your machine will not make available in Chimera.  You should be able to install pandas into Chimera's interpreter by following the instructions in this older mailing-list message: Re: [Chimera-users] How to install package in chimera python? - Chimera-users - RBVI Mailing Lists

--Eric

Eric Pettersen
UCSF Computer Graphics Lab


On Mar 22, 2024, at 12:29 PM, Garrett Scapellato via Chimera-users <chimera-users@cgl.ucsf.edu> wrote:

Chimera Help,


Hello, I hope you are doing well. I am attempting to use the "pandas" module while using Chimera to read python code. I receive this error any time I do. I am able to use pandas while using other python interpreters on my computer. I am also able to use other modules, such as NumPy when using Chimera to run python code. Any help in this issue would be greatly appreciated.


Thank you for your time,

Garrett Scapellato

Research Technician II
Edwards Lab
DHVI
Duke University

<Outlook-ciphrt3m.jpg>
<Screenshot 2024-03-22 at 3.24.24 PM.jpg>_______________________________________________
Chimera-users mailing list -- chimera-users@cgl.ucsf.edu
To unsubscribe send an email to chimera-users-leave@cgl.ucsf.edu
Archives: https://mail.cgl.ucsf.edu/mailman/archives/list/chimera-users@cgl.ucsf.edu/

<Screenshot 2024-03-27 at 12.56.10 PM.jpg><Screenshot 2024-03-27 at 12.54.55 PM.jpg>_______________________________________________
Chimera-users mailing list -- chimera-users@cgl.ucsf.edu
To unsubscribe send an email to chimera-users-leave@cgl.ucsf.edu
Archives: https://mail.cgl.ucsf.edu/mailman/archives/list/chimera-users@cgl.ucsf.edu/