Help for installing python executable for IT automation

I tried to install Python executable for Windows 10 Automation. It was not successful.
I then tried to install it via chocolatey. It was not successful. I got the following message:

How can I solve the problem? In the add or remove, I do not have any chocolatey. But I have Python installed. Python 3.10.1 (tags/v3.10.1:2cd268a, Dec 6 2021, 19:10:37) [MSC v.1929 64 bit (AMD64)] on win32.
python --version
Traceback (most recent call last):
File “”, line 1, in
NameError: name ‘python’ is not defined

Thank you in advance for your support.

Sounds like you have Windows Smart Screen set to vendor lock to Windows store only mode. You’ll have to switch that setting off.

1 Like

Dear Brénainn Woodsend,

Thank you very much for your reply.