sail-sg / envpool

C++-based high-performance parallel environment execution engine (vectorized env) for general RL environments.
https://envpool.readthedocs.io
Apache License 2.0
1.05k stars 97 forks source link

Installation issue #189

Open tejassp2002 opened 1 year ago

tejassp2002 commented 1 year ago

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.

Trinkle23897 commented 1 year ago

What's your os version?

tejassp2002 commented 1 year ago

image

Trinkle23897 commented 1 year ago

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

tejassp2002 commented 1 year ago

Currently using Python 3.7.7

tejassp2002 commented 1 year ago

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.
Trinkle23897 commented 1 year ago

What's the output of

import sys 
print(sys.version,sys.platform)
tejassp2002 commented 1 year ago
3.7.7 (default, May  5 2020, 15:36:34)
[GCC 9.3.0] linux
Trinkle23897 commented 1 year ago

download 3.7 instead of 3.10 wheel to see what happen

tejassp2002 commented 1 year ago

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.
Trinkle23897 commented 1 year ago

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

tejassp2002 commented 1 year ago
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
Trinkle23897 commented 1 year ago

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

tejassp2002 commented 1 year ago

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

tejassp2002 commented 1 year ago

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?

Trinkle23897 commented 1 year ago

Thatā€™s expected because we donā€™t use pip install to build our package. Try ā€œmake bazel-buildā€ instead. Or see the online docs.

hmishfaq commented 1 year ago

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
Trinkle23897 commented 1 year ago

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

vittorione94 commented 1 year ago

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

siwuxei commented 1 year ago

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

Karlheinzniebuhr commented 1 year ago

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
dantp-ai commented 7 months ago

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