Python beginner
Ask: why some program runs up, some will look like this?
(this is handwritten data set training code)
Traceback (the most recent call last) :
The File "C:/Users/86134/PycharmProjects/untitled/buzd2 py", line 7, in & lt; module>
The from torchvision import datasets, transforms# data sets, for image processing tool # # test
The File "C: \ Users \ \ PycharmProjects \ untitled \ 86134 venv \ lib \ site - packages \ torchvision \ set py", line 4, the in & lt; module>
The from torchvision import datasets
The File "C: \ Users \ \ PycharmProjects \ untitled \ 86134 venv \ lib \ site - packages, torchvision, datasets, set py", line 1, the in & lt; module>
From the lsun import lsun, LSUNClass
The File "C: \ Users \ \ PycharmProjects \ untitled \ 86134 venv \ lib \ site - packages \ torchvision \ datasets \ lsun py", line 5, in & lt; module>
Import the six
ModuleNotFoundError: No module named 'six'
CodePudding user response:
Six this module is not defined, look at the pathCodePudding user response:
PIP install sixCodePudding user response:
How to view the path?CodePudding user response:
PIP list six this moduleCodePudding user response:
PIP install six