jupyter notebook 调用
pd.read_excel()
报错:
ImportError: C extension: No module named ‘pytz.tzinfo’ not built. If you want to import pandas from the source directory, you may need to run ‘python setup.py build_ext --inplace --force’ to build the C extensions first.
在网上尝试了许多方法—都失败。最终解决办法:
pip uninstall pytz
pip install --pre pytz
成功解决√
感谢此处的大佬
https://github.com/sequana/sequana/issues/499