Hi all,

I am trying to use pandas in a script in pymol.

These are the first lines of the script:

from pymol import cmd, stored, math import pandas as pd

I get the following error message when running the script:

'module 'pandas' has no attribute 'plotting'

File "/home/andt88/anaconda3/lib/python3.6/site-packages/pmg_qt/pymol_qt_gui.py", line 863, in file_run

self.cmd.run(fname)

File "/home/andt88/anaconda3/lib/python3.6/site-packages/pymol/parsing.py", line 484, in run

run_(path, ns_pymol, ns_pymol)

File "/home/andt88/anaconda3/lib/python3.6/site-packages/pymol/parsing.py", line 533, in run_file

execfile(file,global_ns,local_ns)

File "/home/andt88/anaconda3/lib/python3.6/site-packages/pymol/parsing.py", line 528, in execfile

exec(co, global_ns, local_ns)

File "/home/andt88/Dropbox/PhD/IFN/Excipient_Screen/IFN_ES_2/NMR/NMR-Data/andreas/nmr/PPI-30 TEMPOL 250718/loadBfacts.py", line 2, in <module>

import pandas as pd

File "/home/andt88/anaconda3/lib/python3.6/site-packages/pandas/__init__.py", line 51, in <module>

plot_params = pandas.plotting._style._Options(deprecated=True)

I'd really appreciate your help with this!

Kind regards,

Andreas

_______________________________________________
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