ADT and ast issue.

Ed Vidal

Hello All,
I am trying to use the ADT to build myhdl a python library.
To obtain myhdl I use git clone

I first setup the ADT.

source /opt/poky/1.8+snapshot/environment-setup-cortexa7hf-vfp-vfpv4-neon-poky-linux-gnueabi

The working python is appears to be the one I created with the bitbake meta-toolchain.

vidal@ws009:~/yocto_adt/build_myhdl/myhdl$ python
Python 2.7.9 (default, Jul 27 2015, 06:41:40)
[GCC 4.9.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
I see ast in the path of the ADT.

find /opt/poky/ -name ast*

This is the error that I am seeing.
vidal@ws009:~/yocto_adt/build_myhdl/myhdl$ python install
Traceback (most recent call last):
  File "", line 3, in <module>python install
    import ast
ImportError: No module named ast

When I use sudo to execute the command "sudo python install"

It appears to be using the system python not the ADT python.

Python 2.7.3 (default, Sep 26 2013, 20:03:06)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import ast
This works okay without the using the ADT.

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

Join to automatically receive all group messages.