Out of the blue I tried again from home and it seemed to have worked...
cory callcott
@cory callcott
Best posts made by cory callcott
Latest posts made by cory callcott
-
RE: Boto3 python3 fail
-
Boto3 python3 fail
I'm trying to use pip3 to install boto3 to my omega2+ however I'm getting the following install error from pip3 when trying to install the package.
I have installed python3-light package no problems. Other packages I needed so far have installed no problem just seem to be hitting a roadblock with getting boto3 to install. Has anyone got boto3 to work on their omega2?
[code]
pip3 install boto3
Collecting boto3
Using cached https://files.pythonhosted.org/packages/c7/b1/34db0f2db2d4f54e278ae32cb563aa4e278b1dd62a55672d691a3ceab4e9/boto3-1.9.219-py2.py3-none-any.whl
Collecting jmespath<1.0.0,>=0.7.1 (from boto3)
Using cached https://files.pythonhosted.org/packages/83/94/7179c3832a6d45b266ddb2aac329e101367fbdb11f425f13771d27f225bb/jmespath-0.9.4-py2.py3-none-any.whl
Collecting botocore<1.13.0,>=1.12.219 (from boto3)
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[/code]
-
RE: how to remove the onion os console
@Callum-Stew How much space does it free up if you remember?
-
RE: MODBUS RTU
@Gerhard-Bertelsmann Just using a cheap usb to rs232/ttl adaptor I think I got like 10 or so off ebay for like $10~15 a year or so ago. So far seems to work fine on omega2+.
-
RE: MODBUS RTU
@Douglas-Kryder Thanks i'll look into it, I did read something about it but thought it was just for the 2+ model as it came with a sd card slot.
-
RE: MODBUS RTU
What omega did you use? If you implement this on Omega2 I’d be interested as everything I tried to get rs485/232 TTL support for the omega2 I ran out of space on the device...
I was however able to install python3-light, python3-pip and MinimalModbus on my omega2+ no problem. Omega2 doesn’t even have enough space to install both python3-light and python3-pip
-
RE: No space for python-pip
Just came here to see if anyone else was running our of room on the omega2 just by putting python-light on it and getting bumped when trying to add pip... I also tried python-base but needed to add to many dependencies for my application and even tried the setup.py from the package but it also required too many dependent packages so that also fell over and due to space required for other dependencies argh! I think the omega2 will find its useful place in the trash can tbh.
omega2+ however so far works well because of the extra space.