簡體   English   中英

Sublime text 3 未構建 python 文件

[英]Sublime text 3 not building a python file

我正在嘗試在 Ubuntu 的崇高文本 3 中構建(Ctrl+B)python(2.7 或 3)文件,我希望它在底部顯示一些消息,例如

[ 1.2 秒內完成 ]

但它什么也沒顯示。 我什至在完全刪除它后重新安裝了崇高文本,但它仍然無法正常工作。 我試圖為 Python3 制作一個新的構建系統,但用它構建也沒有顯示任何內容。 這是我擁有的構建系統(Python3)

{
    "shell_cmd": "/usr/bin/env python3 ${file}",
    "selector": "source.python",
    "file_regex": "^(...*?):([0-9]*):?([0-9]*)",
    "working_dir": "${file_path}"
}

我喜歡的 c++11 的其他構建系統運行良好。 我也可以在終端中使用 python2.7 和 python3。

這個答案是作為對問題Sublime text 3 not building a python 文件編輯,由 OP Sunil Kumar在 CC BY-SA 3.0 下發布。

感謝@math2001 的評論,我意識到我的代碼中的第一行是用戶input ,因此它正在等待用戶輸入輸入。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM