Python was not found; run without arguments to install from the Microsoft Store

Python was not found; run without arguments to install from the Microsoft Store
Python was not found; run without arguments to install from the Microsoft Store

Вы в ужасе, когда вводите команду python -v и получаете ответ от системы - Python was not found; run without arguments to install from the Microsoft Store

Что нужно?

Следовать инструкциям:

Удалите полностью Python.

Python was not found; run without arguments to install from the Microsoft Store, image #2

Запустите инсталлятор.

Python was not found; run without arguments to install from the Microsoft Store, image #3

Нажмите Customize installation

Python was not found; run without arguments to install from the Microsoft Store, image #4

Next

Установить все галки:

Обратить внимание на путь = C:\Program Files\Python314

Python was not found; run without arguments to install from the Microsoft Store, image #5

Install

Python was not found; run without arguments to install from the Microsoft Store, image #6
Python was not found; run without arguments to install from the Microsoft Store, image #7

Пуск - Выполнить - rundll32.exe sysdm.cpl,EditEnvironmentVariables

Проверьте Системную Переменную Path

Python was not found; run without arguments to install from the Microsoft Store, image #8

Убедитесь что пути прописаны:

"C:\Program Files\Python314"
"C:\Program Files\Python314\Scripts"

Если нет, то добавьте - Обзор - укажите путь

Ещё раз второй путь. ОК.

Введите команды в командной строке или в PowerShell:

python -V
pip -V
py -V
Python was not found; run without arguments to install from the Microsoft Store, image #9

Не лишним будет в PowerShell ввести:

winget install --id Git.Git -e --source winget

Установить Git.

Если не работает winget

Выполните команды по очереди в PowerShell^

Install-PackageProvider -Name NuGet -Force | Out-Null
Install-Module -Name Microsoft.WinGet.Client -Force -Repository PSGallery | Out-Null
Repair-WinGetPackageManager -Force -Latest

Установите Anaconda.

Проверьте Переменные Пользователя:

C:\ProgramData\anaconda3

C:\ProgramData\anaconda3\Scripts

Python was not found; run without arguments to install from the Microsoft Store, image #10

Проверьте командой:

conda -V
Python was not found; run without arguments to install from the Microsoft Store, image #11

Всё, наслаждайтесь!

28 views·1 share