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

Error when installing - Folium Error #36

Open
PhyLoop opened this issue Jan 27, 2024 · 1 comment
Open

Error when installing - Folium Error #36

PhyLoop opened this issue Jan 27, 2024 · 1 comment

Comments

@PhyLoop
Copy link

PhyLoop commented Jan 27, 2024

First off, the concept in this work is brilliant!! However I have received a problem in the installation, I will post the code below.

[*] Installing folium
Collecting folium
Using cached folium-0.15.1-py2.py3-none-any.whl.metadata (3.4 kB)
Collecting branca>=0.6.0 (from folium)
Using cached branca-0.7.0-py3-none-any.whl.metadata (1.5 kB)
Collecting jinja2>=2.9 (from folium)
Using cached Jinja2-3.1.3-py3-none-any.whl.metadata (3.3 kB)
Collecting numpy (from folium)
Using cached numpy-1.26.3.tar.gz (15.7 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... error
error: subprocess-exited-with-error

× pip subprocess to install backend dependencies did not run successfully.
│ exit code: 1
╰─> [67 lines of output]
Collecting ninja>=1.8.2
Using cached ninja-1.11.1.1.tar.gz (132 kB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'done'
Collecting patchelf>=0.11.0
Using cached patchelf-0.17.2.1.tar.gz (167 kB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'done'
Building wheels for collected packages: ninja, patchelf
Building wheel for ninja (pyproject.toml): started
Building wheel for ninja (pyproject.toml): finished with status 'error'
error: subprocess-exited-with-error

    × Building wheel for ninja (pyproject.toml) did not run successfully.
    │ exit code: 1
    ╰─> [15 lines of output]
        /data/data/com.termux/files/usr/tmp/pip-build-env-p1zj6mit/overlay/lib/python3.11/site-packages/setuptools_scm/git.py:308: UserWarning: git archive did not support describe output
          warnings.warn("git archive did not support describe output")
        /data/data/com.termux/files/usr/tmp/pip-build-env-p1zj6mit/overlay/lib/python3.11/site-packages/setuptools_scm/git.py:327: UserWarning: unprocessed git archival found (no export subst applied)
          warnings.warn("unprocessed git archival found (no export subst applied)")
        Traceback (most recent call last):
          File "/data/data/com.termux/files/usr/tmp/pip-build-env-p1zj6mit/overlay/lib/python3.11/site-packages/skbuild/setuptools_wrap.py", line 645, in setup
            cmkr = cmaker.CMaker(cmake_executable)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
          File "/data/data/com.termux/files/usr/tmp/pip-build-env-p1zj6mit/overlay/lib/python3.11/site-packages/skbuild/cmaker.py", line 148, in __init__
            self.cmake_version = get_cmake_version(self.cmake_executable)
                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
          File "/data/data/com.termux/files/usr/tmp/pip-build-env-p1zj6mit/overlay/lib/python3.11/site-packages/skbuild/cmaker.py", line 105, in get_cmake_version
            raise SKBuildError(msg) from err

        Problem with the CMake installation, aborting build. CMake executable is cmake
        [end of output]

    note: This error originates from a subprocess, and is likely not a problem with pip.
    ERROR: Failed building wheel for ninja
    Building wheel for patchelf (pyproject.toml): started
    Building wheel for patchelf (pyproject.toml): finished with status 'error'
    error: subprocess-exited-with-error

    × Building wheel for patchelf (pyproject.toml) did not run successfully.
    │ exit code: 1
    ╰─> [11 lines of output]
        Traceback (most recent call last):
          File "/data/data/com.termux/files/usr/tmp/pip-build-env-ilthuzku/overlay/lib/python3.11/site-packages/skbuild/setuptools_wrap.py", line 645, in setup
            cmkr = cmaker.CMaker(cmake_executable)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
          File "/data/data/com.termux/files/usr/tmp/pip-build-env-ilthuzku/overlay/lib/python3.11/site-packages/skbuild/cmaker.py", line 148, in __init__
            self.cmake_version = get_cmake_version(self.cmake_executable)
                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
          File "/data/data/com.termux/files/usr/tmp/pip-build-env-ilthuzku/overlay/lib/python3.11/site-packages/skbuild/cmaker.py", line 105, in get_cmake_version
            raise SKBuildError(msg) from err

        Problem with the CMake installation, aborting build. CMake executable is cmake
        [end of output]

    note: This error originates from a subprocess, and is likely not a problem with pip.
    ERROR: Failed building wheel for patchelf
  Failed to build ninja patchelf
  ERROR: Could not build wheels for ninja, patchelf, which is required to install pyproject.toml-based projects
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× pip subprocess to install backend dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

@MADavisFS20
Copy link

I'm getting the same error when attempting to install GoogleAI

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

2 participants