• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

VS Code Powershell shows "←]633;P;IsWindows=True" with beep

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am using vs code for python codding and i was trying to upgrade pip and in the process my terminal showed this weird text with beeping noise.

The weird text:

←]633;P;IsWindows=True
633;A633;P;Cwd=C:\Users\ENJOY.ENJOY-PC\Downloads\Python Tests\Chapter 4PS C:\Users\ENJOY.ENJOY-PC\Downloads\Python Tests\Chapter 4> 633;B

What I have tried:

I tried to uninstall vs code and reset all the settings but it does not work.

I also tried to uninstall powershell and reinstall but that also does not work.

This texts only shows when i am using powershell (version 7.2.5) as terminal.Other shells like windows powershell,cmd,bash does not show this texts.
powershell-error.jpg
[Thumbnail for powershell-error.jpg]
 
Sheriff
Posts: 7001
6
Eclipse IDE Python C++ Debian Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think that the clue is in the amber-colored warning box towards the bottom right of your screenshot.

To use any language interpreters or compilers (in this case, Python) from VSCode you need to tell it where to look. You have not told it how to find Python!

VScode is "helpfully" showing you your command path to point out that there is no python on it.

I suggest you either add your Python directory to your PATH, or click on the cog icon at the bottom left of the VSCode screen and select Settings. Enter "python" in the search box and you should find some Python settings including the default interpreter path.
 
Saloon Keeper
Posts: 27885
198
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Just for information: I moved this thread to "Other IDEs", since it has nothing to do with certification.

I'm a little surprised that VSCode doesn't have a forum all its own, but apparently few people have questions about it. Which may be a good thing!
 
Dhaval Solanki
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
My python interpreter is working fine but the issue is still there.
 
Dhaval Solanki
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Frank Carver wrote:I think that the clue is in the amber-colored warning box towards the bottom right of your screenshot.

To use any language interpreters or compilers (in this case, Python) from VSCode you need to tell it where to look. You have not told it how to find Python!

VScode is "helpfully" showing you your command path to point out that there is no python on it.

I suggest you either add your Python directory to your PATH, or click on the cog icon at the bottom left of the VSCode screen and select Settings. Enter "python" in the search box and you should find some Python settings including the default interpreter path.



My python interpreter is working fine but the issue is still there.
powershell-error1.jpg
[Thumbnail for powershell-error1.jpg]
 
Tim Holloway
Saloon Keeper
Posts: 27885
198
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The funny characters and numbers are because they're supposed to be setting character colors and other attributes when that string is output to a shell command line. The problem there is that the output is instead being routed to an internal IDE pane that doesn't have "termcap" capabilities and therefore outputs the format command as literal text.

So ignore the glop. See if you can make sense of the actual text there. It's what's important.

I'd expect that this text is coming from the Python interpreter itself,  but I don't know why.
 
If you send is by car it's a shipment, but if by ship it's cargo. This tiny ad told me:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic