Comments (8)
"c:\Users\Administrator\Desktop\中文\temp-fuopntmsyc.py" python文件的路径里面有中文字符,你试试看没有中文路径的
from vscode-code-runner.
应该是Python.exe的路径有空格,改成下面的试试
"code-runner.executorMap":
{
"python": "\"C:\\Program Files\\Python35\\python.exe\""
}
from vscode-code-runner.
换成英文路径 文件名后 还是老问题,更改path路径 程序读不出python地址。我在run内只配置了python 路径 其他没有配置过 按你们提供的方法 右键点击代码 运行就出现了这些错误。
发自我的 iPhone
在 2016年9月13日,下午6:16,Jun Han [email protected] 写道:
应该是Python.exe的路径有空格,改成下面的试试
"code-runner.executorMap":
{
"python": ""C:\Program Files\Python35\python.exe""
}—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
from vscode-code-runner.
Solution#1:
你把python 路径加到环境变量里,就不用任何配置了
Solution#2:
你试下把[Running]后面的命令放到cmd去run,看看有没有一样的问题:
"C:\Program Files\Python35\python.exe" "c:\Users\Administrator\Desktop\中文\*******.py"
还有,你"C:\Program Files\Python35\python.exe"
加双引号了吗?当中有空格的话,肯定会fail
from vscode-code-runner.
谢谢 我有添加系统环境变量 所以没必要再去修改插件上的python路径 这样就可以run了。 还有个问题 我在使用input后 在输出里面怎么输入数据呢?
发自我的 iPhone
在 2016年9月14日,上午10:58,Jun Han [email protected] 写道:
Solution#1:
你把python 路径加到环境变量里,就不用任何配置了Solution#2:
你试下把[Running]后面的命令放到cmd去run,看看有没有一样的问题:
"C:\Program Files\Python35\python.exe" "c:\Users\Administrator\Desktop\中文*******.py"还有,你"C:\Program Files\Python35\python.exe"加双引号了吗?当中有空格的话,肯定会fail
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
from vscode-code-runner.
Input目前还不支持 现在有issue #17 在track
from vscode-code-runner.
@zhaohaixin , I have added support to read user input now. Please install the latest version, and set code-runner.runInTerminal
as true
and then have a try:
{
"code-runner.runInTerminal": true
}
from vscode-code-runner.
Thanks,that is awesome
发自我的 iPhone
在 2016年11月5日,上午11:29,Jun Han [email protected] 写道:
Closed #19.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
from vscode-code-runner.
Related Issues (20)
- Russian characters become gibberish
- Only a part of my code is been showed in output
- [Bug] VSCode doesn't remember "Run Code" for Python Files. Always showing output in Powershell Terminal. HOT 2
- stop code run can not stop console
- [Feature request] Make a version of `executorMapByGlob` that matches files' full paths instead
- [Bug] compiled file does not run on windows
- cpp debug can not stdin in terminal instead in the debug console
- Auto detect problem
- Batch runner Problem
- code language not supported or defined[Bug] HOT 2
- Keyboard shortcut error
- [Feature request] Smarter change to Current Working Directory (cwd)
- [Bug] Shortcut keys: crtl + alt + m is not stopping it HOT 1
- [Feature request] Run with arguements
- [Bug] Code Runner-created terminal is not reused after a terminal in VSCode is closed HOT 2
- [Bug]
- Error: Could not find or load main class HelloWorld Caused by: java.lang.NoClassDefFoundError: HelloWorld (wrong name: com/coderunner/javaapp/HelloWorld)
- Run code only once
- [Bug]The terminal display is abnormal
- [Feature request]
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-code-runner.