How to run grove 0,96" OLED Display with hello world example on Beagle Bone Green wireless?


I know the question is a bit dumb but I am new and I need help. So I have a problem: Everytime when I run the hello world example code from the

seeed wiki, for my Grove OLED screen, I see this message:

Traceback (most recent call last):

File “/var/lib/cloud9/Grove/”, line 2, in

import smbus2 as smbus

ImportError: No module named smbus2

I must install the smbus2 library (sudo pip install smbus2), but I don’t know where to write it. I know, it sounds stupid, but there is no tutorial on YouTube or on google. Please help me to learn the basics.

Thank you,


Hi Grooxy

please run below commands

  1. sudo apt update
  2. sudo apt install python3-pip
  3. sudo pip3 install smbus2
  4. copy the codes to and then run below command
  5. sudo python3

    Seeed techsupport team


First, thank you for the help!

But I have a little problem: so I wrote the commands: sudo apt update then sudo apt install python3-pip but when I wrote sudo pip3 install smbus2 cloud9 showed me this:

[code] Collecting smbus2
Traceback (most recent call last):
File “/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/”, line 138, in _new_conn
(, self.port), self.timeout, **extra_kw)
File “/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/util/”, line 75, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
File “/usr/lib/python3.5/”, line 733, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Temporary failure in name resolution

During handling of the above exception, another exception occurred:Traceback (most recent call last):
File “/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/”, line 594, in urlopen
File “/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/”, line 350, in _make_request
File “/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/”, line 837, in _validate_conn
File “/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/”, line 281, in connect
conn = self._new_conn()
File “/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/”, line 147, in _new_conn
self, “Failed to establish a new connection: %s” % e)
requests.packages.urllib3.exceptions.NewConnectionError: <requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0xb5980750>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/usr/lib/python3/dist-packages/pip/”, line 215, in main
status =, args)
File “/usr/lib/python3/dist-packages/pip/commands/”, line 353, in run
File “/usr/lib/python3/dist-packages/pip/”, line 749, in build
File “/usr/lib/python3/dist-packages/pip/req/”, line 380, in prepare_files
File “/usr/lib/python3/dist-packages/pip/req/”, line 554, in _prepare_file
File “/usr/lib/python3/dist-packages/pip/req/”, line 278, in populate_link = finder.find_requirement(self, upgrade)
File “/usr/lib/python3/dist-packages/pip/”, line 465, in find_requirement
all_candidates = self.find_all_candidates(
File “/usr/lib/python3/dist-packages/pip/”, line 423, in find_all_candidates
for page in self._get_pages(url_locations, project_name):
File “/usr/lib/python3/dist-packages/pip/”, line 568, in _get_pages
page = self._get_page(location)
File “/usr/lib/python3/dist-packages/pip/”, line 683, in _get_page
return HTMLPage.get_page(link, session=self.session)
File “/usr/lib/python3/dist-packages/pip/”, line 792, in get_page
“Cache-Control”: “max-age=600”,
File “/usr/share/python-wheels/requests-2.12.4-py2.py3-none-any.whl/requests/”, line 501, in get
return self.request(‘GET’, url, **kwargs)
File “/usr/lib/python3/dist-packages/pip/”, line 386, in request
return super(PipSession, self).request(method, url, *args, **kwargs)
File “/usr/share/python-wheels/requests-2.12.4-py2.py3-none-any.whl/requests/”, line 488, in request
resp = self.send(prep, **send_kwargs)
File “/usr/share/python-wheels/requests-2.12.4-py2.py3-none-any.whl/requests/”, line 609, in send
r = adapter.send(request, **kwargs)
File “/usr/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/”, line 47, in send
resp = super(CacheControlAdapter, self).send(request, **kw)
File “/usr/share/python-wheels/requests-2.12.4-py2.py3-none-any.whl/requests/”, line 423, in send
File “/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/”, line 643, in urlopen
File “/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/util/”, line 315, in increment
total -= 1
TypeError: unsupported operand type(s) for -=: ‘Retry’ and ‘int’[/code]

Do you know what I should do, I hope somebody can help!

Hi there, please retry and see if it can help. thanks.

Seeed techsupport team