Page 1 of 1

Install issues, maybe

Posted: Tue May 29, 2018 3:26 am
by KevinA
Following along with the install on Github I bombed on the final make:
$ make V=1
python ../../py/makeversionhdr.py build/genhdr/mpversion.h
make: python: Command not found
../../py/py.mk:278: recipe for target 'build/genhdr/mpversion.h' failed
make: *** [build/genhdr/mpversion.h] Error 127
If I enter python nothing happens, python3 runs python, alias python=python3 works from the command line but not with make.
FYI Ubuntu 16.04 Xenial on Windows 10, everything installed and compiled.
Never Mind.. Installed python2.7 and MicroPython v1.9.4-101-g98d1609 on 2018-05-28; linux version, is the result.

Re: Install issues, maybe

Posted: Mon Dec 30, 2019 8:01 am
by vikram20
Hi Kevin
Did you find any solution for the error ?
Iam also struggling for the same error. it struck up there only . Already 'mpversion.h' file is generated in 'genhdr' folder but it shows the same error continuously.

Re: Install issues, maybe

Posted: Fri Jan 03, 2020 5:56 am
by jimmo
The original post has the solution, which was at the time to install python2.7. But that shouldn't be necessary.

Are you actually seeing the same error? Can you paste the output from make? (and more information about how you're building MicroPython).