简体   繁体   English

Visual Studio 代码 - 终端问题

[英]Visual studio code - terminal issue

I'm trying to solve the problem with running python files in vsc on Windows.我正在尝试解决在 Windows 上的 vsc 中运行 python 文件的问题。 When I do it with the arrow on the right side I got this output:当我使用右侧的箭头进行操作时,我得到了这个 output:

python -u "c:\Users\Uytkownik\Desktop\pyth\sss.py"
C:\Users\Użytkownik\AppData\Local\Microsoft\WindowsApps\python.exe: can't open file 'c:\\Users\\Uytkownik\\Desktop\\pyth\\sss.py': [Errno 2] No such file or directory

It is caused by the fact that VSC skips polish letter "ż" (In the running command we can see Uytkownik instead of Użytkownik).这是因为 VSC 跳过了波兰字母“ż”(在运行命令中我们可以看到 Uytkownik 而不是 Użytkownik)。 I installed some language packs but it doesn't solve the problem with running.我安装了一些语言包,但它并没有解决运行问题。 Is this any possibility to unable to type the letter "ż" in the terminal(type polish letters).这是否有可能无法在终端中输入字母“ż”(输入波兰字母)。

Please use full English path .请使用完整的英文路径 Do not include other non English fonts in the path.路径中不要包含其他非英文 fonts。 And make sure you choose the right Python interpreter .并确保您选择了正确的Python 解释器

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

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