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

Won't install #1075

Closed
simonrb2000 opened this issue Aug 30, 2017 · 4 comments
Closed

Won't install #1075

simonrb2000 opened this issue Aug 30, 2017 · 4 comments

Comments

@simonrb2000
Copy link

Fails to install from PIP Install

I am

Expected Behavior

Should install

Actual Behavior

Fails at 99% (Killed

Possible Fix

Steps to Reproduce

  1. pip install zappa under venv

(venv) pi@raspberrypi:~/kodi-alexa$ pip install zappa Collecting zappa Using cached zappa-0.43.2-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 durationpy==0.5 (from zappa) Using cached durationpy-0.5.tar.gz 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 tqdm==4.15.0 (from zappa) Using cached tqdm-4.15.0-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 Collecting hjson==3.0.0 (from zappa) Using cached hjson-3.0.0.tar.gz Requirement already satisfied: python-dateutil==2.6.1 in ./venv/lib/python2.7/site-packages (from zappa) 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 7.9MB/s eta 0:00:01Killed You have new mail in /var/mail/pi (venv) pi@raspberrypi:~/kodi-alexa$ pip uninstall zappa Cannot uninstall requirement zappa, not installed (venv) pi@raspberrypi:~/kodi-alexa$

@Miserlou
Copy link
Owner

Miserlou commented Aug 30, 2017 via email

@simonrb2000
Copy link
Author

Tried this on another raspberry pi and got this

Requirement already satisfied: docutils>=0.12 in /usr/local/lib/python2.7/dist-packages (from zappa) Collecting lambda-packages==0.16.1 (from zappa) Downloading lambda_packages-0.16.1.tar.gz (59.2MB) 99% |████████████████████████████████| 59.1MB 167kB/s eta 0:00:01Exception: Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/pip-9.0.1-py2.7.egg/pip/basecommand.py", line 215, in main status = self.run(options, args) File "/usr/local/lib/python2.7/dist-packages/pip-9.0.1-py2.7.egg/pip/commands/install.py", line 324, in run requirement_set.prepare_files(finder) File "/usr/local/lib/python2.7/dist-packages/pip-9.0.1-py2.7.egg/pip/req/req_set.py", line 380, in prepare_files ignore_dependencies=self.ignore_dependencies)) File "/usr/local/lib/python2.7/dist-packages/pip-9.0.1-py2.7.egg/pip/req/req_set.py", line 620, in _prepare_file session=self.session, hashes=hashes) File "/usr/local/lib/python2.7/dist-packages/pip-9.0.1-py2.7.egg/pip/download.py", line 821, in unpack_url hashes=hashes File "/usr/local/lib/python2.7/dist-packages/pip-9.0.1-py2.7.egg/pip/download.py", line 659, in unpack_http_url hashes) File "/usr/local/lib/python2.7/dist-packages/pip-9.0.1-py2.7.egg/pip/download.py", line 882, in _download_http_url _download_url(resp, link, content_file, hashes) File "/usr/local/lib/python2.7/dist-packages/pip-9.0.1-py2.7.egg/pip/download.py", line 603, in _download_url hashes.check_against_chunks(downloaded_chunks) File "/usr/local/lib/python2.7/dist-packages/pip-9.0.1-py2.7.egg/pip/utils/hashes.py", line 46, in check_against_chunks for chunk in chunks: File "/usr/local/lib/python2.7/dist-packages/pip-9.0.1-py2.7.egg/pip/download.py", line 571, in written_chunks for chunk in chunks: File "/usr/local/lib/python2.7/dist-packages/pip-9.0.1-py2.7.egg/pip/utils/ui.py", line 139, in iter for x in it: File "/usr/local/lib/python2.7/dist-packages/pip-9.0.1-py2.7.egg/pip/download.py", line 560, in resp_read decode_content=False): File "/usr/local/lib/python2.7/dist-packages/pip-9.0.1-py2.7.egg/pip/_vendor/requests/packages/urllib3/response.py", line 357, in stream data = self.read(amt=amt, decode_content=decode_content) File "/usr/local/lib/python2.7/dist-packages/pip-9.0.1-py2.7.egg/pip/_vendor/requests/packages/urllib3/response.py", line 314, in read data = self._fp.read(amt) File "/usr/local/lib/python2.7/dist-packages/pip-9.0.1-py2.7.egg/pip/_vendor/cachecontrol/filewrapper.py", line 63, in read self._close() File "/usr/local/lib/python2.7/dist-packages/pip-9.0.1-py2.7.egg/pip/_vendor/cachecontrol/filewrapper.py", line 50, in _close self.__callback(self.__buf.getvalue()) File "/usr/local/lib/python2.7/dist-packages/pip-9.0.1-py2.7.egg/pip/_vendor/cachecontrol/controller.py", line 275, in cache_response self.serializer.dumps(request, response, body=body), File "/usr/local/lib/python2.7/dist-packages/pip-9.0.1-py2.7.egg/pip/_vendor/cachecontrol/serialize.py", line 55, in dumps "body": _b64_encode_bytes(body), File "/usr/local/lib/python2.7/dist-packages/pip-9.0.1-py2.7.egg/pip/_vendor/cachecontrol/serialize.py", line 12, in _b64_encode_bytes return base64.b64encode(b).decode("ascii") MemoryError (venv) pi@raspberrypi:~/kodi-alexa $

@simonrb2000
Copy link
Author

found this:-
Miserlou/lambda-packages#27

@bxm156
Copy link
Contributor

bxm156 commented Oct 16, 2017

I think we can close this issue :)

ryansmith940 pushed a commit to ryansmith940/Zappa that referenced this issue Feb 23, 2022
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

3 participants