Hi,
2) We _do_ have python bindings for graphviz, however. Try installing
"pygraphviz-py27".
I have pygraph installed on my system from source already. when i tried
installing
pygraphviz-py27 through fink, i get an error,
The following package will be installed or updated:
pygraphviz-py27
Setting runtime build-lock...
dpkg-deb -b /sw/src/fink.build/root-fink-buildlock-pygraphviz-py27-1.1-1
/sw/src/fink.build
dpkg-deb: building package `fink-buildlock-pygraphviz-py27-1.1-1' in
`/sw/src/fink.build/fink-buildlock-pygraphviz-py27-1.1-1_2012.08.15-21.39.3
9_darwin-x86_64.deb'.
Installing build-lock package...
/sw/bin/dpkg-lockwait -i
/sw/src/fink.build/fink-buildlock-pygraphviz-py27-1.1-1_2012.08.15-21.39.39
_darwin-x86_64.deb
Selecting previously deselected package
fink-buildlock-pygraphviz-py27-1.1-1.
(Reading database ... 31627 files and directories currently installed.)
Unpacking fink-buildlock-pygraphviz-py27-1.1-1 (from
.../fink-buildlock-pygraphviz-py27-1.1-1_2012.08.15-21.39.39_darwin-x86_64.
deb) ...
Setting up fink-buildlock-pygraphviz-py27-1.1-1 (2012.08.15-21.39.39) ...
sudo -u fink-bld [ENV] sh -c /tmp/fink.mypAm
/sw/bin/tar --no-same-owner --no-same-permissions -xf
/Users/udp3f/src/pygraphviz-1.1.tar.gz
### execution of /sw/bin/tar failed, exit code 2
### execution of /tmp/fink.mypAm failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-pygraphviz-py27-1.1-1
(Reading database ... 31628 files and directories currently installed.)
Removing fink-buildlock-pygraphviz-py27-1.1-1 ...
Failed: phase unpacking 'pygraphviz-1.1.tar.gz': pygraphviz-py27-1.1-1
failed
Before reporting any errors, please run "fink selfupdate" and try again.
Also try using "fink configure" to set your maximum build jobs to 1 and
attempt to build the package again.
If you continue to have issues, please check to see if the FAQ on Fink's
website solves the problem. If not, ask on one (not both, please) of
these mailing lists:
The Fink Users List <[email protected]>
The Fink Beginners List <[email protected]>,
with a carbon copy to the maintainer:
Daniel Johnson <[email protected]>
Note that this is preferable to emailing just the maintainer directly,
since most fink package maintainers do not have access to all possible
hardware and software configurations.
Please try to include the complete error message in your report. This
generally consists of a compiler line starting with e.g. "gcc" or "g++"
followed by the actual error output from the compiler.
Also include the following system information:
Package manager version: 0.34.2
Distribution version: selfupdate-rsync Wed Aug 15 21:35:04 2012, 10.7,
x86_64
Trees: local/main stable/main
No recognized Xcode.app installed
Xcode command-line tools: 4.4.0.0.1.1249367152
Max. Fink build jobs: 4
Regards,
Uma
On 8/15/12 5:09 PM, "Alexander Hansen" <[email protected]> wrote:
>On 8/15/12 1:39 PM, Paila, Uma Devi (udp3f) wrote:
>> Hi,
>> I had recently installed fink on my Mac OSX lion (10.7) to install
>> graphviz to be used with python scripting. I had installed the version
>> available with fink (2.26.3-6) though a stable version 2.28 is also
>> available, fink does not show it in its updates.
>
>Fink only knows about versions which our maintainers have explicitly
>made available--the fact that there is a later upstream version
>indicates that our maintainer hasn't updated the Fink graphviz package
>yet.
>
>Fink shows an 'i' for
>> this package which means it is installed but when i try to import gv it
>>says
>>
>> ImportError: No module named gv
>>
>> i have python 2.7 installed and my script has lines like
>> import sys
>> sys.path.append('..')
>> sys.path.append('/usr/local/lib/graphviz/python')
>> import gv
>>
>> I had googled a lot on tho issue and even in the mailing lists and
>> nothing seemed to help. What i understand is there are no python
>> bindings to graphviz for mac and that some libgv-python is required. I
>> am not sure
>> how to fix this for mac lion. Any help would be greatly appreciated.
>>
>> Regards,
>> Uma
>>
>>
>
>1) "graphviz" doesn't contain any python bindings.
>2) We _do_ have python bindings for graphviz, however. Try installing
>"pygraphviz-py27".
>3) Fink doesn't install in /usr/local, so your script won't work as is.
> Use "dpkg -L pygraphviz-py27" to show where pygraphviz-py27 installs
>its packages and you can modify your script appropriately.
>
>--
>Alexander Hansen, Ph.D.
>Fink User Liaison
>My package updates: http://finkakh.wordpress.com/
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Fink-beginners mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners