File "C:\ProgramData\Anaconda3\envs\torch\lib\site-packages\torch\utils\tensorboard\__init__.py", line 6, in <module>
from .writer import FileWriter, SummaryWriter
File "C:\ProgramData\Anaconda3\envs\torch\lib\site-packages\torch\utils\tensorboard\writer.py", line 18, in <module>
from ._convert_np import make_np
File "C:\ProgramData\Anaconda3\envs\torch\lib\site-packages\torch\utils\tensorboard\_convert_np.py", line 12, in <module>
from caffe2.python import workspace
File "C:\ProgramData\Anaconda3\envs\torch\lib\site-packages\caffe2\python\workspace.py", line 15, in <module>
from past.builtins import basestring
ModuleNotFoundError: No module named 'past'
解决方法
pip install future
|