当我在创建的python虚拟环境中运行以下代码:
import seaborn as sns
iris = sns.load_datasets("iris")
iris.head()
总是报错:
ImportError: DLL load failed while importing shell: The specified procedure could not be found
原因是安装了错误的pywin32版本。
我安装了最新的302版本,将其降级到228之后,便可成功运行了
pip install --upgrade pywin32==228