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

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

Open
abhays72 opened this issue Oct 6, 2024 · 3 comments

Comments

@abhays72
Copy link

abhays72 commented Oct 6, 2024

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.

nathanhhughes added a commit that referenced this issue Oct 7, 2024
* (wip) start embedding tests

* add tests and fix near-zero cosine similarity

* fix lerf score tests

* fix score aliasing

Co-authored-by: Nathan Hughes <[email protected]>
@drancon
Copy link

drancon commented Oct 8, 2024

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

@abhays72
Copy link
Author

abhays72 commented Oct 9, 2024

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?

@WentingXu3o3
Copy link

I try to install "nlohmann-json3-dev", and it works for me.

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

3 participants