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
zzzain46
V2EX  ›  Python

VSCOde 调试 Python 终端报错

  •  
  •   zzzain46 · 2019-11-17 11:42:53 +08:00 · 2802 次点击
    这是一个创建于 1615 天前的主题,其中的信息可能已经有所发展或是发生改变。

    VSCOde 调试 python 终端报错,看了很多资料都不知道再怎么解决

    5 条回复    2019-11-17 12:05:38 +08:00
    imn1
        1
    imn1  
       2019-11-17 11:47:58 +08:00
    你用第三方替换了原来的 cmd 吧?
    superrichman
        2
    superrichman  
       2019-11-17 11:54:56 +08:00 via iPhone
    装了啥插件?
    zzzain46
        3
    zzzain46  
    OP
       2019-11-17 11:57:43 +08:00
    @imn1 之前因为 cmd 乱码修改过注册表,但是现在好像找不到修改的那条注册表了
    zvcs
        4
    zvcs  
       2019-11-17 12:01:25 +08:00 via iPhone
    在 vs 配置里面把默认命令行工具替换为 powershell 就行了。 你这个情况试试 set HOMEDRIVE 目录试试看
    ClericPy
        5
    ClericPy  
       2019-11-17 12:05:38 +08:00
    默认终端如果不想折腾 还是 git-bash 省心... 很多常用 linux 命令也兼容, 编码也 ok
    看截图似乎是你默认 cmd 启动不起来了
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   876 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 22:00 · PVG 06:00 · LAX 15:00 · JFK 18:00
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.