After installing pytorch on the command line, the reference in pychar reports an error saying that it is not installed.
solve:
I am installed in the default environment, so I need to select the corresponding environment and add the installed python.