错误NuGet包谷歌翻译API

错误NuGet包谷歌翻译API,nuget,asp.net-core-2.0,google-translate,Nuget,Asp.net Core 2.0,Google Translate,我正在尝试从NuGet安装Google.Cloud.Translation.V2软件包,我一直收到这个错误 无法从远程源“”检索有关“Google.Cloud.Translation.V2”的信息。 发送请求时出错。 无法连接到远程服务器 无法建立连接,因为目标计算机主动拒绝它72.21.81.200:443 如果您在命令中使用库的版本如下,请感谢: Install-Package Google.Cloud.Translation.V2 -Version 1.1.0 或: 或: 然后,防火墙可

我正在尝试从NuGet安装Google.Cloud.Translation.V2软件包,我一直收到这个错误

无法从远程源“”检索有关“Google.Cloud.Translation.V2”的信息。 发送请求时出错。 无法连接到远程服务器 无法建立连接,因为目标计算机主动拒绝它72.21.81.200:443


如果您在命令中使用库的版本如下,请感谢:

Install-Package Google.Cloud.Translation.V2 -Version 1.1.0
或:

或:

然后,防火墙可能会阻止你。如果您正在使用这些命令中的任何一个,并且错误仍然存在,那么这不是编码问题,可以检查此问题是否存在防火墙阻止您或任何其他网络问题

dotnet add package Google.Cloud.Translation.V2 --version 1.1.0
paket add Google.Cloud.Translation.V2 --version 1.1.0