Python installation - Windows

APrince
Posts: 2
Joined: Mon Nov 19, 2018 9:38 am

Python installation - Windows

Postby APrince » Mon Nov 19, 2018 10:00 am

Hi,

I've been following the Getting Started guide successfully, till I came to the section where I am supposed to install Python packages. The thing is that there was no previous mention of installing the Python itself. What I don't understand is whether this is supposed to be the Python instance installed on the Windows host OS, or whether it refers to a Python instance installed within msys2 using some package manager (pacman?). Either way, I think that this section could use some improvements.

Anyway in my case,

Code: Select all

python --version
says

Code: Select all

-bash: python: command not found
So how should I install Python and which one preferably?

Thanks

User avatar
ESP_krzychb
Posts: 394
Joined: Sat Oct 01, 2016 9:05 am
Contact:

Re: Python installation - Windows

Postby ESP_krzychb » Mon Nov 19, 2018 12:47 pm

Hi APrince,

Have you run mingw32.exe as described in Check it Out?
Python is already included in this installation. No need to install it.

I see what you see if I run msys2.exe or mingw64.exe.

APrince
Posts: 2
Joined: Mon Nov 19, 2018 9:38 am

Re: Python installation - Windows

Postby APrince » Mon Nov 19, 2018 6:26 pm

My bad... You are right. I was launching msys instead of mingw.

Thanks

ESP_Sprite
Posts: 8921
Joined: Thu Nov 26, 2015 4:08 am

Re: Python installation - Windows

Postby ESP_Sprite » Mon Feb 04, 2019 12:57 pm

Locking this, as for some reason this question attracts spammers... feel free to start a new post if anyone has issues with specifically the ESP-IDF Python bits.

Who is online

Users browsing this forum: No registered users and 103 guests