CondaValueError: Malformed version string ‘~‘: invalid character(s).

Table of contents

Problem Description:

problem solved:


Problem Description:

When installing PyTorch, torchvision, torchaudio and other software packages in the Conda environment, it is clear that there is no problem with the input of the command, but it keeps reporting an error, saying that there is an extra symbol, and the error interface is as follows:

 problem solved:

After executing the following command, execute the above command again, and the error will be resolved.

python -m pip install --upgrade conda --user pip

 

Guess you like

Origin blog.csdn.net/weixin_41862755/article/details/132290255