[yocto] ADT python build

Edward Vidal develone at sbcglobal.net
Mon Jul 27 07:53:54 PDT 2015


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 at jandecaluwe.com",
    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 at sbcglobal.net
915-595-1613
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20150727/10bdd74f/attachment.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: attached.txt
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20150727/10bdd74f/attachment.txt>


More information about the yocto mailing list