【问题标题】:Error while running python from atom editor. While its running using idle从 atom 编辑器运行 python 时出错。在使用空闲运行时
【发布时间】:2017-06-26 02:19:56
【问题描述】:

我只是从 python 开始。当我尝试使用 Atom 运行 python 时,它给了我'python' is not recognised as an internal or external command, operable program or batch file. 错误消息。 我只是安装 python3.6.1
从它提供的命令行运行 -

C:\Users\Priya Jain>python
Python 3.6.1 (v3.6.1:69c0db5, Mar 21 2017, 17:54:52) [MSC v.1900 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>

设置环境变量为

C:\Program Files (x86)\Python36-32\Scripts\;C:\Program Files (x86)\Python36-32\

那么我的问题是为什么原子编辑器没有使用脚本包运行

【问题讨论】:

标签: python python-3.x atom-editor


【解决方案1】:

我刚刚在我的笔记本电脑上解决了您的问题:您必须重新安装 python 并从安装菜单中选择“将 python 添加到环境变量”。 这应该可以。

【讨论】:

    猜你喜欢
    • 2021-09-25
    • 1970-01-01
    • 2016-01-01
    • 2017-10-20
    • 1970-01-01
    • 2021-07-20
    • 2014-10-24
    • 2021-09-28
    • 1970-01-01
    相关资源
    最近更新 更多