V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
xzm429438709
V2EX  ›  Python

有老哥知道内网怎么装 vscode 的 Python 扩展

  •  
  •   xzm429438709 · 269 天前 via Android · 2090 次点击
    这是一个创建于 269 天前的主题,其中的信息可能已经有所发展或是发生改变。
    有老哥知道内网怎么装 vscode 的 Python 扩展不,我下载了离线扩展,安装上去,直接卡住了
    11 条回复    2023-08-04 09:35:39 +08:00
    swap123
        1
    swap123  
       269 天前   ❤️ 1
    在有外网的电脑上把要的扩展下载好,然后把存放扩展的 extensions 目录拷到内网 vscode 的 extensions 。之前在内网 docker 里面安装 vscode 就这么搞的🤣
    evemoo
        2
    evemoo  
       269 天前
    远程桌面(问上级要权限)拉文件过去
    RuiCBai
        3
    RuiCBai  
       269 天前 via Android
    估计是版本不对应,看一下自己已经装好的 两个版本,下载对应的应该没问题
    shankun
        4
    shankun  
       269 天前 via Android
    在有外网的电脑上把要的扩展安装好,然后把存放扩展的 extensions 目录拷到内网 vscode 的 extensions 。确保内外网的 vscode 版本一致。
    Shatyuka
        5
    Shatyuka  
       269 天前
    试试先装 Pylance
    sakura6264
        6
    sakura6264  
       268 天前
    打开 https://marketplace.visualstudio.com/items?itemName=ms-python.python 之后找右侧 Download Extension,点击下载离线包,之后用 u 盘带到内网机器上安装
    GavinXSF
        7
    GavinXSF  
       268 天前
    应该是版本不匹配的锅,建议 VScode 和扩展都下载最新的,应该就没问题
    ipcjs
        8
    ipcjs  
       268 天前
    用手机共享网络,给电脑上网(
    enchilada2020
        9
    enchilada2020  
       268 天前 via Android
    真难受
    DOLLOR
        10
    DOLLOR  
       268 天前
    先在能上网的电脑上按照官方教程制作便携版的 vscode ( https://code.visualstudio.com/docs/editor/portable )。
    然后在便携版的 vscode 安装想要的插件。
    最后把便携版 vscode 打包,拷到内网电脑里启动。
    TerranceL
        11
    TerranceL  
       268 天前
    #1 的方案最佳最方便,最好是同版本的 code ,其实不同版本也能用。
    #5 的方案有可能也可以,反正之前拉过去一股脑的装会报什么 XHR failed 。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3138 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 12:52 · PVG 20:52 · LAX 05:52 · JFK 08:52
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.