Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The setup process doesn't work for me #183

Open
dtamien opened this issue May 14, 2024 · 2 comments
Open

The setup process doesn't work for me #183

dtamien opened this issue May 14, 2024 · 2 comments
Assignees

Comments

@dtamien
Copy link

dtamien commented May 14, 2024

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
@ZhouGuoyuan
Copy link

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

@abhash-er abhash-er self-assigned this Jun 12, 2024
@tomaz-suller
Copy link

Don't know if this is still relevant but I managed to install using Python 3.12 by removing all fixed versions from requirements.txt and adding two missing dependencies: nasbench_pytorch and tornado.

Not sure how well it'll work since unit tests don't say much (#170) but it'll at least install the package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants