简体   繁体   English

我的崇高文本没有运行 python 程序

[英]My sublime text is not running the python programs

I am currently using sublime text build 3176 and I've also made a new build system for python 3.5, but while running the program, the console is giving me an error that it cannot find the file specified.我目前正在使用 sublime text build 3176 并且我还为 python 3.5 制作了一个新的构建系统,但是在运行程序时,控制台给我一个错误,它找不到指定的文件。 It is showing the following error:它显示以下错误:

[WinError 2] The system cannot find the file specified
[cmd: ['/usr/local/bin/python3.5', '-u', 'C:\\Users\\Samrat\\Documents\\lol.py']]
[dir: C:\Users\Samrat\Documents]
[path: C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Users\Samrat\AppData\Local\Microsoft\WindowsApps;]

Please help.请帮忙。

You need to add Python 3.5 binary location to PATH variable and try again.您需要将 Python 3.5 二进制位置添加到 PATH 变量并重试。

Also you may search the web before posting: Running python in Sublime Text 2 getting error您也可以在发帖前搜索网络: 在 Sublime Text 2 中运行 python 出现错误

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM