升級(jí)到最新的idea
升級(jí)到最新的插件
powershell輸入, terminal中輸入也行 :
set http_proxy=http://127.0.0.1:10855
set https_proxy=http://127.0.0.1:10855
登錄, 可以成功
選中后重啟
我的pycharm版本是2022.1.4社區(qū)版
出現(xiàn)不能初始化
Failed to initiate the GitHub login process. Please try again.
安裝最新版copilot插件,然后用1.20替換core jar
首先,pycharm最新版本(我的是2022.1),copilot安裝最新版本,關(guān)閉pycharm
然后,下載copilot 1.1.20.1417版本文件(
地址
),并解壓,找到github-copilot-intellij-1.1.20.1417\github-copilot-intellij\lib 路徑下的core-1.1.20.jar 文件,同時(shí)復(fù)制它
接下來(lái)很關(guān)鍵,找到下面的路徑,其中XXX是電腦的用戶名
C:\Users\XXX\AppData\Roaming\JetBrains\IdeaIC2022.1\plugins\github-copilot-intellij\lib
將該路徑中的core.jar文件,替換成 core-1.1.20.jar
最后,打開(kāi)pycharm,至此就可以發(fā)現(xiàn)能夠正常使用Copilot了。
可以下載后,用硬盤(pán)方式安裝,比原來(lái)的速度快很多
插件下載地址
https://plugins.jetbrains.com/plugin/17718-github-copilot
關(guān)于copilot聯(lián)網(wǎng)失敗的問(wèn)題,
可以給copilot-agent-win.exe 單獨(dú)設(shè)置代理,推薦proxifier
具體的參考這篇文章
https://blog.csdn.net/qq_51204877/article/details/125070881文章來(lái)源:http://www.zghlxwxcb.cn/news/detail-483552.html
參考
https://www.pudn.com/news/62b0648dca7ee606dcd6f3ff.html文章來(lái)源地址http://www.zghlxwxcb.cn/news/detail-483552.html
到了這里,關(guān)于pycharm 安裝github copilot copilot 不能聯(lián)網(wǎng) 不能正常使用的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!