hi:
I'm Needing to get python 2.7.10 to cross compile correctly for an ARM
embedded device. When I execute python using shell, it comes out this
error:ImportError: No module named site.I have setted environment
varible:PYTHONHOME and PYTHONPATH. Is there some good idea to sovle this
issue?
--
hi:
I'm Needing to get python 2.7.10 to cross compile correctly for an ARM
embedded device. When I execute python using shell, it comes out this
error:ImportError: No module named site.I have setted environment
varible:PYTHONHOME and PYTHONPATH. Is there some good idea to sovle this
issue?
..@openend.se>> wrote:
In a message of Fri, 24 Jul 2015 09:37:35 +0800,
"chenc...@inhand.com.cn <mailto:chenc...@inhand.com.cn>" write
s:
>hi:
>I'm Needing to get python 2.7.10 to cross compile correctly for
an ARM
>embedded device. Whe
hi:
I cross compiled python2.7.10 and install python on my embedded
device. But now, I may install pip on my embedded device. So, how can i
do that?
--
https://mail.python.org/mailman/listinfo/python-list
hi:
Python 2.7.9 and later (on the python2 series), and Python 3.4 and
later include pip by default.But i can not find it in python2.7.10
package. What's the matter? How can i install pip on my Embedded device?
--
https://mail.python.org/mailman/listinfo/python-list
hi:
I cross compiled python2.7.10 and install python on my embedded
device. But now, I may install pip on my embedded device.
So, I did it as follow:
1>I execute cmd:python -m ensurepip. It ocuurs errors as follow:
Traceback (most recent call last):
File "/usr
hi:
I download the python2.7.10 package and execute cmd: ./configure
--help.It is messages as follow:
Optional Packages:
--with-PACKAGE[=ARG]use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--with-universal-archs=ARCH
hi:
I download the python2.7.10 package and execute cmd: ./configure
--help.It is messages as follow:
Optional Packages:
--with-PACKAGE[=ARG]use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--with-universal-archs=ARCH
hi:
This is not a question about python. It is a shell question. I'm
sorry to bother you. But I really want to know it. As follow:
I want to set a shell environment variable:PYTHONPATH. When i
executeecho $PYTHONPATH, it is
value:/usr/lib/python/Lib:/usr/lib/python/lib/python27.zip:/var/a
hi:
I have to use numpy package. My python runs on my embedded arm
device. So, how do i cross compile numpy?
--
https://mail.python.org/mailman/listinfo/python-list
hi, Laura:
My embedded arm device supports floating point operation. I
have to use numpy and pandas packages. But now, I do not known how to
cross compile numpy and pandas packages?
On 09/11/2015 12:05 AM, Laura Creighton wrote:
In a message of Thu, 10 Sep 2015 18:11:08 +0800, "
hi:
I encountered a problem. I use ctypes load multiple C libraries, but
the libraries have dependence each other.So, how can i load these
libraries. For example, I have two libraries:A、B, but A depends on B, B
depends on A. So how do I load them? Is there anybody know how to do it?
--
http
/16/2015 05:41 PM, Chris Angelico wrote:
On Wed, Sep 16, 2015 at 7:35 PM, chenc...@inhand.com.cn
wrote:
I encountered a problem. I use ctypes load multiple C libraries, but the
libraries have dependence each other.So, how can i load these libraries. For
example, I have two libraries:A、B, but A
...} in _ctypes.c file.
/* add RTLD_LAZY and RTLD_NOW definitions*/
PyModule_AddObject(m, "RTLD_LAZY", PyInt_FromLong(RTLD_LAZY));
PyModule_AddObject(m, "RTLD_NOW", PyInt_FromLong(RTLD_NOW));
So, Is there anybody know how the CDLL can accept mode flag:RTLD_LAZY?
On 09/16/2015
hi:
I use libevent-python package currently. I read the file
eventmodule.c, but I can not understand the function:
static EventObject *EventBase_CreateEvent(EventBaseObject *self,
PyObject *args, PyObject *kwargs)
{
EventObject *newEvent = NULL;
newEvent = (EventObject *)Event_Ne
15 matches
Mail list logo