Ask Your Question

ZainAK283's profile - activity

2021-09-06 19:23:20 +0200 received badge  Notable Question (source)
2021-09-06 19:23:20 +0200 received badge  Popular Question (source)
2019-02-12 18:41:00 +0200 commented question Sage and pygraphviz help

I am able to sage -pip install jupyterlab (as well as graphviz, just not pygraphviz)

2019-02-01 09:15:14 +0200 commented question Sage and pygraphviz help

Thank you for your suggestion! Unfortunately, this did not work either (I get the same error message).

2019-01-31 18:52:22 +0200 asked a question Sage and pygraphviz help

Hi all!

I am trying to run pygraphviz on Sage8.6 (on Windows 10), but having some troubles.

When I run the Sage Shell as administrator, I can pip install graphviz without any problems. When I try to pip install pygraphviz, however, it comes with the following error message:

Command "/opt/sagemath-8.6/local/bin/python2 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-ApORib/pygraphviz/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-dJAQAU/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-ApORib/pygraphviz/

I have a screenshot of the full error code if that is helpful (but I am not sure how to post it as I do not have enough karma), and there was someone else who posted a similar question, but their solution did not seem to work for me (I would link to it but, again, not enough karma).

Please help!