Skip to content

Installation issue #59

Description

@kantonopoulos

Hello! While I am trying to install both locally on a windows machine and in Google Colab, I am getting the following error:

Building wheels for collected packages: pygraphviz, lazy-import, docrep, pysftp, timeloop
  error: subprocess-exited-with-error
  
  × python setup.py bdist_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.
  Building wheel for pygraphviz (setup.py) ... error
  ERROR: Failed building wheel for pygraphviz
  Running setup.py clean for pygraphviz
  Building wheel for lazy-import (setup.py) ... done
  Created wheel for lazy-import: filename=lazy_import-0.2.2-py2.py3-none-any.whl size=16493 sha256=910088147bef5484bc12f7f3763cf4a7f215d92874d9a4d64108c620ff999159
  Stored in directory: /root/.cache/pip/wheels/89/c9/fe/406995d79062aa583b3da5a6e53f1441c76415d7ee3c2fdaf9
  Building wheel for docrep (setup.py) ... done
  Created wheel for docrep: filename=docrep-0.3.2-py3-none-any.whl size=19876 sha256=5d83aeddeddb277129ff2ae06774f53de2e60e15c71d309dfefbe161427b34cd
  Stored in directory: /root/.cache/pip/wheels/c3/64/48/03c38d8d906159eaa210b3c548fdb590eb3e2a4a5745ae2172
  Building wheel for pysftp (setup.py) ... done
  Created wheel for pysftp: filename=pysftp-0.2.9-py3-none-any.whl size=15497 sha256=cae2eeeb3157597a2a02785fa60f4bbe924f7013c578fa7f8689240d23a7095d
  Stored in directory: /root/.cache/pip/wheels/64/52/87/2683826a06d053045a9bd11f05850e26bbdbfbf821ee6735f0
  Building wheel for timeloop (setup.py) ... done
  Created wheel for timeloop: filename=timeloop-1.0.2-py3-none-any.whl size=3703 sha256=f9ecd07bef1b5072db42839287036edf4cf35bee42eaaae31b359bf8a19521fd
  Stored in directory: /root/.cache/pip/wheels/8b/df/32/f72b9fd897c185cd70103331f70e4cb66e3df1de24bd476548
Successfully built lazy-import docrep pysftp timeloop
Failed to build pygraphviz
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (pygraphviz)

Even though I can install properly the pygraphviz and graphviz through conda, I am still getting the same problem when I try to install the networkcommons package. Do you have any idea why this might happen?

Python 3.11.8
pygraphviz                1.13            py311hb597c0d_1    conda-forge
graphviz                  11.0.0               h09e431a_0    conda-forge

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions