codegraph icon indicating copy to clipboard operation
codegraph copied to clipboard

Installation fails

Open nocomplexity opened this issue 8 months ago • 0 comments

Describe the bug A clear and concise description of what the bug is.

pip install codegraph

Fails. This is outlined in the README to install this tool.

To Reproduce Steps to reproduce the behavior:

  1. Create a new environment
  2. Do pip install codegraph

And error appears:

× Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [78 lines of output]
      /tmp/pip-build-env-1l5izz0w/overlay/lib/python3.13/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
      !!
      
              ********************************************************************************
              Please consider removing the following classifiers in favor of a SPDX license expression:
      
              License :: OSI Approved :: MIT License
      
              See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
              ********************************************************************************
      
      !!

Tried with Python 3.10 and 3.13 with no success with getting pip install codegraph working.

Error details:

pip install codegraph
Collecting codegraph
  Using cached codegraph-0.0.7-py3-none-any.whl.metadata (2.5 kB)
Collecting clifier<0.0.4,>=0.0.3 (from codegraph)
  Using cached clifier-0.0.3-py3-none-any.whl.metadata (487 bytes)
Collecting matplotlib<4.0,>=3.1 (from codegraph)
  Using cached matplotlib-3.10.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (11 kB)
Collecting networkx<3.0,>=2.4 (from codegraph)
  Using cached networkx-2.8.8-py3-none-any.whl.metadata (5.1 kB)
Collecting PyYAML<6.0,>=5.3 (from clifier<0.0.4,>=0.0.3->codegraph)
  Using cached PyYAML-5.4.1.tar.gz (175 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error
  
  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [78 lines of output]
      /tmp/pip-build-env-1l5izz0w/overlay/lib/python3.13/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
      !!
      
              ********************************************************************************
              Please consider removing the following classifiers in favor of a SPDX license expression:
      
              License :: OSI Approved :: MIT License
      
              See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
              ********************************************************************************
      
      !!
        self._finalize_license_expression()
      running egg_info
      writing lib3/PyYAML.egg-info/PKG-INFO
      writing dependency_links to lib3/PyYAML.egg-info/dependency_links.txt
      writing top-level names to lib3/PyYAML.egg-info/top_level.txt

...
 raise AttributeError(attr)
      AttributeError: cython_sources
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel 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.

nocomplexity avatar Apr 04 '25 09:04 nocomplexity