MIT-SPARK / Clio

BSD 2-Clause "Simplified" License
93 stars 5 forks source link

Failed to build installable wheels for some pyproject.toml based projects (spark_dsg) #3

Open abhays72 opened 1 week ago

abhays72 commented 1 week ago

Hi,

When i try to run pip install -e . I keep getting these error messages (this is a copy-pasted part of a long error message):

 CMake Error at CMakeLists.txt:17 (find_package):
        By not providing "Findnlohmann_json.cmake" in CMAKE_MODULE_PATH this
        project has asked CMake to find a package configuration file provided by
        "nlohmann_json", but CMake did not find one.

        Could not find a package configuration file provided by "nlohmann_json"
        with any of the following names:

          nlohmann_jsonConfig.cmake
          nlohmann_json-config.cmake

        Add the installation prefix of "nlohmann_json" to CMAKE_PREFIX_PATH or set
        "nlohmann_json_DIR" to a directory containing one of the above files.  If
        "nlohmann_json" provides a separate development package or SDK, be sure it
        has been installed.

      -- Configuring incomplete, errors occurred!
note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building editable for spark_dsg
Failed to build spark_dsg
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (spark_dsg)

I've tried to re-install spark_dsg and retrace my steps but have not come to a solution. Hope someone can help.

drancon commented 1 week ago

Did you install prerequisites of spark_dsg described in https://github.com/MIT-SPARK/Spark-DSG?

abhays72 commented 1 week ago

I was trying to do so, doesn't seem like it worked. Also using a Mac so not being able to use apt might be part of the problem. Are there any workarounds for using this project on Mac?