envpool icon indicating copy to clipboard operation
envpool copied to clipboard

Installation issue

Open tejassp2002 opened this issue 2 years ago • 21 comments

Hi @Trinkle23897, thanks for the library! I'm unable to install envpool on the remote server. This is what I get when I try to install using pip by pip install envpool. Following is the error:

ERROR: Could not find a version that satisfies the requirement envpool (from versions: none)
ERROR: No matching distribution found for envpool

I would really appreciate if you could help me on this.

Thanks.

tejassp2002 avatar Aug 20 '22 16:08 tejassp2002

What's your os version?

Trinkle23897 avatar Aug 20 '22 16:08 Trinkle23897

image

tejassp2002 avatar Aug 20 '22 17:08 tejassp2002

What's your python version? Currently we only support 3.7-3.10

Trinkle23897 avatar Aug 20 '22 17:08 Trinkle23897

Currently using Python 3.7.7

tejassp2002 avatar Aug 20 '22 17:08 tejassp2002

When I tried installing using wheel from here, it gave me the following error:

ERROR: envpool-0.6.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl is not a supported wheel on this platform.

tejassp2002 avatar Aug 20 '22 19:08 tejassp2002

What's the output of

import sys 
print(sys.version,sys.platform)

Trinkle23897 avatar Aug 20 '22 19:08 Trinkle23897

3.7.7 (default, May  5 2020, 15:36:34)
[GCC 9.3.0] linux

tejassp2002 avatar Aug 20 '22 19:08 tejassp2002

download 3.7 instead of 3.10 wheel to see what happen

Trinkle23897 avatar Aug 20 '22 19:08 Trinkle23897

Sadly got the same error 😞

ERROR: envpool-0.6.4-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl is not a supported wheel on this platform.

tejassp2002 avatar Aug 20 '22 19:08 tejassp2002

What will happen if pip install torch==10? I suspect your Linux is arm-based.

Trinkle23897 avatar Aug 20 '22 19:08 Trinkle23897

ERROR: Could not find a version that satisfies the requirement torch==10 (from versions: 1.0.1.post2+....)
ERROR: No matching distribution found for torch==10

Also, it's not a arm-based, this is what I get

$uname -m
x86_64

tejassp2002 avatar Aug 20 '22 19:08 tejassp2002

Hmm that's really strange. Could you reproduce this error in docker? This would help me find what's the actual issue.

Trinkle23897 avatar Aug 20 '22 19:08 Trinkle23897

Hmm, I'm trying it on the remote server. Let me see if I can reproduce.

tejassp2002 avatar Aug 20 '22 19:08 tejassp2002

One more thing, when I try to install it using setup.py from pip install -e . , it gets installed successfully. However, when I import envpool, I get the following error

from .atari_envpool import _AtariEnvPool, _AtariEnvSpec
ModuleNotFoundError: No module named 'envpool.atari.atari_envpool'

Maybe this can help?

tejassp2002 avatar Aug 20 '22 19:08 tejassp2002

That’s expected because we don’t use pip install to build our package. Try “make bazel-build” instead. Or see the online docs.

Trinkle23897 avatar Aug 20 '22 19:08 Trinkle23897

Having same issue in Macbook M1.

Type "help", "copyright", "credits" or "license" for more information.
>>> import sys 
>>> print(sys.version,sys.platform)
3.9.12 (main, Apr  5 2022, 01:52:34) 
[Clang 12.0.0 ] darwin
>>> print(torch.__version__)
1.12.0

hmishfaq avatar Aug 29 '22 23:08 hmishfaq

We haven't supported mac at this moment, sorry.

Trinkle23897 avatar Aug 29 '22 23:08 Trinkle23897

Thank you for open sourcing this project! Do you plan to add Mac support?

vittorione94 avatar Oct 13 '22 13:10 vittorione94

I also have this error

import sys
print(sys.version,sys.platform)
3.9.7 (default, Sep 16 2021, 16:59:28) [MSC v.1916 64 bit (AMD64)] win32

ERROR: Could not find a version that satisfies the requirement envpool (from versions: none) ERROR: No matching distribution found for envpool

siwuxei avatar Oct 24 '22 03:10 siwuxei

Same issue here.

import sys
print(sys.version,sys.platform)
3.9.16 | packaged by conda-forge | (main, Feb  1 2023, 21:28:38) [MSC v.1929 64 bit (AMD64)] win32
pip install envpool
ERROR: Could not find a version that satisfies the requirement envpool (from versions: none)
ERROR: No matching distribution found for envpool

Karlheinzniebuhr avatar Jun 17 '23 16:06 Karlheinzniebuhr

Same issue here:

ERROR: Could not find a version that satisfies the requirement envpool (from versions: none)
ERROR: No matching distribution found for envpool

I am unable to install it using pip install envpool on macOS using Python 3.7.17 .

>>> import sys
>>> print(sys.version, sys.platform)
3.7.17 (default, Dec 28 2023, 22:15:07)
[Clang 15.0.0 (clang-1500.1.0.2.5)] darwin

dantp-ai avatar Dec 28 '23 21:12 dantp-ai