Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't install numpy module for Python3 in Onion Omega2+ #25

Open
vickyysiahaan opened this issue Jan 10, 2019 · 1 comment
Open

Can't install numpy module for Python3 in Onion Omega2+ #25

vickyysiahaan opened this issue Jan 10, 2019 · 1 comment

Comments

@vickyysiahaan
Copy link

I can't install numpy module in my omega2+. I already extended my memory space using sd card using this instruction (https://docs.onion.io/omega2-docs/boot-from-external-storage.html)

I use pip3 when trying to install numpy.

pip3 install numpy

and then the response i got is

Exception:
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/pip/basecommand.py", line 214, in main
status = self.run(options, args)
File "/usr/lib/python3.6/site-packages/pip/commands/install.py", line 299, in run
requirement_set.prepare_files(finder)
File "/usr/lib/python3.6/site-packages/pip/req/req_set.py", line 370, in prepare_files
ignore_dependencies=self.ignore_dependencies))
File "/usr/lib/python3.6/site-packages/pip/req/req_set.py", line 587, in _prepare_file
session=self.session, hashes=hashes)
File "/usr/lib/python3.6/site-packages/pip/download.py", line 810, in unpack_url
hashes=hashes
File "/usr/lib/python3.6/site-packages/pip/download.py", line 649, in unpack_http_url
hashes)
File "/usr/lib/python3.6/site-packages/pip/download.py", line 842, in _download_http_url
stream=True,
File "/usr/lib/python3.6/site-packages/pip/_vendor/requests/sessions.py", line 487, in get
return self.request('GET', url, **kwargs)
File "/usr/lib/python3.6/site-packages/pip/download.py", line 378, in request
return super(PipSession, self).request(method, url, *args, **kwargs)
File "/usr/lib/python3.6/site-packages/pip/_vendor/requests/sessions.py", line 475, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python3.6/site-packages/pip/_vendor/requests/sessions.py", line 585, in send
r = adapter.send(request, **kwargs)
File "/usr/lib/python3.6/site-packages/pip/_vendor/cachecontrol/adapter.py", line 36, in send
cached_response = self.controller.cached_request(request)
File "/usr/lib/python3.6/site-packages/pip/_vendor/cachecontrol/controller.py", line 111, in cached_request
resp = self.serializer.loads(request, cache_data)
File "/usr/lib/python3.6/site-packages/pip/_vendor/cachecontrol/serialize.py", line 114, in loads
return getattr(self, "_loads_v{0}".format(ver))(request, data)
File "/usr/lib/python3.6/site-packages/pip/_vendor/cachecontrol/serialize.py", line 170, in _loads_v2
cached = json.loads(zlib.decompress(data).decode("utf8"))
zlib.error: Error -5 while decompressing data: incomplete or truncated stream

Please help

@bhack
Copy link

bhack commented Apr 16, 2020

Check openwrt/packages#9797 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants