从清华镜像源下载nlpia 0.5.2版本之后,配套python3.8运行出现的问题解决方案
1、Numpy AttributeError: module ‘numpy’ has no attribute ‘typeDict’
使用np.sctypeDict替换
参考https://numpy.org/devdocs/release/1.21.0-notes.html
2、pandas.datetime
Pandas 1.0 中的 datetime 被移除了,使用Python 标准库中的 datetime 模块
参考 https://deepinout.com/pandas/pandas-questions/101_pandas_why_was_datetime_removed_from_pandas_10.html#google_vignette
3、pandas.np
pandas.np使用numpy替代
import numpy as np