Could not fetch URL https://pypi.org/simple/tensorboard/:There was a problem confirming the ssl

ERROR: Could not find a version that satisfies the requirement tensorboard
ERROR: No matching distribution found for tensorboard

在这里插入图片描述

此错误的解决方式网上有很多。大多数没什么用。此处亲测有效。

必须在C/%user%下面新建一个pip目录。然后在该目录下新建一个pip.ini文件,然后导入新的文件内容。内容如下:

[global]

index-url=http://mirrors.aliyun.com/pypi/simple/

[install]

trusted-host=mirrors.aliyun.com

在这里插入图片描述
一切操作完成之后即可操作你想要安装的东西
在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/weixin_51415327/article/details/120556787
今日推荐