问题
使用的是python3.12,运行
pip install jupyter d2l
发现出现错误
AttributeError: module 'pkgutil' has no attribute 'ImpImporter'. Did you mean: 'zipimporter'?
尝试多种办法无法解决。
解决方案
查询后发现可能是因为python3.12版本问题,卸载miniconda最新版本,安装python3.9或其他版本的miniconda后解决。
使用的是python3.12,运行
pip install jupyter d2l
发现出现错误
AttributeError: module 'pkgutil' has no attribute 'ImpImporter'. Did you mean: 'zipimporter'?
尝试多种办法无法解决。
查询后发现可能是因为python3.12版本问题,卸载miniconda最新版本,安装python3.9或其他版本的miniconda后解决。