加载numpy和pandas库时报错ImportError:
import numpy as np
import pandas as pd
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-43-59ab05e21164> in <module>
----> 1 import numpy as np
2 import pandas as pd
~/opt/anaconda3/lib/python3.8/site-packages/numpy/__init__.py in <module>
107 import warnings
108
--> 109 from ._globals import (
110 ModuleDeprecationWarning, VisibleDeprecationWarning,
111 _NoValue, _CopyMode
ImportError: cannot import name '_CopyMode' from 'numpy._globals' (/Users/x/opt/anaconda3/lib/python3.8/site-packages/numpy/_globals.py)