question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Name not recognized as cmdlet name

See original GitHub issue

Issue Type: Bug

При запуске VSCode возникает ошибка & : Имя “C:/Users/лександр/AppData/Local/Programs/Python/Python39/python.exe” не распознано как имя командлета, функции, файла сценария или выполняемой программы. В фрагменте Users/лександр/ пропущена буква А. При объединении двух путей к папкам /python и /python/script в переменной среды Path из двух строк в обну и обратно и перезагрузке VSCode перестает выдавать ошибку до следующего запуска VSCode

Extension version: 2021.3.658691958 VS Code version: Code 1.54.3 (2b9aebd5354a3629c3aba0a5f5df49f43d6689f8, 2021-03-15T10:55:45.459Z) OS version: Windows_NT x64 10.0.19042

System Info
Item Value
CPUs Intel® Core™ i5-4670 CPU @ 3.40GHz (4 x 3392)
GPU Status 2d_canvas: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 7.89GB (4.37GB free)
Process Argv –crash-reporter-id 646c94cc-05bb-4612-b697-4199a6322056
Screen Reader no
VM 67%
A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvsdeb440:30248342
pythonvsded773:30248341
vstes627:30244334
pythonvspyt875:30259475
pythonvsnew554:30277037
pythontb:30265425
vscoresta800cf:30276762
vspre833cf:30267465
vsfjg287:30275553
vshan820cf:30276953

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
int19hcommented, Mar 24, 2021

The error message is from PowerShell, saying that it couldn’t find path to Python. However, the reason why it couldn’t do so appears to be a missing non-Latin letter (Cyrillic “А”) in the path, rendering it invalid. It sounds like some Unicode or locale handling issue?

0reactions
int19hcommented, Mar 24, 2021

Похоже, это какой-то глюк PowerShell. Если установка 7-го полностью лечит эту проблему, значит, они её уже пофиксили со своей стороны.

Read more comments on GitHub >

github_iconTop Results From Across the Web

The term '...' is not recognized as the name of a cmdlet
Hi, I am new to PowerShell. I am running on Win7 and I have the following module installed. I constantly hit with error:...
Read more >
The Term Is Not Recognized as the Name of a Cmdlet ...
The first thing you should do when you see the “term is not recognized as the name of a cmdlet, function, script file,...
Read more >
PowerShell The term is not recognized as cmdlet function ...
Related post - Error: The term './RunCommandLine.ps1' is not recognized as the name of a cmdlet, function, script file, or operable program.
Read more >
Dealing with 'term is not recognized as the name of a cmdlet'
Among PowerShell errors, term not recognized is commonly dismissed as a spelling error, but there can be so many other causes beyond just...
Read more >
Fix 'the term is not recognized as the name of a cmdlet' Issue ...
If the module is missing or damaged, PowerShell cannot run it. By default you must install modules to use them. If that module...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found