I have installed pygraphviz using easy_install But when i launch python i have an error:
>>>import pygraphviz as pgv Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: No module named pygraphviz >>>
Using Ubuntu 12.04 and gnome-terminal.
Step 1: Download the get-pip.py (https://bootstrap.pypa.io/get-pip.py) file and store it in the same directory as python is installed. Step 2: Change the current path of the directory in the command line to the path of the directory where the above file exists. Step 4: Now wait through the installation process. Voila!
Assuming that you're on Ubuntu please look at following steps
sudo apt-get install graphviz libgraphviz-dev pkg-config
sudo apt-get install python-pip python-virtualenv
pip install pygraphviz
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With