#1822 HTTPSConnectionPool(host='api.mymemory.translated.net', port=443): Max retries exceeded with url: /get?q=How%27s%20it%20

2409:8a20* Posted at: 15 hours ago 👁11

HTTPSConnectionPool(host='api.mymemory.translated.net', port=443): Max retries exceeded with url: /get?q=How%27s%20it%20going%2C%20y%27all%3F%20Let%27s%20learn%20Go%20today.%20This%20is%20an%20awesome%20language%20to%20learn%2C%20and%20so%20let%27s.%0AStart%20this%20tutorial%20right%20away%20with%20six%20main%20points%20you%20should%20know%20about%20the%20Go%20language.%20First%2C%20Go.%0AIs%20a%20statically%20typed%20language%2C%20which%20means%20that%20you%20have%20to%20either%20declare%20variable%20types%20explicitly%20or.%0AThey%20have%20to%20be%20inferred%2C%20and%20these%20types%20cannot%20change%20afterwards.%20At%20least%20not%20without%20type%20conversion%2C%20which.%0AWe%27ll%20get%20into%20in%20another%20video.%20Here%27s%20an%20example%20where%20I%27m%20creating%20a%20variable%20named%20myVariable%20in%20Go.%20I%20have%20to.%0ASpecify%20its%20type%20when%20I%20create%20it.%20For%20example%2C%20a%20string%20type%2C%20or%20I%20have%20to%20set%20it%20to%20something.%0ARight%20away%2C%20so%20it%20can%20be%20inferred%20what%20it%20is.%20In%20this%20case%2C%20the%20value%20is%20a%20string%2C%20so%20the%20variable%20is%20inferred.%0ATo%20be%20of%20type%20string.%0AGo%20is%20also%20strongly%20typed%2C%20i.e.%2C%20the%20operation%20you%20can%20perform%20on%20the%20variable%20depends%20on%20its%20type.%20For%20example.%0AIn%20Go%2C%20I%20can%27t%20add%20an%20integer%20and%20a%20string%20together.%20In%20a%20weakly%20typed%20language%20like%20JavaScript.%0AScript%20on%20the%20other%20hand%2C%20this%20is%20allowed.%0AGo%20being%20a%20statically%20and%20strongly%20typed%20language%20has%20its%20advantages%20in%20that%20the%20compiler%20can%20do%20more.%0AThorough%20checking%20of%20your%20code%20for%20errors%20and%20force%20you%20to%20fix%20bugs%20before%20you%20can%20even%20execute%20your.%0AYou%20also%20tend%20to%20get%20better%20code%20completion%20and%20hinting%20when%20developing%2C%20as%20it%27s%20more%20clear%20what%20each.%0AVariable%20is%20in%20your%20code.%20Go%20also%20comes%20with%20a%20compiler%20which%20translates%20your%20code%20into%20machine%20code.%0AProducing%20a%20binary%20file%20which%20can%20be%20ran%20as%20a%20standalone%20program.%20This%20in%20contrast%20with%20some%20languages.%0ALike%20Python%2C%20which%20use%20interpreters%2C%20these%20translate%20the%20code%20line%20by%20line%20as%20the%20code%20is%20running.%0AAdding%20some%20overhead%2C%20which%20can%20make%20the%20execution%20much%20slower%20as%20compared%20to%20executing%20a%20precompiled.%0ABinary%20file%20like%20Go%20produces%20here%27s%20an%20example%20where%20I%27m%20running%20a%20loop%20counting%20to%20100%20million.%0AIn%20both%20Go%20and%20Python%2C%20the%20execution%20time%20in%20Python%20took%20about%20six%20seconds%20on%20my%20machine.&langpair=en%7Czh-cn (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。')))


=
system:Windows-10-10.0.22631-SP0
version:v3.89
frozen:True
language:zh
root_dir:E:/下载视频/win-pyvideotrans-3.89

1 Replies

该错误表明软件在尝试通过代理服务器连接翻译服务 api.mymemory.translated.net 时失败,原因是代理服务器拒绝了连接(WinError 10061)。这通常是因为您设置了网络代理,但代理服务器未运行或配置不正确。

请按以下步骤解决:

  1. 检查代理设置:在 pyVideoTrans 主界面第5行,找到“网络代理”输入框。
  2. 修正或清空代理

    • 如果您不需要使用代理(例如,您在国内且不使用 Google/OpenAI 等服务),请清空“网络代理”输入框,然后重试。
    • 如果您需要使用代理,请确保代理地址和端口正确且代理服务正在运行。格式应为 http://代理IP:端口http://用户名:密码@代理IP:端口。请检查代理软件(如 Clash、V2RayN)是否已启动并监听在指定端口。
  3. 切换翻译渠道:作为临时解决方案,您可以尝试更换一个不需要代理的翻译渠道。在“翻译设置”中选择其他渠道,例如“微软翻译”或“百度翻译”(需申请Key)。

如果问题依旧,请提供 E:/下载视频/win-pyvideotrans-3.89/logs/ 目录下的最新日志文件以便进一步分析。

Post Your Reply
Open source and free maintenance is not easy. If this project is helpful to you, please consider making a small donation to help the project continue to maintain and update.

Donate: https://ko-fi.com/jianchang512

Similar issues already exist

Trending Questions