This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Mar 12th, 2014  |  syntax: Bash  |  size: 1.12 KB  |  views: 191  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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)
clone this paste RAW Paste Data