Pandas in mantid workbench

I am having some trouble using the pandas libary in the mantid workbench. I installed pandas using pip install pandas in the python console and was hoping that I would be able to use pandas in the workbench but when I use import pandas I get an import error. I am sorry if this is a bit of a basic question but I am unfamiliar with how paths and modules work.

Hi,

Out of interest are you on Windows? On a normal command prompt (not inside Mantid), navigate (cd) to your MantidInstall\bin directory, for me C:\MantidInstall\bin
then input:

scripts\pip install pandas

Next close and reopen Mantid Workbench, and you should be able to import pandas in the python console.

Tell me if that works!

Yes that works thanks

1 Like