Advertisement
Guest User

Untitled

a guest
Mar 12th, 2014
275
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.12 KB | None | 0 0
  1. UBUNTU HOST:
  2.  
  3. $ which python
  4. /usr/bin/python
  5. $ python
  6. Python 2.7.3 (default, Feb 27 2014, 20:00:17)
  7. [GCC 4.6.3] on linux2
  8. Type "help", "copyright", "credits" or "license" for more information.
  9. >>> import bb
  10. Traceback (most recent call last):
  11.   File "<stdin>", line 1, in <module>
  12. ImportError: No module named bb
  13. >>> import polib
  14. >>>
  15.  
  16.  
  17. POKY:
  18.  
  19. $ which python
  20. /opt/poky/1.5.1/sysroots/i686-pokysdk-linux/usr/bin/python
  21. $ python
  22. Python 2.7.3 (default, Dec 14 2013, 11:50:58)
  23. [GCC 4.8.1] on linux2
  24. Type "help", "copyright", "credits" or "license" for more information.
  25. >>> import bb
  26. >>> import polib
  27. Traceback (most recent call last):
  28.   File "<stdin>", line 1, in <module>
  29. ImportError: No module named polib
  30. >>>
  31.  
  32. $ export PYTHONPATH=$PYTHONPATH:/usr/local/lib/python2.7/dist-packages/
  33. $ python
  34. Python 2.7.3 (default, Dec 14 2013, 11:50:58)
  35. [GCC 4.8.1] on linux2
  36. Type "help", "copyright", "credits" or "license" for more information.
  37. >>> import bb
  38. >>> import polib
  39. >>>
  40.  
  41.  
  42.  
  43. BITBAKE (WITH POKY):
  44.  
  45. ERROR: Please install polib (e.g. 'pip install polib' or by using your favorite distro's package manager)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement