Does not work on Kaggle with the current Phyton ver.3.10.2
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 out
During 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
When running !python survey.py --max_search 90 --models_dir "/kaggle/working/saved_models" "quantum entanglement":
FileNotFoundError Traceback (most recent call last)
/opt/conda/lib/python3.7/zipfile.py in init(self, file, mode, compression, allowZip64, compresslevel) 1238 while True: 1239 try: -> 1240 self.fp = io.open(file, filemode) 1241 except OSError: 1242 if filemode in modeDict:
FileNotFoundError: [Errno 2] No such file or directory: 'arxiv_dumps_quantum_entanglement.zip'
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.