Skip to content

Instantly share code, notes, and snippets.

@xennygrimmato
Created July 26, 2018 16:36
Show Gist options
  • Save xennygrimmato/145ff65cc77374752a97ef3c4f2fc003 to your computer and use it in GitHub Desktop.
Save xennygrimmato/145ff65cc77374752a97ef3c4f2fc003 to your computer and use it in GitHub Desktop.
pipenv install sourced-ml
(code2vec-eYK10mL1) ➜ code2vec git:(dev) pipenv install sourced-ml
Installing sourced-ml...
Collecting sourced-ml
Using cached https://files.pythonhosted.org/packages/c3/ee/be165a9a6413b0445d4bf16fb61e5832751627c69f4a7a893619b5428164/sourced_ml-0.5.1-py3-none-any.whl
Collecting bblfsh<3.0,>=2.2.1 (from sourced-ml)
Using cached https://files.pythonhosted.org/packages/ba/12/7512e5bd4f9040691d4da68b60d4f41c869f13f5fbbc7e0a2014aa98bbb4/bblfsh-2.9.14.tar.gz
Collecting pygments<3.0,>=2.2.0 (from sourced-ml)
Using cached https://files.pythonhosted.org/packages/02/ee/b6e02dc6529e82b75bb06823ff7d005b141037cb1416b10c6f00fc419dca/Pygments-2.2.0-py2.py3-none-any.whl
Collecting typing (from sourced-ml)
Using cached https://files.pythonhosted.org/packages/05/2b/2b05bf1d5a9dd450447c9a5df3e118a465e5d3cb12b73b7220a5064a403f/typing-3.6.4-py3-none-any.whl
Collecting PyStemmer<2.0,>=1.3 (from sourced-ml)
Using cached https://files.pythonhosted.org/packages/21/ee/19e0e4ec9398cc022617baa5f013fd415cce4887748245126aa6d4fac3c6/PyStemmer-1.3.0.tar.gz
Collecting parquet<2.0,>=1.2 (from sourced-ml)
Using cached https://files.pythonhosted.org/packages/d4/2c/31867848b0238fb1cf0b2fcb60296b3bd7e3c455b97c92026b6be652d34c/parquet-1.2-py3-none-any.whl
Collecting keras<3.0,>=2.0 (from sourced-ml)
Using cached https://files.pythonhosted.org/packages/68/12/4cabc5c01451eb3b413d19ea151f36e33026fc0efb932bf51bcaf54acbf5/Keras-2.2.0-py2.py3-none-any.whl
Collecting sourced-engine<0.7,>=0.5.1 (from sourced-ml)
Using cached https://files.pythonhosted.org/packages/d7/7e/cfc79ea240e1f1a05656e0ce407823780bcce12b0ed4352592e4007f9ced/sourced-engine-0.6.4.tar.gz
Collecting modelforge<0.7,>=0.6.0 (from sourced-ml)
Using cached https://files.pythonhosted.org/packages/59/3b/2aa102f5c6a69c5422af0b7340adfbc580b69d1cb14d4c7751cd3b38108c/modelforge-0.6.1.tar.gz
Collecting humanize>=0.5.0 (from sourced-ml)
Using cached https://files.pythonhosted.org/packages/8c/e0/e512e4ac6d091fc990bbe13f9e0378f34cf6eecd1c6c268c9e598dcf5bb9/humanize-0.5.1.tar.gz
Collecting grpcio==1.13.0 (from bblfsh<3.0,>=2.2.1->sourced-ml)
Downloading https://files.pythonhosted.org/packages/7e/a9/daef33ec8a83eb1c34498f947d4447d5728d91c7374e4b78465c7c14e99a/grpcio-1.13.0-cp36-cp36m-macosx_10_7_intel.whl (1.9MB)
Error: An error occurred while installing sourced-ml!
Exception:
Traceback (most recent call last):
File "/Users/vaibhavtulsyan/.local/share/virtualenvs/code2vec-eYK10mL1/lib/python3.6/site-packages/pip/_vendor/urllib3/response.py", line 331, in _error_catcher
yield
File "/Users/vaibhavtulsyan/.local/share/virtualenvs/code2vec-eYK10mL1/lib/python3.6/site-packages/pip/_vendor/urllib3/response.py", line 413, in read
data = self._fp.read(amt)
File "/Users/vaibhavtulsyan/.local/share/virtualenvs/code2vec-eYK10mL1/lib/python3.6/site-packages/pip/_vendor/cachecontrol/filewrapper.py", line 62, in read
data = self.__fp.read(amt)
File "/usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 449, in read
n = self.readinto(b)
File "/usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 493, in readinto
n = self.fp.readinto(b)
File "/usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/socket.py", line 586, in readinto
return self._sock.recv_into(b)
File "/usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/ssl.py", line 1009, in recv_into
return self.read(nbytes, buffer)
File "/usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/ssl.py", line 871, in read
return self._sslobj.read(len, buffer)
File "/usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/ssl.py", line 631, in read
v = self._sslobj.read(len, buffer)
socket.timeout: The read operation timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/vaibhavtulsyan/.local/share/virtualenvs/code2vec-eYK10mL1/lib/python3.6/site-packages/pip/_internal/basecommand.py", line 141, in main
status = self.run(options, args)
File "/Users/vaibhavtulsyan/.local/share/virtualenvs/code2vec-eYK10mL1/lib/python3.6/site-packages/pip/_internal/commands/install.py", line 299, in run
resolver.resolve(requirement_set)
File "/Users/vaibhavtulsyan/.local/share/virtualenvs/code2vec-eYK10mL1/lib/python3.6/site-packages/pip/_internal/resolve.py", line 102, in resolve
self._resolve_one(requirement_set, req)
File "/Users/vaibhavtulsyan/.local/share/virtualenvs/code2vec-eYK10mL1/lib/python3.6/site-packages/pip/_internal/resolve.py", line 256, in _resolve_one
abstract_dist = self._get_abstract_dist_for(req_to_install)
File "/Users/vaibhavtulsyan/.local/share/virtualenvs/code2vec-eYK10mL1/lib/python3.6/site-packages/pip/_internal/resolve.py", line 209, in _get_abstract_dist_for
self.require_hashes
File "/Users/vaibhavtulsyan/.local/share/virtualenvs/code2vec-eYK10mL1/lib/python3.6/site-packages/pip/_internal/operations/prepare.py", line 283, in prepare_linked_requirement
progress_bar=self.progress_bar
File "/Users/vaibhavtulsyan/.local/share/virtualenvs/code2vec-eYK10mL1/lib/python3.6/site-packages/pip/_internal/download.py", line 836, in unpack_url
progress_bar=progress_bar
File "/Users/vaibhavtulsyan/.local/share/virtualenvs/code2vec-eYK10mL1/lib/python3.6/site-packages/pip/_internal/download.py", line 673, in unpack_http_url
progress_bar)
File "/Users/vaibhavtulsyan/.local/share/virtualenvs/code2vec-eYK10mL1/lib/python3.6/site-packages/pip/_internal/download.py", line 897, in _download_http_url
_download_url(resp, link, content_file, hashes, progress_bar)
File "/Users/vaibhavtulsyan/.local/share/virtualenvs/code2vec-eYK10mL1/lib/python3.6/site-packages/pip/_internal/download.py", line 617, in _download_url
hashes.check_against_chunks(downloaded_chunks)
File "/Users/vaibhavtulsyan/.local/share/virtualenvs/code2vec-eYK10mL1/lib/python3.6/site-packages/pip/_internal/utils/hashes.py", line 48, in check_against_chunks
for chunk in chunks:
File "/Users/vaibhavtulsyan/.local/share/virtualenvs/code2vec-eYK10mL1/lib/python3.6/site-packages/pip/_internal/download.py", line 585, in written_chunks
for chunk in chunks:
File "/Users/vaibhavtulsyan/.local/share/virtualenvs/code2vec-eYK10mL1/lib/python3.6/site-packages/pip/_internal/utils/ui.py", line 159, in iter
for x in it:
File "/Users/vaibhavtulsyan/.local/share/virtualenvs/code2vec-eYK10mL1/lib/python3.6/site-packages/pip/_internal/download.py", line 574, in resp_read
decode_content=False):
File "/Users/vaibhavtulsyan/.local/share/virtualenvs/code2vec-eYK10mL1/lib/python3.6/site-packages/pip/_vendor/urllib3/response.py", line 465, in stream
data = self.read(amt=amt, decode_content=decode_content)
File "/Users/vaibhavtulsyan/.local/share/virtualenvs/code2vec-eYK10mL1/lib/python3.6/site-packages/pip/_vendor/urllib3/response.py", line 430, in read
raise IncompleteRead(self._fp_bytes_read, self.length_remaining)
File "/usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/contextlib.py", line 99, in __exit__
self.gen.throw(type, value, traceback)
File "/Users/vaibhavtulsyan/.local/share/virtualenvs/code2vec-eYK10mL1/lib/python3.6/site-packages/pip/_vendor/urllib3/response.py", line 336, in _error_catcher
raise ReadTimeoutError(self._pool, None, 'Read timed out.')
pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment