pynauty icon indicating copy to clipboard operation
pynauty copied to clipboard

Doesn't install :|

Open FruitfulApproach opened this issue 8 months ago • 2 comments


fruit@DESKTOP-AEBHEGB MINGW64 ~/OneDrive/Desktop/DiagramDetective (main)
$ pip install pynauty
Collecting pynauty
  Using cached pynauty-2.8.8.1.tar.gz (2.3 MB)
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Building wheels for collected packages: pynauty
  DEPRECATION: Building 'pynauty' using the legacy setup.py bdist_wheel mechanism, which will be removed in a future version. pip 25.3 will enforce this behaviour change. A possible replacement is to use the standardized build interface by setting the `--use-pep517` option, (possibly combined with `--no-build-isolation`), or adding a `pyproject.toml` file to the source tree of 'pynauty'. Discussion can be found at https://github.com/pypa/pip/issues/6334
  Building wheel for pynauty (setup.py): started
  Building wheel for pynauty (setup.py): finished with status 'error'
  error: subprocess-exited-with-error

  python setup.py bdist_wheel did not run successfully.
  exit code: 1

  [254 lines of output]
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build\lib.win-amd64-cpython-311
  creating build\lib.win-amd64-cpython-311\pynauty
  copying src\pynauty\graph.py -> build\lib.win-amd64-cpython-311\pynauty
  copying src\pynauty\__init__.py -> build\lib.win-amd64-cpython-311\pynauty
  copying src\pynauty\__main__.py -> build\lib.win-amd64-cpython-311\pynauty
  running egg_info
  writing pynauty.egg-info\PKG-INFO
  writing dependency_links to pynauty.egg-info\dependency_links.txt
  writing top-level names to pynauty.egg-info\top_level.txt
  reading manifest file 'pynauty.egg-info\SOURCES.txt'
  reading manifest template 'MANIFEST.in'
  warning: no previously-included files matching '__pycache__\*' found anywhere in distribution
  warning: no previously-included files matching '*.pyc' found anywhere in distribution
  warning: no previously-included files matching '*.a' found anywhere in distribution
  warning: no previously-included files matching '*.o' found anywhere in distribution
  adding license file 'COPYING'
  writing manifest file 'pynauty.egg-info\SOURCES.txt'
  C:\Python311\Lib\site-packages\setuptools\command\build_py.py:202: SetuptoolsDeprecationWarning:     Installing 'pynauty.docs.doctrees' as data is deprecated, please list it in `packages`.
      !!


      ############################
      # Package would be ignored #
      ############################
      Python recognizes 'pynauty.docs.doctrees' as an importable package,
      but it is not listed in the `packages` configuration of setuptools.

      'pynauty.docs.doctrees' has been automatically added to the distribution only
      because it may contain data files, but this behavior is likely to change
      in future versions of setuptools (and therefore is considered deprecated).

      Please make sure that 'pynauty.docs.doctrees' is included as a package by using
      the `packages` configuration field or the proper discovery methods
      (for example by using `find_namespace_packages(...)`/`find_namespace:`
      instead of `find_packages(...)`/`find:`).

      You can read more about "package discovery" and "data files" on setuptools
      documentation page.


  !!

    check.warn(importable)
  C:\Python311\Lib\site-packages\setuptools\command\build_py.py:202: SetuptoolsDeprecationWarning:     Installing 'pynauty.docs.html' as data is deprecated, please list it in `packages`.
      !!


      ############################
      # Package would be ignored #
      ############################
      Python recognizes 'pynauty.docs.html' as an importable package,
      but it is not listed in the `packages` configuration of setuptools.

      'pynauty.docs.html' has been automatically added to the distribution only
      because it may contain data files, but this behavior is likely to change
      in future versions of setuptools (and therefore is considered deprecated).

      Please make sure that 'pynauty.docs.html' is included as a package by using
      the `packages` configuration field or the proper discovery methods
      (for example by using `find_namespace_packages(...)`/`find_namespace:`
      instead of `find_packages(...)`/`find:`).

      You can read more about "package discovery" and "data files" on setuptools
      documentation page.


  !!

    check.warn(importable)
  C:\Python311\Lib\site-packages\setuptools\command\build_py.py:202: SetuptoolsDeprecationWarning:     Installing 'pynauty.docs.html._modules' as data is deprecated, please list it in `packages`.
      !!


      ############################
      # Package would be ignored #
      ############################
      Python recognizes 'pynauty.docs.html._modules' as an importable package,
      but it is not listed in the `packages` configuration of setuptools.

      'pynauty.docs.html._modules' has been automatically added to the distribution only
      because it may contain data files, but this behavior is likely to change
      in future versions of setuptools (and therefore is considered deprecated).

      Please make sure that 'pynauty.docs.html._modules' is included as a package by using
      the `packages` configuration field or the proper discovery methods
      (for example by using `find_namespace_packages(...)`/`find_namespace:`
      instead of `find_packages(...)`/`find:`).

      You can read more about "package discovery" and "data files" on setuptools
      documentation page.


  !!

    check.warn(importable)
  C:\Python311\Lib\site-packages\setuptools\command\build_py.py:202: SetuptoolsDeprecationWarning:     Installing 'pynauty.docs.html._modules.pynauty' as data is deprecated, please list it in `packages`.
      !!


      ############################
      # Package would be ignored #
      ############################
      Python recognizes 'pynauty.docs.html._modules.pynauty' as an importable package,
      but it is not listed in the `packages` configuration of setuptools.

      'pynauty.docs.html._modules.pynauty' has been automatically added to the distribution only
      because it may contain data files, but this behavior is likely to change
      in future versions of setuptools (and therefore is considered deprecated).

      Please make sure that 'pynauty.docs.html._modules.pynauty' is included as a package by using
      the `packages` configuration field or the proper discovery methods
      (for example by using `find_namespace_packages(...)`/`find_namespace:`
      instead of `find_packages(...)`/`find:`).

      You can read more about "package discovery" and "data files" on setuptools
      documentation page.


  !!

    check.warn(importable)
  C:\Python311\Lib\site-packages\setuptools\command\build_py.py:202: SetuptoolsDeprecationWarning:     Installing 'pynauty.docs.html._sources' as data is deprecated, please list it in `packages`.
      !!


      ############################
      # Package would be ignored #
      ############################
      Python recognizes 'pynauty.docs.html._sources' as an importable package,
      but it is not listed in the `packages` configuration of setuptools.

      'pynauty.docs.html._sources' has been automatically added to the distribution only
      because it may contain data files, but this behavior is likely to change
      in future versions of setuptools (and therefore is considered deprecated).

      Please make sure that 'pynauty.docs.html._sources' is included as a package by using
      the `packages` configuration field or the proper discovery methods
      (for example by using `find_namespace_packages(...)`/`find_namespace:`
      instead of `find_packages(...)`/`find:`).

      You can read more about "package discovery" and "data files" on setuptools
      documentation page.


  !!

    check.warn(importable)
  C:\Python311\Lib\site-packages\setuptools\command\build_py.py:202: SetuptoolsDeprecationWarning:     Installing 'pynauty.docs.html._static' as data is deprecated, please list it in `packages`.
      !!


      ############################
      # Package would be ignored #
      ############################
      Python recognizes 'pynauty.docs.html._static' as an importable package,
      but it is not listed in the `packages` configuration of setuptools.

      'pynauty.docs.html._static' has been automatically added to the distribution only
      because it may contain data files, but this behavior is likely to change
      in future versions of setuptools (and therefore is considered deprecated).

      Please make sure that 'pynauty.docs.html._static' is included as a package by using
      the `packages` configuration field or the proper discovery methods
      (for example by using `find_namespace_packages(...)`/`find_namespace:`
      instead of `find_packages(...)`/`find:`).

      You can read more about "package discovery" and "data files" on setuptools
      documentation page.


  !!

    check.warn(importable)
  C:\Python311\Lib\site-packages\setuptools\command\build_py.py:202: SetuptoolsDeprecationWarning:     Installing 'pynauty.tests' as data is deprecated, please list it in `packages`.
      !!


      ############################
      # Package would be ignored #
      ############################
      Python recognizes 'pynauty.tests' as an importable package,
      but it is not listed in the `packages` configuration of setuptools.

      'pynauty.tests' has been automatically added to the distribution only
      because it may contain data files, but this behavior is likely to change
      in future versions of setuptools (and therefore is considered deprecated).

      Please make sure that 'pynauty.tests' is included as a package by using
      the `packages` configuration field or the proper discovery methods
      (for example by using `find_namespace_packages(...)`/`find_namespace:`
      instead of `find_packages(...)`/`find:`).

      You can read more about "package discovery" and "data files" on setuptools
      documentation page.


  !!

    check.warn(importable)
  copying src\pynauty\nautywrap.c -> build\lib.win-amd64-cpython-311\pynauty
  copying src\pynauty\nautywrap.h -> build\lib.win-amd64-cpython-311\pynauty
  creating build\lib.win-amd64-cpython-311\pynauty\docs
  creating build\lib.win-amd64-cpython-311\pynauty\docs\doctrees
  copying src\pynauty\docs\doctrees\environment.pickle -> build\lib.win-amd64-cpython-311\pynauty\docs\doctrees
  copying src\pynauty\docs\doctrees\guide.doctree -> build\lib.win-amd64-cpython-311\pynauty\docs\doctrees
  copying src\pynauty\docs\doctrees\index.doctree -> build\lib.win-amd64-cpython-311\pynauty\docs\doctrees
  copying src\pynauty\docs\doctrees\install.doctree -> build\lib.win-amd64-cpython-311\pynauty\docs\doctrees
  copying src\pynauty\docs\doctrees\intro.doctree -> build\lib.win-amd64-cpython-311\pynauty\docs\doctrees
  creating build\lib.win-amd64-cpython-311\pynauty\docs\html
  copying src\pynauty\docs\html\.buildinfo -> build\lib.win-amd64-cpython-311\pynauty\docs\html
  copying src\pynauty\docs\html\genindex.html -> build\lib.win-amd64-cpython-311\pynauty\docs\html
  copying src\pynauty\docs\html\guide.html -> build\lib.win-amd64-cpython-311\pynauty\docs\html
  copying src\pynauty\docs\html\index.html -> build\lib.win-amd64-cpython-311\pynauty\docs\html
  copying src\pynauty\docs\html\install.html -> build\lib.win-amd64-cpython-311\pynauty\docs\html
  copying src\pynauty\docs\html\intro.html -> build\lib.win-amd64-cpython-311\pynauty\docs\html
  copying src\pynauty\docs\html\objects.inv -> build\lib.win-amd64-cpython-311\pynauty\docs\html
  copying src\pynauty\docs\html\py-modindex.html -> build\lib.win-amd64-cpython-311\pynauty\docs\html
  copying src\pynauty\docs\html\search.html -> build\lib.win-amd64-cpython-311\pynauty\docs\html
  copying src\pynauty\docs\html\searchindex.js -> build\lib.win-amd64-cpython-311\pynauty\docs\html
  creating build\lib.win-amd64-cpython-311\pynauty\docs\html\_modules
  copying src\pynauty\docs\html\_modules\index.html -> build\lib.win-amd64-cpython-311\pynauty\docs\html\_modules
  copying src\pynauty\docs\html\_modules\pynauty.html -> build\lib.win-amd64-cpython-311\pynauty\docs\html\_modules
  creating build\lib.win-amd64-cpython-311\pynauty\docs\html\_modules\pynauty
  copying src\pynauty\docs\html\_modules\pynauty\graph.html -> build\lib.win-amd64-cpython-311\pynauty\docs\html\_modules\pynauty
  creating build\lib.win-amd64-cpython-311\pynauty\docs\html\_sources
  copying src\pynauty\docs\html\_sources\guide.rst.txt -> build\lib.win-amd64-cpython-311\pynauty\docs\html\_sources
  copying src\pynauty\docs\html\_sources\index.rst.txt -> build\lib.win-amd64-cpython-311\pynauty\docs\html\_sources
  copying src\pynauty\docs\html\_sources\install.rst.txt -> build\lib.win-amd64-cpython-311\pynauty\docs\html\_sources
  copying src\pynauty\docs\html\_sources\intro.rst.txt -> build\lib.win-amd64-cpython-311\pynauty\docs\html\_sources
  creating build\lib.win-amd64-cpython-311\pynauty\docs\html\_static
  copying src\pynauty\docs\html\_static\basic.css -> build\lib.win-amd64-cpython-311\pynauty\docs\html\_static
  copying src\pynauty\docs\html\_static\classic.css -> build\lib.win-amd64-cpython-311\pynauty\docs\html\_static
  copying src\pynauty\docs\html\_static\doctools.js -> build\lib.win-amd64-cpython-311\pynauty\docs\html\_static
  copying src\pynauty\docs\html\_static\documentation_options.js -> build\lib.win-amd64-cpython-311\pynauty\docs\html\_static
  copying src\pynauty\docs\html\_static\file.png -> build\lib.win-amd64-cpython-311\pynauty\docs\html\_static
  copying src\pynauty\docs\html\_static\language_data.js -> build\lib.win-amd64-cpython-311\pynauty\docs\html\_static
  copying src\pynauty\docs\html\_static\minus.png -> build\lib.win-amd64-cpython-311\pynauty\docs\html\_static
  copying src\pynauty\docs\html\_static\plus.png -> build\lib.win-amd64-cpython-311\pynauty\docs\html\_static
  copying src\pynauty\docs\html\_static\pygments.css -> build\lib.win-amd64-cpython-311\pynauty\docs\html\_static
  copying src\pynauty\docs\html\_static\searchtools.js -> build\lib.win-amd64-cpython-311\pynauty\docs\html\_static
  copying src\pynauty\docs\html\_static\sidebar.js -> build\lib.win-amd64-cpython-311\pynauty\docs\html\_static
  copying src\pynauty\docs\html\_static\sphinx_highlight.js -> build\lib.win-amd64-cpython-311\pynauty\docs\html\_static
  creating build\lib.win-amd64-cpython-311\pynauty\tests
  copying src\pynauty\tests\conftest.py -> build\lib.win-amd64-cpython-311\pynauty\tests
  copying src\pynauty\tests\test_autgrp.py -> build\lib.win-amd64-cpython-311\pynauty\tests
  copying src\pynauty\tests\test_isomorphic.py -> build\lib.win-amd64-cpython-311\pynauty\tests
  copying src\pynauty\tests\test_minimal.py -> build\lib.win-amd64-cpython-311\pynauty\tests
  running build_ext
  make nauty-objects
  error: command 'make' failed: None
  [end of output]

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

fruit@DESKTOP-AEBHEGB MINGW64 ~/OneDrive/Desktop/DiagramDetective (main)

What can be done to install it? I really need it for a project, as it's literally the only available option.

FruitfulApproach avatar May 02 '25 06:05 FruitfulApproach