Problem installing PygraphViz 0.99.1

57 views
Skip to first unread message

ruchit

unread,
Oct 19, 2009, 5:06:19 PM10/19/09
to networkx-discuss
Excuse me if this post is in the wrong group. I had posted it on
Pygraphviz group a month back but no one answered it. So wanted to try
my luck here.

When i try to install pygraphviz to use with NetworkX for Python 2.6
it gives me the following warning:

"I don't know what to do with 'runtime_library_dirs':[<Dir for
libarary>]"

and then gives an error:

"don't know how to set runtime library search path for MSVC++"

Incidentally i have Python 2.5 also installed in my system and when i
try to install pygraphviz using the Python 2.5 installer it works
fine
and doesnt give me any error.

Is Pygraphviz-0.99.1 not compatible with Python 2.6? Am i missing
something or should i downgrade to Python 2.5.

Any help and suggestion would be appreciated. Am a beginner at python
and pygraphviz.

Installed Packages:
OS: Windows XP
Python: Python 2.6
GraphViz: Graphviz-2.24
Microsoft Visual Studio 2008
Networkx 1.0rc1

Trying to install Pygraphviz-0.99.1

Thanks
Ruchit

Aric Hagberg

unread,
Oct 19, 2009, 6:47:36 PM10/19/09
to networkx...@googlegroups.com
On Mon, Oct 19, 2009 at 3:06 PM, ruchit <watzi...@gmail.com> wrote:

> When i try to install pygraphviz to use with NetworkX for Python 2.6
> it gives me the following warning:
>
>  "I don't know what to do with 'runtime_library_dirs':[<Dir for
> libarary>]"
>
> and then gives an error:
>
> "don't know how to set runtime library search path for MSVC++"
>
> Incidentally i have Python 2.5 also installed in my system and when i
> try to install pygraphviz using the Python 2.5 installer it works
> fine
> and doesnt give me any error.
>
> Is Pygraphviz-0.99.1 not compatible with Python 2.6? Am i missing
> something or should i downgrade to Python 2.5.
>
> Any help and suggestion would be appreciated. Am a beginner at python
> and pygraphviz.
>
> Installed Packages:
> OS: Windows XP
> Python: Python 2.6
> GraphViz: Graphviz-2.24
> Microsoft Visual Studio 2008
> Networkx 1.0rc1
>
> Trying to install Pygraphviz-0.99.1


PyGraphviz works with Python2.6.

Maybe someone that understands MSVC++ and linking can answer...

But I'll speculate:
Maybe your Python2.5 and Python2.6 versions are complied with
different compilers? I think the GraphViz package and Python
package might need to be built with the same compiler version to be
able to link Python extensions to Graphviz (e.g. PyGraphviz).

Aric

Reply all
Reply to author
Forward
0 new messages