EpistasisLab / EpistasisLab/escargot

Failed building wheel for pymgclient because of bdist_wheel on Mac M4

Open
#10 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
39
Forks
6
PR merge metrics
No merged PRs in 30d

Description

Environment: Apple MacBook Pro M4 Max, Sequoia 15.3.2

# Issue

I ran into the following error when `pip install escargot`.

```
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [9 lines of output]
running bdist_wheel
running build
running build_ext
Using static OpenSSL: True
Checking if cmake3 can be used
cmake3 is not accesible
Checking if cmake can be used
cmake is not accesible
error: Cannot found suitable cmake
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pymgclient
Running setup.py clean for pymgclient
Building wheel for pypika (pyproject.toml) ... done
Successfully built pypika
Failed to build pymgclient
ERROR: Failed to build installable wheels for some pyproject.toml based projects (pymgclient)
```

# Solution

The issue is resolved by installing the following package before `escargot`.
```
pip install Cmake
```

Google suggested another solution, `sudo apt-get install build-essential`. Though, I did not try it out.

# Suggestion

Should Cmake be included in the toml?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.