我在spyder3
. 我在执行以下操作时遇到错误:
mp=MPRester('api key')
data = mp.query(criteria={}, properties=['task_id']) #this line raises error
错误是:
NameError: name '**IProgress**' is not defined.
在处理上述异常的过程中,又出现了一个异常:
ImportError: **FloatProgress** not found. Please update jupyter and ipywidgets.
但我没有使用Jupyter notebook并且ipywidgets已更新。在Google 协作中工作时不会发生此问题。