Hello All,
I am trying to use the ADT to build myhdl a python library.To obtain myhdl I
use git clone https://github.com/jandecaluwe/myhdl.git
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*
/opt/poky/1.8+snapshot/sysroots/x86_64-pokysdk-linux/usr/lib/python2.7/compiler/ast.pyc
/opt/poky/1.8+snapshot/sysroots/x86_64-pokysdk-linux/usr/lib/python2.7/compiler/ast.py
This is the error that I am seeing.
vidal@ws009:~/yocto_adt/build_myhdl/myhdl$ python setup.py install
Traceback (most recent call last):
File "setup.py", line 3, in <module>python setup.py install
import ast
ImportError: No module named ast
When I use sudo to execute the command "sudo python setup.py install"
It appears to be using the system python not the ADT python.
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 devel...@sbcglobal.net
915-595-1613
--
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto