Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
install pygraphviz on windows - cannot open cgraph.lib
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Karol Żeluk  
View profile  
 More options May 24 2012, 1:04 pm
From: Karol Żeluk <karol.ze...@gmail.com>
Date: Thu, 24 May 2012 10:04:44 -0700 (PDT)
Local: Thurs, May 24 2012 1:04 pm
Subject: install pygraphviz on windows - cannot open cgraph.lib
Hello!

I try install pygraphviz on Windows 7 (x86). I already installed
Graphviz 2.8, but i get an error :
C:\pygraphviz\pygraphviz-1.1>python setup.py install
library_path=c:\Program Files (x86)\Graphviz 2.28\lib\realase\lib
include_path=c:\Program Files (x86)\Graphviz 2.28\include\graphviz
running install
running build
running build_py
copying pygraphviz\agraph.py -> build\lib.win32-2.6\pygraphviz
running build_ext
building 'pygraphviz._graphviz' extension
C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\link.exe /DLL /
nologo /INCRE
MENTAL:NO /LIBPATH:C:\Python26\libs /LIBPATH:C:\Python26\PCbuild
cgraph.lib cdt.
lib /EXPORT:init_graphviz build\temp.win32-2.6\Release\pygraphviz/
graphviz_wrap.
obj /OUT:build\lib.win32-2.6\pygraphviz\_graphviz.pyd /IMPLIB:build
\temp.win32-2
.6\Release\pygraphviz\_graphviz.lib /MANIFESTFILE:build
\temp.win32-2.6\Release\p
ygraphviz\_graphviz.pyd.manifest "/LIBPATH:c:\Program Files
(x86)\Graphviz 2.28\
lib\realase\lib"
LINK : fatal error LNK1181: cannot open input file 'cgraph.lib'
error: command '"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN
\link.exe"'
failed with exit status 1181

I try this: https://networkx.lanl.gov/trac/ticket/117, but it doesn't
work.

Thanks,
Karol


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nathan Salomonis  
View profile  
 More options Dec 16 2012, 5:56 am
From: Nathan Salomonis <nsalomo...@gmail.com>
Date: Sun, 16 Dec 2012 02:56:17 -0800 (PST)
Local: Sun, Dec 16 2012 5:56 am
Subject: Re: install pygraphviz on windows - cannot open cgraph.lib

Greetings,

I have the exact same issue. I am using a 64 bit version of python 2.7 and
have downloaded Graphviz 2.28. The error is the same with 'cgraph.lib' not
found under Graphviz/lib/release/lib (note the below post does have release
spelled as "realase" in the setup file under the library_path parameter).
The lib file cgraph.lib is in the release/lib folder so it is unclear why
the installer is not finding this. I am using Visual Studio 2008 and get
other errors when trying with MinGW.  If someone can even point out the
python line to debug, that would be a good start (is setup.py looking in
the right folder?). The file is also in "debug/lib" but changing the
library_path to this doesn't fix it as the following person reported:

http://stackoverflow.com/questions/2798858/installing-pygraphviz-on-w...

I've got this to work on my 32 bit Windows machine and a Mac but not in 64
bit Windows.

Best,
Nathan


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »