在使用jupyter notebook学习动手学深度学习时,出现以下错误:
%matplotlib inline
import math
import torch
from torch import nn
from torch.nn import functional as F
from d2l import torch as d2lbatch_size, num_steps = 32, 35
train_iter, vocab = d2l.load_data_time_machine(batch_size, num_steps)
部分初始化的模块 "pandas "没有属性 “core”(很可能是循环导入造成的)
解决:关闭所有的jupyter notebook,并重启