Install issues, maybe

General discussions and questions abound development of code with MicroPython that is not hardware specific.
Target audience: MicroPython Users.
Post Reply
KevinA
Posts: 12
Joined: Mon Nov 09, 2015 11:17 pm

Install issues, maybe

Post by KevinA » Tue May 29, 2018 3:26 am

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.

vikram20
Posts: 5
Joined: Sat Dec 28, 2019 8:41 am

Re: Install issues, maybe

Post by vikram20 » Mon Dec 30, 2019 8:01 am

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.

User avatar
jimmo
Posts: 2754
Joined: Tue Aug 08, 2017 1:57 am
Location: Sydney, Australia
Contact:

Re: Install issues, maybe

Post by jimmo » Fri Jan 03, 2020 5:56 am

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).

Post Reply