m0ngr31 / kanzi

Alexa skill for controlling Kodi
https://lexigr.am
MIT License
427 stars 149 forks source link

Setup errors on a Raspberry pi running OSMC #208

Closed L0hr closed 7 years ago

L0hr commented 7 years ago

Running a Raspberry Pi, with OSMC. Trying to setup Kodi-Alexa, I'm stuck at this part:

(venv) osmc@osmc:~/kodi-alexa-master$ pip install packaging Requirement already satisfied: packaging in ./venv/lib/python2.7/site-packages Requirement already satisfied: six in ./venv/lib/python2.7/site-packages (from packaging) Requirement already satisfied: pyparsing in ./venv/lib/python2.7/site-packages (from packaging) (venv) osmc@osmc:~/kodi-alexa-master$ pip install zappa Collecting zappa Using cached zappa-0.43.1-py2-none-any.whl Requirement already satisfied: six==1.10.0 in ./venv/lib/python2.7/site-packages (from zappa) Requirement already satisfied: wheel==0.29.0 in ./venv/lib/python2.7/site-packages (from zappa) Collecting kappa==0.6.0 (from zappa) Using cached kappa-0.6.0-py2-none-any.whl Collecting botocore==1.5.40 (from zappa) Using cached botocore-1.5.40-py2.py3-none-any.whl Collecting wsgi-request-logger==0.4.6 (from zappa) Using cached wsgi-request-logger-0.4.6.tar.gz Collecting base58==0.2.4 (from zappa) Using cached base58-0.2.4.tar.gz Requirement already satisfied: python-dateutil==2.6.1 in ./venv/lib/python2.7/site-packages (from zappa) Collecting hjson==2.0.7 (from zappa) Using cached hjson-2.0.7.tar.gz Collecting durationpy==0.4 (from zappa) Using cached durationpy-0.4.tar.gz Requirement already satisfied: requests>=2.10.0 in ./venv/lib/python2.7/site-packages (from zappa) Collecting argcomplete==1.8.2 (from zappa) Using cached argcomplete-1.8.2-py2.py3-none-any.whl Collecting docutils>=0.12 (from zappa) Using cached docutils-0.14-py2-none-any.whl Collecting lambda-packages==0.16.1 (from zappa) Downloading lambda_packages-0.16.1.tar.gz (59.2MB) 99% |############################### | 59.1MB 4.9MB/s eta 0:00:01Exception: Traceback (most recent call last): File "/home/osmc/kodi-alexa-master/venv/local/lib/python2.7/site-packages/pip/basecommand.py", line 215, in main status = self.run(options, args) File "/home/osmc/kodi-alexa-master/venv/local/lib/python2.7/site-packages/pip/commands/install.py", line 335, in run wb.build(autobuilding=True) File "/home/osmc/kodi-alexa-master/venv/local/lib/python2.7/site-packages/pip/wheel.py", line 749, in build self.requirement_set.prepare_files(self.finder) File "/home/osmc/kodi-alexa-master/venv/local/lib/python2.7/site-packages/pip/req/req_set.py", line 380, in prepare_files ignore_dependencies=self.ignore_dependencies)) File "/home/osmc/kodi-alexa-master/venv/local/lib/python2.7/site-packages/pip/req/req_set.py", line 620, in _prepare_file session=self.session, hashes=hashes) File "/home/osmc/kodi-alexa-master/venv/local/lib/python2.7/site-packages/pip/download.py", line 821, in unpack_url hashes=hashes File "/home/osmc/kodi-alexa-master/venv/local/lib/python2.7/site-packages/pip/download.py", line 659, in unpack_http_url hashes) File "/home/osmc/kodi-alexa-master/venv/local/lib/python2.7/site-packages/pip/download.py", line 882, in _download_http_url _download_url(resp, link, content_file, hashes) File "/home/osmc/kodi-alexa-master/venv/local/lib/python2.7/site-packages/pip/download.py", line 603, in _download_url hashes.check_against_chunks(downloaded_chunks) File "/home/osmc/kodi-alexa-master/venv/local/lib/python2.7/site-packages/pip/utils/hashes.py", line 46, in check_against_chunks for chunk in chunks: File "/home/osmc/kodi-alexa-master/venv/local/lib/python2.7/site-packages/pip/download.py", line 571, in written_chunks for chunk in chunks: File "/home/osmc/kodi-alexa-master/venv/local/lib/python2.7/site-packages/pip/utils/ui.py", line 139, in iter for x in it: File "/home/osmc/kodi-alexa-master/venv/local/lib/python2.7/site-packages/pip/download.py", line 560, in resp_read decode_content=False): File "/home/osmc/kodi-alexa-master/venv/local/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/response.py", line 357, in stream data = self.read(amt=amt, decode_content=decode_content) File "/home/osmc/kodi-alexa-master/venv/local/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/response.py", line 314, in read data = self._fp.read(amt) File "/home/osmc/kodi-alexa-master/venv/local/lib/python2.7/site-packages/pip/_vendor/cachecontrol/filewrapper.py", line 63, in read self._close() File "/home/osmc/kodi-alexa-master/venv/local/lib/python2.7/site-packages/pip/_vendor/cachecontrol/filewrapper.py", line 50, in _close self.callback(self.buf.getvalue()) File "/home/osmc/kodi-alexa-master/venv/local/lib/python2.7/site-packages/pip/_vendor/cachecontrol/controller.py", line 275, in cache_response self.serializer.dumps(request, response, body=body), File "/home/osmc/kodi-alexa-master/venv/local/lib/python2.7/site-packages/pip/_vendor/cachecontrol/serialize.py", line 86, in dumps data, separators=(",", ":"), sort_keys=True, File "/usr/lib/python2.7/json/init.py", line 250, in dumps sort_keys=sort_keys, **kw).encode(obj) File "/usr/lib/python2.7/json/encoder.py", line 210, in encode return ''.join(chunks) MemoryError (venv) osmc@osmc:~/kodi-alexa-master$

If someone can please give me advice?