ADT python build


Ed Vidal
 

Hello All,
On Raspberry Pi target and earlier version of myhdl was getting a
ImportError: No module named py_compile (see py_compile error attached)
Trying to install a python module using the ADT enviornment.
    name="myhdl",
    version=version,
    description="Python as a Hardware Description Language",
    long_description="See home page.",
    author="Jan Decaluwe",
    author_email="jan@...",
    url="http://www.myhdl.org"
The following are the steps that result in an error using the ADT and Raspberry Pi target.

mkdir build_myhdl
cd build_myhdl/
git clone https://github.com/jandecaluwe/myhdl.git
cd myhdl/
source /opt/poky/1.8+snapshot/environment-setup-cortexa7hf-vfp-vfpv4-neon-poky-linux-gnueabi
python setup.py install
which python
/opt/poky/1.8+snapshot/sysroots/x86_64-pokysdk-linux/usr/bin/python

python setup.py install
Traceback (most recent call last):
  File "setup.py", line 3, in <module>
    import ast
ImportError: No module named ast

Thanks in advance.
 
Edward Vidal Jr.
e-mail develone@...
915-595-1613

Join yocto@lists.yoctoproject.org to automatically receive all group messages.