Open rybshik opened 1 year ago
Hi thanks for checking this out and posting your issue, I have been quite busy since a few months and am not able to post any fixes for now.
The issue here is that some of the dependencies have breaking changes and I forgot to add the exact versions for which it was working. I will try to fix the issues and bring it to a working state when I find some time in the next few months, but feel free to try out the versions available for every dependency during my last commit to this package. If you fix it already before me, feel free to put a pull request I will be happy to merge it.
Hi, I have run the exact, unedited copy of your Jupiter notebook on Kaggle and attached the zipped file 'auto-research-copy.ipynb' with the results: auto-research-copy.zip
Below I also copy some of the run errors: When running
!pip install -r requirements.txt
a 0:00:02MB/s eta 0:00:02ERROR: Exception: Traceback (most recent call last): File "/opt/conda/lib/python3.7/site-packages/pip/_vendor/urllib3/response.py", line 438, in _error_catcher yield File "/opt/conda/lib/python3.7/site-packages/pip/_vendor/urllib3/response.py", line 519, in read data = self._fp.read(amt) if not fp_closed else b"" File "/opt/conda/lib/python3.7/site-packages/pip/_vendor/cachecontrol/filewrapper.py", line 62, in read data = self.__fp.read(amt) File "/opt/conda/lib/python3.7/http/client.py", line 461, in read n = self.readinto(b) File "/opt/conda/lib/python3.7/http/client.py", line 505, in readinto n = self.fp.readinto(b) File "/opt/conda/lib/python3.7/socket.py", line 589, in readinto return self._sock.recv_into(b) File "/opt/conda/lib/python3.7/ssl.py", line 1071, in recv_into return self.read(nbytes, buffer) File "/opt/conda/lib/python3.7/ssl.py", line 929, in read return self._sslobj.read(len, buffer) socket.timeout: The read operation timed outDuring handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/opt/conda/lib/python3.7/site-packages/pip/_internal/cli/base_command.py", line 180, in _main status = self.run(options, args) File "/opt/conda/lib/python3.7/site-packages/pip/_internal/cli/req_command.py", line 204, in wrapper return func(self, options, args) File "/opt/conda/lib/python3.7/site-packages/pip/_internal/commands/install.py", line 319, in run reqs, check_supported_wheels=not options.target_dir File "/opt/conda/lib/python3.7/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 128, in resolve requirements, max_rounds=try_to_avoid_resolution_too_deep File "/opt/conda/lib/python3.7/site-packages/pip/_vendor/resolvelib/resolvers.py", line 473, in resolve state = resolution.resolve(requirements, max_rounds=max_rounds) File "/opt/conda/lib/python3.7/site-packages/pip/_vendor/resolvelib/resolvers.py", line 367, in resolve failure_causes = self._attempt_to_pin_criterion(name) File "/opt/conda/lib/python3.7/site-packages/pip/_vendor/resolvelib/resolvers.py", line 211, in _attempt_to_pin_criterion for candidate in criterion.candidates: File "/opt/conda/lib/python3.7/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 129, in
return (c for c in iterator if id(c) not in self._incompatible_ids)
File "/opt/conda/lib/python3.7/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 33, in _iter_built
candidate = func()
File "/opt/conda/lib/python3.7/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 205, in _make_candidate_from_link
version=version,
File "/opt/conda/lib/python3.7/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 312, in init
version=version,
File "/opt/conda/lib/python3.7/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 151, in init
self.dist = self._prepare()
File "/opt/conda/lib/python3.7/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 234, in _prepare
dist = self._prepare_distribution()
File "/opt/conda/lib/python3.7/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 318, in _prepare_distribution
self._ireq, parallel_builds=True
File "/opt/conda/lib/python3.7/site-packages/pip/_internal/operations/prepare.py", line 508, in prepare_linked_requirement
return self._prepare_linked_requirement(req, parallel_builds)
File "/opt/conda/lib/python3.7/site-packages/pip/_internal/operations/prepare.py", line 552, in _prepare_linked_requirement
self.download_dir, hashes
File "/opt/conda/lib/python3.7/site-packages/pip/_internal/operations/prepare.py", line 243, in unpack_url
hashes=hashes,
File "/opt/conda/lib/python3.7/site-packages/pip/_internal/operations/prepare.py", line 102, in get_http_url
from_path, content_type = download(link, temp_dir.path)
File "/opt/conda/lib/python3.7/site-packages/pip/_internal/network/download.py", line 157, in call
for chunk in chunks:
File "/opt/conda/lib/python3.7/site-packages/pip/_internal/cli/progress_bars.py", line 152, in iter
for x in it:
File "/opt/conda/lib/python3.7/site-packages/pip/_internal/network/utils.py", line 86, in response_chunks
decode_content=False,
File "/opt/conda/lib/python3.7/site-packages/pip/_vendor/urllib3/response.py", line 576, in stream
data = self.read(amt=amt, decode_content=decode_content)
File "/opt/conda/lib/python3.7/site-packages/pip/_vendor/urllib3/response.py", line 541, in read
raise IncompleteRead(self._fp_bytes_read, self.length_remaining)
File "/opt/conda/lib/python3.7/contextlib.py", line 130, in exit
self.gen.throw(type, value, traceback)
File "/opt/conda/lib/python3.7/site-packages/pip/_vendor/urllib3/response.py", line 443, 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.
add Codeadd Markdown
When running
!python survey.py --max_search 90 --models_dir "/kaggle/working/saved_models" "quantum entanglement"
: FileNotFoundError Traceback (most recent call last)