Home > other >  Emmmm, it is environmental collocation I went wrong? To solve!
Emmmm, it is environmental collocation I went wrong? To solve!

Time:10-01


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 path

CodePudding user response:

PIP install six

CodePudding user response:

How to view the path?

CodePudding user response:

PIP list six this module

CodePudding user response:

PIP install six
  • Related