Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #44082

Re: Error in "Import gv " module

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eweka.nl!lightspeed.eweka.nl!194.109.133.86.MISMATCH!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <andipersti@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.007
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'url:pypi': 0.03; 'pypi': 0.07; 'subject:Error': 0.07; 'posting.': 0.09; 'subject:module': 0.09; 'andreas': 0.16; 'bindings.': 0.16; 'bye,': 0.16; 'did.': 0.16; 'wrote:': 0.18; 'module': 0.19; 'command': 0.22; 'header :User-Agent:1': 0.23; 'header:In-Reply-To:1': 0.27; "doesn't": 0.30; 'said,': 0.30; "i'm": 0.30; 'file': 0.32; 'url:python': 0.33; 'received:google.com': 0.35; 'possible': 0.36; 'url:org': 0.36; 'two': 0.37; 'received:10': 0.37; 'message-id:@gmail.com': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'save': 0.62; 'afraid': 0.65; 'url:0': 0.67; 'url:a': 0.72
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=E9KF4NOn2vCa7BFkep4lh4XGBHEwiQmFoYg4Yeyd/Jk=; b=GcgQeFTwQrGkBT9SyW35Q77Nkb3/vBA198EGEo1gUbMEgQzvCHUqE0x5h5U3amSni0 4M9Wy/xtUkgtch9rNV6Uy3Jzue5DiDhh+wvaYqA9FWjzkAYqTSDUeDOoaKqE5fMiKS1j zjdvKzVUnlc0g56kv9XsNIe4lWuAzmmJg1Uv+iyn9+LvF/JjWa6XNy+g7Q++v+LQSEBd V4pyFu0Uj+muLFCflrh0reQa0YPDJWiAFw0PoGEmVq10KhcezXtoAsRmhX/HcNAIFdSj uZnO/eAOfphlMzaH/jLFlrzL8G1RxN/OJV0f11YC4I9DU79V1dNLh3AshC5HHJtk+1A2 e5ww==
X-Received by 10.204.173.142 with SMTP id p14mr11282488bkz.115.1366642842461; Mon, 22 Apr 2013 08:00:42 -0700 (PDT)
Date Mon, 22 Apr 2013 17:00:39 +0200
From Andreas Perstinger <andipersti@gmail.com>
User-Agent Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130329 Thunderbird/17.0.5
MIME-Version 1.0
To python-list@python.org
Subject Re: Error in "Import gv " module
References <CAHz2wAJh6rw4EFJm_vRFzCOiuPSs-+NR0Kq6br6sQcZGMGXtvg@mail.gmail.com> <51751178.5070204@gmail.com> <51752C58.4000701@gmail.com> <CAHz2wALoBMF4Nv92ZYxvFPdqEffU8HyfocpqYu5dwoGMSzRrkQ@mail.gmail.com>
In-Reply-To <CAHz2wALoBMF4Nv92ZYxvFPdqEffU8HyfocpqYu5dwoGMSzRrkQ@mail.gmail.com>
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.921.1366642850.3114.python-list@python.org> (permalink)
Lines 18
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1366642850 news.xs4all.nl 2172 [2001:888:2000:d::a6]:33846
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:44082

Show key headers only | View raw


You are still top posting.

On 22.04.2013 14:43, Megha Agrawal wrote:
> yes, I did. They said, gv module doesn't exist for windows.

Then I'm afraid you are out of luck.

Two possible alternatives:

1) Save your graph to a file and use the command line tools:
http://stackoverflow.com/a/12698636

2) Try some other Graphviz bindings. A quick search on PyPi gave me:
https://pypi.python.org/pypi/pygraphviz/1.1
https://pypi.python.org/pypi/pydot/1.0.28
https://pypi.python.org/pypi/yapgvb/1.2.0

Bye, Andreas

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Error in "Import gv " module Andreas Perstinger <andipersti@gmail.com> - 2013-04-22 17:00 +0200

csiph-web