You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
with open(file_path, 'rb') as f:
data = pickle.load(f)
print(data)
报错是这样的
Traceback (most recent call last):
File "D:\pythonProject\PKL.py", line 7, in
data = pickle.load(f)
ModuleNotFoundError: No module named 'LRU_cache'
The text was updated successfully, but these errors were encountered:
代码是类似这样的
import pickle
文件路径
file_path = 'test.pkl'
with open(file_path, 'rb') as f:
data = pickle.load(f)
print(data)
报错是这样的
Traceback (most recent call last):
File "D:\pythonProject\PKL.py", line 7, in
data = pickle.load(f)
ModuleNotFoundError: No module named 'LRU_cache'
The text was updated successfully, but these errors were encountered: