Traceback (most recent call last):


 "/usr/lib/python3/dist-packages/pip/_internal/cli/base_command.py", line 143, in main

status = self.run(options, args)


 "/usr/lib/python3/dist-packages/pip/_internal/commands/install.py", line 338, in run

resolver.resolve(requirement_set)


 "/usr/lib/python3/dist-packages/pip/_internal/resolve.py", line 102, in resolve

self._resolve_one(requirement_set, req)


 "/usr/lib/python3/dist-packages/pip/_internal/resolve.py", line 256, in _resolve_one

abstract_dist = self._get_abstract_dist_for(req_to_install)


 "/usr/lib/python3/dist-packages/pip/_internal/resolve.py", line 209, in _get_abstract_dist_for

self.require_hashes


 "/usr/lib/python3/dist-packages/pip/_internal/operations/prepare.py", line 283, in prepare_linked_requirement

progress_bar=self.progress_bar


 "/usr/lib/python3/dist-packages/pip/_internal/download.py", line 836, in unpack_url

progress_bar=progress_bar


 "/usr/lib/python3/dist-packages/pip/_internal/download.py", line 673, in unpack_http_url

progress_bar)


 "/usr/lib/python3/dist-packages/pip/_internal/download.py", line 897, in _download_http_url

_download_url(resp, link, content_file, hashes, progress_bar)


 "/usr/lib/python3/dist-packages/pip/_internal/download.py", line 617, in _download_url

hashes.check_against_chunks(downloaded_chunks)


 "/usr/lib/python3/dist-packages/pip/_internal/utils/hashes.py", line 48, in check_against_chunks

for chunk in chunks:


 "/usr/lib/python3/dist-packages/pip/_internal/download.py", line 585, in written_chunks

for chunk in chunks:


 "/usr/lib/python3/dist-packages/pip/_internal/utils/ui.py", line 159, in iter

for x in it:


 "/usr/lib/python3/dist-packages/pip/_internal/download.py", line 574, in resp_read

decode_content=False):


 "/usr/share/python-wheels/urllib3-1.24.1-py2.py3-none-any.whl/urllib3/response.py", line 494, in stream

data = self.read(amt=amt, decode_content=decode_content)


 "/usr/share/python-wheels/urllib3-1.24.1-py2.py3-none-any.whl/urllib3/response.py", line 459, in read

raise IncompleteRead(self._fp_bytes_read, self.length_remaining)


 "/usr/lib/python3.7/contextlib.py", line 130, in __exit__

self.gen.throw(type, value, traceback)


 "/usr/share/python-wheels/urllib3-1.24.1-py2.py3-none-any.whl/urllib3/response.py", line 365, in _error_catcher

raise ReadTimeoutError(self._pool, None, 'Read timed out.')
urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='www.piwheels.org', port=443): Read timed out.

Traceback (most recent call last):


 "/usr/lib/python3/dist-packages/thonny/backend.py", line 1259, in execute_source

return self._execute_prepared_user_code(statements, expression, global_vars)


 "/usr/lib/python3/dist-packages/thonny/backend.py", line 1218, in wrapper

return {"user_exception": self._vm._prepare_user_exception()}


 "/usr/lib/python3/dist-packages/thonny/backend.py", line 1027, in _prepare_user_exception

"stack": self._export_stack(last_frame),


 "/usr/lib/python3/dist-packages/thonny/backend.py", line 908, in _export_stack

module_name = system_frame.f_globals["__name__"]
KeyError: '__name__'
