dzieciou / tree-labeller

Helps label training data using taxonomy information.
BSD 3-Clause "New" or "Revised" License
4 stars 1 forks source link

Problem with `fastcache` package installation #12

Closed pkubiak closed 1 year ago

pkubiak commented 1 year ago

During the package installation, I get error:

    × python setup.py bdist_wheel did not run successfully.
    │ exit code: 1
    ╰─> [12 lines of output]
        /home/***/.cache/pypoetry/virtualenvs/tree-labeller-YWWwrHrj-py3.8/lib/python3.8/site-packages/setuptools/dist.py:731: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead
          warnings.warn(
        running bdist_wheel
        running build
        running build_py
        running build_ext
        building 'fastcache._lrucache' extension
        src/_lrucache.c:1:10: fatal error: Python.h: No such file or directory
            1 | #include <Python.h>
              |          ^~~~~~~~~~
        compilation terminated.
        error: command '/usr/lib/ccache/x86_64-linux-gnu-gcc' failed with exit code 1
        [end of output]

    note: This error originates from a subprocess, and is likely not a problem with pip.
    ERROR: Failed building wheel for fastcache
    Running setup.py clean for fastcache

It probably requires some development libraries that my system miss?

But I wonder if it makes sense to use this library?