Loading

Pytorch相关错误及解决方案

Pytorch 相关错误及解决方案

AttributeError: module 'resource' has no attribute 'getpagesize

错误信息

AttributeError: module 'resource' has no attribute 'getpagesize

错误描述

在 Pycharm 中启动 Jupyter Notebook 时,弹窗此错误。

解决方案

发现是因为我在项目的目录中有一个命名为"resource"的文件夹,更改该文件夹名称后错误解决。

posted @ 2024-03-19 09:22  杨谖之  阅读(80)  评论(0编辑  收藏  举报