Skip to content

3.14, "Problem with the CMake installation, aborting build" #76

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

Closed
achaikou opened this issue May 27, 2019 · 3 comments
Closed

3.14, "Problem with the CMake installation, aborting build" #76

achaikou opened this issue May 27, 2019 · 3 comments
Labels
Category: ManyLinux Related to ManyLinux1 (PEP 513) and ManyLinux2010 (PEP 571)

Comments

@achaikou
Copy link

Might be related to #60 and mentioned PR

Before 3.14:
python -m pip install cmake pybind11 scikit-build
worked fine

With 3.14:
ImportError: No module named 'skbuild'
Full log:
https://travis-ci.org/equinor/dlisio/jobs/537728246

Changed installation order:
python -m pip install scikit-build
python -m pip install cmake

File "/opt/python/cp35-cp35m/lib/python3.5/site-packages/skbuild/cmaker.py", line 81, in get_cmake_version
Problem with the CMake installation, aborting build. CMake executable is cmake
Full log:
https://travis-ci.org/equinor/dlisio/jobs/537745800

jcfr added a commit to jcfr/dlisio that referenced this issue May 27, 2019
Since starting with CMake 3.14, only manylinux2010 compatible wheels are
available, requiring any version of cmake ends building cmake from source
when installed from a manylinux1 system.

See scikit-build/cmake-python-distributions#76
@jcfr
Copy link
Contributor

jcfr commented May 27, 2019

Starting with CMake 3.14.3, manylinux2010 is used to build the wheel ... and since manylinux1 is used by multibuild, the pip install cmake command decides it should build cmake from source.

Waiting this addressed in multibuild, I submitted a PR to "work around" the issue.

I think this might be a pip issue, it should not decide to build the project from source right way and instead look if older version are compatible.

@jcfr
Copy link
Contributor

jcfr commented May 27, 2019

An issue has been reported in upstream, see pypa/pip#6547

@kanamadiharshita
Copy link

cmake version 3.29 python3.12 llama-cpp-python=0.2.57
i am getting error ValueError: Model path does not exist: mistral-7b-instruct-v0.1.Q4_K_M.gguf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category: ManyLinux Related to ManyLinux1 (PEP 513) and ManyLinux2010 (PEP 571)
Projects
None yet
Development

No branches or pull requests

3 participants