You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
Hello, Compilation of that module requires the graphviz C headers, make sure those are installed and are in the include path. It means, in Ubuntu (I guess Google Colab is Ubuntu) you have to install the graphviz-dev package: https://networkcommons.readthedocs.io/en/main/installation.html
Conda uses the headers from its own graphviz package and either uses those to compile pygraphviz or it ships an already compiled version. In this case, if you install networkcommons with your conda environment being active, with its include paths set up, pygraphviz should be able to compile.
Hello! While I am trying to install both locally on a windows machine and in Google Colab, I am getting the following error:
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?
The text was updated successfully, but these errors were encountered: