Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pickle加载文件时报错ModuleNotFoundError: No module named 'scipy.sparse._csr',scipy库版本为1.7.3,希望得到作者的解答,万分感谢 #34

Closed
ZZZWWL opened this issue Apr 9, 2024 · 1 comment

Comments

@ZZZWWL
Copy link

ZZZWWL commented Apr 9, 2024

作者您好:
我在复现多行为模型kmclr时使用pickle.load加载数据集文件出现如下报错:

Traceback (most recent call last):
File "C:\Users\zwl\Downloads\SSLRec-main\data_utils\data_handler_multi_behavior.py", line 49, in _load_data
data = pickle.load(fs)
ModuleNotFoundError: No module named 'scipy.sparse._csr'

   而且我的scipy库版本也是1.7.3。请问您知道这是为什么吗?期待您的答复
@Re-bin
Copy link
Collaborator

Re-bin commented Apr 10, 2024

嗨 👋!

感谢关注,可以重新创建一个环境并且尝试一下scipy==1.9.3,单独把文件复制出来看一下能否用pickle读取。希望可以帮到您 :)

Best regards,
Xubin

@Re-bin Re-bin closed this as completed Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants