AutoVerse-ai / Verse-library

Library for modeling, simulation, and verification of interacting autonomous agents
https://autoverse-ai.github.io/Verse-library/
University of Illinois/NCSA Open Source License
29 stars 18 forks source link

Pip Install Requirements Fails on M2 Mac, Python 3.9 #32

Open EthanJamesLew opened 11 months ago

EthanJamesLew commented 11 months ago

Issue When running pip install -r requirements I receive the error

 × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [52 lines of output]

      Edit setup.cfg to change the build options; suppress output with --quiet.
...
      BUILDING MATPLOTLIB
        matplotlib: yes [3.4.3]
            python: yes [3.9.18 (main, Sep 11 2023, 08:25:10)  [Clang 14.0.6 ]]
          platform: yes [darwin]
             tests: no  [skipping due to configuration]
            macosx: yes [installing]
Failed to build matplotlib
ERROR: Could not build wheels for matplotlib, which is required to install pyproject.toml-based projects

System Description M2 Mac Pro Python Python 3.9.18 (Using conda)

My Fix Switch to z3-solver==4.12.2.0 and matplotlib==3.8.0. The tests pass after doing this.

Possible Fixes

lyg1597 commented 11 months ago

Hi Ethan,

Thank you very much for pointing this out and sorry that this cause problem to you. We will update the dependencies for the tool. Please let us know if you encounter any other problems while using it.