PYTHON from Microsoft Windows Store

According to the help file;
The version supported by TCC is from https://python.org.

I have installed Python 3.9 from the Microsoft Windows Store, but I have several issues with using it from TCC, as outlined in the below .BTM.

Is this WAD, that is, only the version from Welcome to Python.org is supported by TCC?

Joe

Code:
@setlocal
@echo off

 COMMENT
     _x64: 1
   _admin: 1
_elevated: 1

TCC  27.00.21 x64   Windows 10 [Version 10.0.19042.867]
ENDCOMMENT

:: I have installed Python 3.9 from the Microsoft Windows Store
::https://www.microsoft.com/en-ca/p/python-39/9p7qfqmjrfp7

::A check with PATH /N shows it is already in my path, but just to be sure;
set path=C:\Users\Joe Caverly\AppData\Local\Microsoft\WindowsApps;%path%

::Already set in the dialog, but just to be sure;
option //Python=Yes

which /a python
::python is an executable extension : start /pgm C:\Users\Joe Caverly\AppData\Local\Microsoft\WindowsApps\python.exe
::python is an external : C:\Users\Joe Caverly\AppData\Local\Microsoft\WindowsApps\python.exe

::test.py contains the single line;
::print("test")

:: This produces the error;
:: TCC: Could not load Python dll
test.py

:: This works as it should
python test.py

:: Script says that the Python ActiveScript Engine is installed
e:\utils>script
COMMENT
JScript
XML
VBScript
VBScript.Encode
JScript.Compact
Python.AXScript.2
JScript
JScript.Encode
ENDCOMMENT

:: This...
script /E Python test.py
:: ...produces a dialog box
COMMENT
---------------------------
Error
---------------------------
Failed to create an IActiveScript for the specified language.
---------------------------
OK   
---------------------------
ENDCOMMENT

endlocal
quit
 
According to Process Explorer;
1616526864457.png

Also, when I start Python;
Code:
e:\utils>python
Python 3.9.2 (tags/v3.9.2:1a79785, Feb 19 2021, 13:44:55) [MSC v.1928 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>
...so the Python 3.9 that I downloaded from the Microsoft Windows Store is indeed 64-bit.

Regardless, as TCC only supports up to 3.8, does not really matter at this time.

Joe
 
Similar threads
Thread starter Title Forum Replies Date
Alpengreis UTF-8 problem in TCC related to Python Support 7
Alpengreis Python support for 3.8.3 in TCC v26.x? Support 2
N Python 3.8.2 Support in 26? Support 3
fpefpe Python dll error Support 3
MickeyF Why doesn't my python program get executed without specifying its path? Support 2
J Error running Python at command line Support 9
fpefpe Documentation Python Examples Support 14
fpefpe Documentation Python support Support 11
jbanaszczyk Non ActiveState Python/Perl Support 4
J Python: TCC command line parsing removes '=' equal sign characters Support 4
fpefpe WAD Python support does not process command line Support 14
fpefpe How to? Path(s) for Python Support 0
fpefpe Documentation Python Support 5
Stefano Piccardi How to? return values from @python Support 2
lassevk exit(1) in a python script exits console, by design or bug? Support 1
p.f.moore TCMD v10 - Python support - use version 2.6? Support 2
fishman@panix.com Microsoft messed me up... Support 1
thorntonpg windows 11 Support 12
vefatica Windows 10 themes Support 0
J Take command does not start on Windows 10 Support 3
D How to? Windows Key-Left and Windows Key-Right Support 9
D Open Windows 10 Photos app from command line Support 11
vefatica Windows Terminal ... Pop-up location Support 1
Joe Caverly Windows Terminal and @SELECT Support 13
vefatica Console popup windows don't work correctly Support 0
D Layout debugger windows Support 2
L LIST's pop-up search loses focus in a Windows Terminal window Support 15
nickles ANSI Colors Windows 7 no longer working Support 6
S Windows Server version not being detected correctly in TCMD 26RC2 Support 9
D Which is the latest version for Windows XP? Support 2
rconn News Windows 7 Support Support 0
Joe Caverly Windows Size is 80x0 Support 2
rconn Dropping Windows 7 support in Take Command / TCC v26 Support 8
G Taskbar Windows 10 Support 7
T Windows Terminal Support 2
Joe Caverly Windows Sensor Support 5
vefatica Windows 10 and line wrapping selection? Support 6
fishman@panix.com New Problem with later Windows 10 Support 10
CWBillow Upgrade Windows 10's effect on TCMD and TCC Support 3
T Take Command v21 on Windows Server Support 1
Bill de Haan "Sensitive Privilege Use" in Windows security auditing Support 7
Joe Caverly Create Windows Jobs and optionally attach processes to a job Support 17
Joe Caverly What version and Windows OS are you using? Support 3
A Windows 10 This app can't run on your PC Support 2
G 4NT on Windows 10 Support 3
vefatica Undesired scrolling in Windows 10 enhanced console. Support 2
vefatica Windows 10 version number? Support 6
vefatica How do I see Windows 10's ANSI in action? Support 3
A List windows with titles matching given pattern? Support 2
M New "pinned" attribute (since Windows 10 1709) Support 6

Similar threads