Open haraldschilly opened 1 year ago
This fixes Colab as well. You have to install with -v to see the cmake error, but it's the same
!sudo apt-get install -y build-essential autoconf libtool pkg-config \
python3-dev python3-pip python3-numpy git flex bison libbz2-dev
! pip install --no-use-pep517 nle
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 :+1: ) 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/ ?