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

Issue with installing gym-retro (python 3.8) #275

Open
harikris001 opened this issue Feb 16, 2023 · 1 comment
Open

Issue with installing gym-retro (python 3.8) #275

harikris001 opened this issue Feb 16, 2023 · 1 comment

Comments

@harikris001
Copy link

Issue summary

i have tried both
pip install gym-retro
pip3 install gym retro

but this issue keeps on popping up, please help:

Screenshot_20230216_211517
ERROR: Exception:
Traceback (most recent call last):
File "c:\users\hk598\onedrive\documents\mario rl\env\lib\site-packages\pip_vendor\urllib3\response.py", line 438, in _error_catcher
yield
File "c:\users\hk598\onedrive\documents\mario rl\env\lib\site-packages\pip_vendor\urllib3\response.py", line 519, in read
data = self._fp.read(amt) if not fp_closed else b""
File "c:\users\hk598\onedrive\documents\mario rl\env\lib\site-packages\pip_vendor\cachecontrol\filewrapper.py", line 62, in read
data = self.__fp.read(amt)
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.2800.0_x64__qbz5n2kfra8p0\lib\http\client.py", line 455, in read
n = self.readinto(b)
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.2800.0_x64__qbz5n2kfra8p0\lib\http\client.py", line 499, in readinto
n = self.fp.readinto(b)
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.2800.0_x64__qbz5n2kfra8p0\lib\socket.py", line 669, in readinto
return self._sock.recv_into(b)
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.2800.0_x64__qbz5n2kfra8p0\lib\ssl.py", line 1241, in recv_into
return self.read(nbytes, buffer)
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.2800.0_x64__qbz5n2kfra8p0\lib\ssl.py", line 1099, 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 "c:\users\hk598\onedrive\documents\mario rl\env\lib\site-packages\pip_internal\cli\base_command.py", line 180, in _main
status = self.run(options, args)
File "c:\users\hk598\onedrive\documents\mario rl\env\lib\site-packages\pip_internal\cli\req_command.py", line 204, in wrapper
return func(self, options, args)
File "c:\users\hk598\onedrive\documents\mario rl\env\lib\site-packages\pip_internal\commands\install.py", line 318, in run
requirement_set = resolver.resolve(
File "c:\users\hk598\onedrive\documents\mario rl\env\lib\site-packages\pip_internal\resolution\resolvelib\resolver.py", line 127, in resolve
result = self._result = resolver.resolve(
File "c:\users\hk598\onedrive\documents\mario rl\env\lib\site-packages\pip_vendor\resolvelib\resolvers.py", line 473, in resolve
state = resolution.resolve(requirements, max_rounds=max_rounds)
File "c:\users\hk598\onedrive\documents\mario rl\env\lib\site-packages\pip_vendor\resolvelib\resolvers.py", line 341, in resolve
name, crit = self._merge_into_criterion(r, parent=None)
File "c:\users\hk598\onedrive\documents\mario rl\env\lib\site-packages\pip_vendor\resolvelib\resolvers.py", line 172, in _merge_into_criterion
if not criterion.candidates:
File "c:\users\hk598\onedrive\documents\mario rl\env\lib\site-packages\pip_vendor\resolvelib\structs.py", line 139, in bool
return bool(self._sequence)
File "c:\users\hk598\onedrive\documents\mario rl\env\lib\site-packages\pip_internal\resolution\resolvelib\found_candidates.py", line 143, in bool
return any(self)
File "c:\users\hk598\onedrive\documents\mario rl\env\lib\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 "c:\users\hk598\onedrive\documents\mario rl\env\lib\site-packages\pip_internal\resolution\resolvelib\found_candidates.py", line 33, in _iter_built
candidate = func()
File "c:\users\hk598\onedrive\documents\mario rl\env\lib\site-packages\pip_internal\resolution\resolvelib\factory.py", line 200, in _make_candidate_from_link
self._link_candidate_cache[link] = LinkCandidate(
File "c:\users\hk598\onedrive\documents\mario rl\env\lib\site-packages\pip_internal\resolution\resolvelib\candidates.py", line 306, in init
super().init(
File "c:\users\hk598\onedrive\documents\mario rl\env\lib\site-packages\pip_internal\resolution\resolvelib\candidates.py", line 151, in init
self.dist = self._prepare()
File "c:\users\hk598\onedrive\documents\mario rl\env\lib\site-packages\pip_internal\resolution\resolvelib\candidates.py", line 234, in _prepare
dist = self._prepare_distribution()
File "c:\users\hk598\onedrive\documents\mario rl\env\lib\site-packages\pip_internal\resolution\resolvelib\candidates.py", line 317, in _prepare_distribution
return self._factory.preparer.prepare_linked_requirement(
File "c:\users\hk598\onedrive\documents\mario rl\env\lib\site-packages\pip_internal\operations\prepare.py", line 508, in prepare_linked_requirement
return self._prepare_linked_requirement(req, parallel_builds)
File "c:\users\hk598\onedrive\documents\mario rl\env\lib\site-packages\pip_internal\operations\prepare.py", line 550, in _prepare_linked_requirement
local_file = unpack_url(
File "c:\users\hk598\onedrive\documents\mario rl\env\lib\site-packages\pip_internal\operations\prepare.py", line 239, in unpack_url
file = get_http_url(
File "c:\users\hk598\onedrive\documents\mario rl\env\lib\site-packages\pip_internal\operations\prepare.py", line 102, in get_http_url
from_path, content_type = download(link, temp_dir.path)
File "c:\users\hk598\onedrive\documents\mario rl\env\lib\site-packages\pip_internal\network\download.py", line 157, in call
for chunk in chunks:
File "c:\users\hk598\onedrive\documents\mario rl\env\lib\site-packages\pip_internal\cli\progress_bars.py", line 152, in iter
for x in it:
File "c:\users\hk598\onedrive\documents\mario rl\env\lib\site-packages\pip_internal\network\utils.py", line 62, in response_chunks
for chunk in response.raw.stream(
File "c:\users\hk598\onedrive\documents\mario rl\env\lib\site-packages\pip_vendor\urllib3\response.py", line 576, in stream
data = self.read(amt=amt, decode_content=decode_content)
File "c:\users\hk598\onedrive\documents\mario rl\env\lib\site-packages\pip_vendor\urllib3\response.py", line 541, in read
raise IncompleteRead(self._fp_bytes_read, self.length_remaining)
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.2800.0_x64__qbz5n2kfra8p0\lib\contextlib.py", line 131, in exit
self.gen.throw(type, value, traceback)
File "c:\users\hk598\onedrive\documents\mario rl\env\lib\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.
WARNING: You are using pip version 21.1.1; however, version 23.0 is available.
You should consider upgrading via the 'c:\users\hk598\onedrive\documents\mario rl\env\scripts\python.exe -m pip install --upgrade pip' command

System information

  • Windows 11
  • python version 3.8.10
  • gym retro version 0.8.0
@shuishen49
Copy link

try python 3.8.8

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

2 participants