Re: How to port a python package to a embedded system

2017-04-25 Thread Michael Torrie
On 04/25/2017 07:41 PM, chenchao wrote: > Hi, all: > > I have installed the PIP on my arm board now. But the 'numpy' > package includes some of C codes. This part of the C code must be > x-compiled and I don't know how to x-compiled this package. So, is there > a good idea for this issue?

Re: How to port a python package to a embedded system

2017-04-25 Thread Nathan Ernst
As previously asked: what board are you using? There might be a simple response to your issue, but you've yet to state the board you're using. You will not get any useful responses until you answer this very, very simple question. If you can't "pip install", you'll probably have to build from sour

Re: How to port a python package to a embedded system

2017-04-25 Thread chenchao
Hi, all: I have installed the PIP on my arm board now. But the 'numpy' package includes some of C codes. This part of the C code must be x-compiled and I don't know how to x-compiled this package. So, is there a good idea for this issue? On 04/25/2017 01:15 PM, Michael Torrie wrote: O

Re: How to port a python package to a embedded system

2017-04-25 Thread Chris Angelico
On Wed, Apr 26, 2017 at 3:15 AM, Michael Torrie wrote: > If chenchao installed Python from a distro package (always recommended) > then that link is exactly what he needs to do. In fact it would be a > good idea to install numpy from the repositories using apt-get also, if > it's there. > > If he

Re: How to port a python package to a embedded system

2017-04-25 Thread Michael Torrie
On 04/25/2017 08:07 AM, MRAB wrote: > On 2017-04-25 07:28, chenchao wrote: >> Hi, all: >> >> I installed it by 'pip install numpy' or 'python setup.cfg >> install' on my PC, but I do not know how to do this on my arm board. >> Because of my arm board does not have tool of pip. could you plea

Re: How to port a python package to a embedded system

2017-04-25 Thread MRAB
On 2017-04-25 07:28, chenchao wrote: Hi, all: I installed it by 'pip install numpy' or 'python setup.cfg install' on my PC, but I do not know how to do this on my arm board. Because of my arm board does not have tool of pip. could you please tell me any idea? Thanks! This might help: H

Re: How to port a python package to a embedded system

2017-04-25 Thread alister
On Mon, 24 Apr 2017 22:04:09 -0400, chenchao wrote: > Hi, everybody: > > I have x-compiled the cpython-2.7.10 and ported it on my ARM > board(it is not the Raspberry Pi and the Beaglebone Black). But now, I > have to use numpy python package on my board. So how do i x-compile this > packag

Re: How to port a python package to a embedded system

2017-04-24 Thread chenchao
Hi, all: I installed it by 'pip install numpy' or 'python setup.cfg install' on my PC, but I do not know how to do this on my arm board. Because of my arm board does not have tool of pip. could you please tell me any idea? Thanks! On 04/24/2017 11:39 PM, Michael Torrie wrote: On 04/24

Re: How to port a python package to a embedded system

2017-04-24 Thread Michael Torrie
On 04/24/2017 08:47 PM, chenchao wrote: >I have x-compiled the cpython-2.7.10 and ported it on my ARM > board(it is not the Raspberry Pi and the Beaglebone Black). But now, I > have to use numpy python package on my board. So how do i x-compile this > package? Is there anybody know how to

Re: How to port a python package to a embedded system

2017-04-24 Thread chenchao
Hi, all: My board is the ARM Cortex-A8 processor and support floating point arithmetic. On 04/24/2017 10:37 PM, Michael Torrie wrote: On 04/24/2017 08:04 PM, chenchao wrote: Hi, everybody: I have x-compiled the cpython-2.7.10 and ported it on my ARM board(it is not the Raspberry

Re: How to port a python package to a embedded system

2017-04-24 Thread chenchao
Hi, everybody: I have x-compiled the cpython-2.7.10 and ported it on my ARM board(it is not the Raspberry Pi and the Beaglebone Black). But now, I have to use numpy python package on my board. So how do i x-compile this package? Is there anybody know how to do this? Thanks! My embedded sy

Re: How to port a python package to a embedded system

2017-04-24 Thread Michael Torrie
On 04/24/2017 08:04 PM, chenchao wrote: > Hi, everybody: > > I have x-compiled the cpython-2.7.10 and ported it on my ARM > board(it is not the Raspberry Pi and the Beaglebone Black). But now, I > have to use numpy python package on my board. So how do i x-compile this > package? Is ther

Re: How to port a python package to a embedded system

2017-04-24 Thread Michael Torrie
On 04/24/2017 08:04 PM, chenchao wrote: > Hi, everybody: > > I have x-compiled the cpython-2.7.10 and ported it on my ARM > board(it is not the Raspberry Pi and the Beaglebone Black). But now, I > have to use numpy python package on my board. So how do i x-compile this > package? Is ther

Re: How to port a python package to a embedded system

2017-04-24 Thread chenchao
Hi, everybody: I have x-compiled the cpython-2.7.10 and ported it on my ARM board(it is not the Raspberry Pi and the Beaglebone Black). But now, I have to use numpy python package on my board. So how do i x-compile this package? Is there anybody know how to do this? Thanks! -- https:/

Re: How to port a python package to a embedded system

2017-04-24 Thread Michael Torrie
On 04/24/2017 03:45 AM, chenchao wrote: > Hi, everybody: > > I have port python-2.7 to my arm board. But i don't know how to > port a python package to my embedded system. For example, numpy pakage. > Therefore, is there anybody know how to do this? Thanks! Are you running a Linux distro

Re: How to port a python package to a embedded system

2017-04-24 Thread justin walters
On Mon, Apr 24, 2017 at 2:45 AM, chenchao wrote: > Hi, everybody: > > I have port python-2.7 to my arm board. But i don't know how to port > a python package to my embedded system. For example, numpy pakage. > Therefore, is there anybody know how to do this? Thanks! > > > > -- > https://mail