DavesCodeMusings / mpremote-vscode

Visual Studio Code extension for mpremote Python module
BSD 2-Clause "Simplified" License
11 stars 1 forks source link

VSC is not recognising py.exe BUT it does recognise python.exe #23

Closed mhavill closed 5 months ago

mhavill commented 6 months ago

I have loaded this VSC extension and am unable to use it as VSC is not recognising py.exe BUT it does recognise python.exe.

I have reinstalled Python 3.12.2 but the result is the same Python 3.12.2 (tags/v3.12.2:6abddd9, Feb 6 2024, 21:26:36) [MSC v.1937 64 bit (AMD64)] on win32.

In a cmd window I can force py.exe to be recognised with doskey py.exe =python.exe

C:\Users\mick>doskey py.exe = python.exe

C:\Users\mick>py.exe
Python 3.12.2 (tags/v3.12.2:6abddd9, Feb  6 2024, 21:26:36) [MSC v.1937 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>

I appreciate that this is likely to be a setup issue in my VSC but it would be helpful to be able to set the commands to use python.exe instead of py.exe

mhavill commented 5 months ago

Resolved - cleaned up python installs and environment variables