Micropython-Unix
-
- Posts: 13
- Joined: Wed Jul 19, 2017 10:53 am
Micropython-Unix
Hi,
I am using orange pi zero running armbian(based on debian and ubuntu) for my project. I need to use the micropython package. I followed the steps given in "https://github.com/micropython/micropyt ... d-variants" , but I am getting the error "../py/mkrules.mk:131: recipe for target 'micropython' failed
make: *** [micropython] Error 1" when I run the command "make".
I want use micropython on my Orange pi board. How do I install the packages?
Best Regards,
I am using orange pi zero running armbian(based on debian and ubuntu) for my project. I need to use the micropython package. I followed the steps given in "https://github.com/micropython/micropyt ... d-variants" , but I am getting the error "../py/mkrules.mk:131: recipe for target 'micropython' failed
make: *** [micropython] Error 1" when I run the command "make".
I want use micropython on my Orange pi board. How do I install the packages?
Best Regards,
Re: Micropython-Unix
Can you paste the complete error?
-
- Posts: 13
- Joined: Wed Jul 19, 2017 10:53 am
Re: Micropython-Unix
Please find the attached file of the error I am getting.
- Attachments
-
- 1.jpg (203.52 KiB) Viewed 7270 times
Re: Micropython-Unix
You need python installed in your system.
-
- Posts: 13
- Joined: Wed Jul 19, 2017 10:53 am
Re: Micropython-Unix
I have installed python.
I think python is installed in root directory. I am trying to install micropython in home directory. Is that a problem?
I think python is installed in root directory. I am trying to install micropython in home directory. Is that a problem?
Re: Micropython-Unix
You're logged in as root (why?) but working in /home/micropython. That is just confusing, directories under /home are meant to be per-user directories..
Anyway: might be that you have python installed (are you sure?), but the error clearly is 'python: command not found' so you cannot run it. Can you run 'python' at the shell?
If not you'll have to fix that, or let the Makefile know about the actual path to the python executable like 'make PYTHON=/path/to/python'
Anyway: might be that you have python installed (are you sure?), but the error clearly is 'python: command not found' so you cannot run it. Can you run 'python' at the shell?
If not you'll have to fix that, or let the Makefile know about the actual path to the python executable like 'make PYTHON=/path/to/python'
-
- Posts: 13
- Joined: Wed Jul 19, 2017 10:53 am
Re: Micropython-Unix
The os comes with pre installed python and I am able to run python interpreter.
I re installed the os and I am getting same error.
Are there any other methods to use micropython packages and run them on the boards(orange pi, raspberry pi etc)?
I re installed the os and I am getting same error.
Are there any other methods to use micropython packages and run them on the boards(orange pi, raspberry pi etc)?
- Attachments
-
- 1.jpg (188.04 KiB) Viewed 7193 times
Re: Micropython-Unix
Did you respect the external dependencies as noted in the README? The packages libffi and libffi-dev seem to be missing.
-
- Posts: 13
- Joined: Wed Jul 19, 2017 10:53 am
Re: Micropython-Unix
Now it is working fine. I think pkg-config package was missing.
Thank you
Thank you