Hi Andreas, Looks like a known pandas issue, see:
https://github.com/pandas-dev/pandas/issues/16536 According to that issue, upgrading pandas could help. Cheers, Thomas > On Nov 21, 2018, at 5:01 PM, Andreas Tosstorff > <andreas.tossto...@cup.uni-muenchen.de> wrote: > > 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 -- Thomas Holder PyMOL Principal Developer Schrödinger, Inc. _______________________________________________ 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