automl/NASLib

The setup process doesn't work for me

Opened this issue · 1 comments

Hi,

I'm trying to setup the package on my computer so I can develop using naslib. Since I'm on Mac M1, I decided to use a DevContainer so I could install python 3.7. However, I can't manage to complete the installation, even though I followed the tutorial from https://automl.github.io/NASLib/setup/. Attached are my Dockerfile and the error logs.

Could you replicate this issue or offer any solutions?

Dockerfile

FROM python:3.7-slim
RUN apt-get update && apt-get install -y \
    build-essential \
    libblas-dev \
    liblapack-dev \
    gfortran \
    gcc \
    git \
    sudo
COPY NASLib /NASLib
WORKDIR /NASLib
RUN pip install --upgrade pip setuptools wheel
RUN pip install -e .

Error logs

Complete file

https://drive.google.com/file/d/1u8SwecZAW3htEvAoAv_qwDdUt8io3EOl/view?usp=sharing

Last 20 lines

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for scipy
Building wheel for tensorwatch (setup.py): started
Building wheel for tensorwatch (setup.py): finished with status 'done'
Created wheel for tensorwatch: filename=tensorwatch-0.9.1-py3-none-any.whl size=214516 sha256=8a1ef03deddb8c6e4b02754b30cf5882c329fdaca38517095a97e174f050982b
Stored in directory: /root/.cache/pip/wheels/f9/59/17/bcd355d22c397b603c6beaa3762fa004a767511b7996743bec
Building wheel for iopath (setup.py): started
Building wheel for iopath (setup.py): finished with status 'done'
Created wheel for iopath: filename=iopath-0.1.10-py3-none-any.whl size=31532 sha256=e578ff6c0399820c2920c18d4cdc800860d74ac3af5245dd7839084b33c0bbaf
Stored in directory: /root/.cache/pip/wheels/aa/cc/ed/ca4e88beef656b01c84b9185196513ef2faf74a5a379b043a7
Building wheel for pydotz (setup.py): started
Building wheel for pydotz (setup.py): finished with status 'done'
Created wheel for pydotz: filename=pydotz-1.5.1-py2.py3-none-any.whl size=20160 sha256=4f8ddfbe209d9c11abbdf888f1e9057d744d7ebb00f1eb44bf258793aaf0b5c4
Stored in directory: /root/.cache/pip/wheels/c9/15/f2/f9f771c57101e0fe198670c3a35930c86c545e4155629ef619
Building wheel for autograd-gamma (setup.py): started
Building wheel for autograd-gamma (setup.py): finished with status 'done'
Created wheel for autograd-gamma: filename=autograd_gamma-0.5.0-py3-none-any.whl size=4031 sha256=434aa9fa69fd7d50bb0a97a73f9b18075a0cbe208929d5bf9aa43989f0a352fa
Stored in directory: /root/.cache/pip/wheels/9f/01/ee/1331593abb5725ff7d8c1333aee93a50a1c29d6ddda9665c9f
Successfully built fvcore grakel pybnn tensorwatch iopath pydotz autograd-gamma
Failed to build scipy
ERROR: Could not build wheels for scipy, which is required to install pyproject.toml-based projects

I meet the same erro in the window system,I download the c/c++ tools of vs 2022.