推荐学习书目
› 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
SimbaPeng
V2EX  ›  Python

vscode 又炸了?

  •  
  •   SimbaPeng · Feb 15, 2018 · 8202 views
    This topic created in 3188 days ago, the information mentioned may be changed or developed.

    运行 task 报错:

    启动外部程序 ${config:python.pythonPath} -u ${file} 失败。 spawn ${workspaceFolder}/ls_env/bin/python ENOENT

    工作区设置了 Python 环境路径: { "python.pythonPath": "${workspaceFolder}/ls_env/bin/python" }

    把${workspaceFolder}改成实际路径才能正常使用了。

    12 replies  •  2018-02-18 04:37:35 +08:00
    darrh00
    darrh00
    Feb 15, 2018
    1
    你的 python 安装到 workspace 了?
    PythonAnswer
    PythonAnswer
    Feb 15, 2018 via Android
    2
    为什么喜欢用编辑器运行。。
    dacapoday
    dacapoday
    Feb 15, 2018 via iPhone
    3
    @PythonAnswer 因为这样比较像 IDE
    SimbaPeng
    SimbaPeng
    OP
    Feb 15, 2018
    4
    @PythonAnswer 终端运行麻烦阿,编辑器有快捷键阿
    SimbaPeng
    SimbaPeng
    OP
    Feb 15, 2018
    5
    @darrh00 当然了,我是 cmd+shift+p 然后选择 VENV 里的解释器,路径配置都是 vscode 帮我写好的
    bramblex
    bramblex
    Feb 15, 2018
    6
    @dacapoday 那你需要一个 pycharm
    xwyam
    xwyam
    Feb 16, 2018 via Android
    7
    @bramblex 新年好(๑•̀ㅁ•́๑)✧
    bramblex
    bramblex
    Feb 16, 2018
    8
    @xwyam 新年快乐
    Jackeriss
    Jackeriss
    Feb 16, 2018
    9
    装一个终端插件更舒服吧
    zybzzc
    zybzzc
    Feb 16, 2018 via Android
    10
    反正最近打开大文件 vscode 不如 sublime
    greenhat233
    greenhat233
    Feb 16, 2018 via Android
    11
    vim。
    LeoEatle
    LeoEatle
    Feb 18, 2018
    12
    python 还是 pycharm 吧...
    除了 js 和 ts 用 vscode 好用,其他都可以 jetbrain
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1483 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 38ms · UTC 00:24 · PVG 08:24 · LAX 16:24 · JFK 19:24
    ♥ Do have faith in what you're doing.