You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 6, 2024. It is now read-only.
Hi, I had trouble running pip3 install nle on Ubuntu 22.04.
below, notice it says pyproject.toml, not setup.py. My guess is, this is due to those new-ish build isolations.
What did help (workaround 👍 ) is pip3 install --no-use-pep517 nle
Building wheels for collected packages: nle, gym
Building wheel for nle (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for nle (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [53 lines of output]
[...]
copying nle/tests/test_system.py -> build/lib.linux-x86_64-cpython-310/nle/tests
running build_ext
Traceback (most recent call last):
File "/usr/local/bin/cmake", line 5, in <module>
from cmake import cmake
ModuleNotFoundError: No module named 'cmake'
[end of output]
[...]
Environment
$ python -m nle.scripts.collect_env
Collecting environment information...
NLE version: 0.9.0
PyTorch version: 2.0.1+cu117
Is debug build: No
CUDA used to build PyTorch: 11.7
Python version: 3.10
Is CUDA available: No
CUDA runtime version: No CUDA
GPU models and configuration: No CUDA
Nvidia driver version: No CUDA
cuDNN version: No CUDA
Versions of relevant libraries:
[pip3] numpy==1.22.1
[pip3] numpy-stl==2.17.1
[pip3] numpydoc==1.4.0
[pip3] numpyro==0.12.1
[pip3] numpysane==0.39
[pip3] torch==2.0.1
[pip3] torchaudio==2.0.1+cpu
[pip3] torchvision==0.15.2
[conda] Could not collect
pip and wheel:
$ pip3 --version
pip 23.1.2 from /usr/local/lib/python3.10/dist-packages/pip (python 3.10)
$ pip list | grep wheel
wheel 0.40.0
Any ideas how to fix this longer term? Would like to have a stable way to include NetHack in a bunch of containers from the pip package, without rebuilding from source
Hi, I had trouble running
pip3 install nle
on Ubuntu 22.04.below, notice it says
pyproject.toml
, notsetup.py
. My guess is, this is due to those new-ish build isolations.What did help (workaround 👍 ) is
pip3 install --no-use-pep517 nle
Environment
$ python -m nle.scripts.collect_env
Collecting environment information...
NLE version: 0.9.0
PyTorch version: 2.0.1+cu117
Is debug build: No
CUDA used to build PyTorch: 11.7
OS: Ubuntu 22.04.2 LTS
GCC version: (Ubuntu 11.3.0-1ubuntu1~22.04.1) 11.3.0
CMake version: version 3.26.0
Python version: 3.10
Is CUDA available: No
CUDA runtime version: No CUDA
GPU models and configuration: No CUDA
Nvidia driver version: No CUDA
cuDNN version: No CUDA
Versions of relevant libraries:
[pip3] numpy==1.22.1
[pip3] numpy-stl==2.17.1
[pip3] numpydoc==1.4.0
[pip3] numpyro==0.12.1
[pip3] numpysane==0.39
[pip3] torch==2.0.1
[pip3] torchaudio==2.0.1+cpu
[pip3] torchvision==0.15.2
[conda] Could not collect
pip and wheel:
Additional context
Maybe you have to look into https://github.com/tttapa/py-build-cmake/ ?
The text was updated successfully, but these errors were encountered: