Skip to content

problems with requirements.txt #6

@Haz001

Description

@Haz001

During install on a Debian Docker instance I encountered a few errors during installing the dependencies.

Invalid version for py2neo version 2021.2.3 no longer exists.
This causes error in installing dependencies:

ERROR: Could not find a version that satisfies the requirement py2neo==2021.2.3 (from versions: 2021.2.4)
ERROR: No matching distribution found for py2neo==2021.2.3

This can be fixed by changing the == to >= to allow newer versions.

pyimpfuzzy setup fails during install, I believe this has something to do with ssdeep that is linked with <fuzzy.h> (installing ssdeep resolved the issue on Arch Linux).
Error below.

  Running setup.py install for pyimpfuzzy ... error
  error: subprocess-exited-with-error

  × Running setup.py install for pyimpfuzzy did not run successfully.
  │ exit code: 1
  ╰─> [17 lines of output]
      running install
      /venv/lib/python3.11/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
        warnings.warn(
      running build
      running build_py
      creating build
      creating build/lib.linux-x86_64-cpython-311
      copying pyimpfuzzy.py -> build/lib.linux-x86_64-cpython-311
      running build_ext
      building 'impfuzzyutil' extension
      creating build/temp.linux-x86_64-cpython-311
      x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -I/usr/local/include/ -I/venv/include -I/usr/include/python3.11 -c impfuzzy_util.c -o build/temp.linux-x86_64-cpython-311/impfuzzy_util.o
      impfuzzy_util.c:2:10: fatal error: fuzzy.h: No such file or directory
          2 | #include <fuzzy.h>
            |          ^~~~~~~~~
      compilation terminated.
      error: command '/usr/bin/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: legacy-install-failure

× Encountered error while trying to install package.
╰─> pyimpfuzzy

note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.

The rest installs fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions