![](/img/trans.png)
[英]I am unable to run any command or file of python - there is no output in terminal
[英]I am able to run python on my command prompt of windows but unable to run it in terminal of atom editor
這是你的 Python 目錄嗎? 即那里有一個名為“python.exe”的文件嗎?
據我所知,atom 應該從命令提示符繼承 PATH 變量(我可能錯了)。 如果你重新啟動 atom,這會持續嗎?
還有 - 當你用命令提示符測試它時,它是否指向同一個目錄? 本質上,它不會打開,因為它需要 a) 在當前目錄中查看 Python 可執行文件,或者 b) 知道在哪里可以找到 Python 可執行文件(PATH 變量)
將 python 添加到 PATH: https : //superuser.com/questions/143119/how-do-i-add-python-to-the-windows-path
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.