[Biopython-dev] Notification: incoming/110

biopython-bugs at bioperl.org biopython-bugs at bioperl.org
Wed Dec 18 21:54:26 EST 2002


JitterBug notification

new message incoming/110

Message summary for PR#110
	From: a at bc.com
	Subject: distributions.py / vq.py
	Date: Wed, 18 Dec 2002 21:54:25 -0500
	0 replies 	0 followups

====> ORIGINAL MESSAGE FOLLOWS <====

>From a at bc.com Wed Dec 18 21:54:26 2002
Received: from localhost (localhost [127.0.0.1])
	by pw600a.bioperl.org (8.12.6/8.12.6) with ESMTP id gBJ2sPSQ021861
	for <biopython-bugs at pw600a.bioperl.org>; Wed, 18 Dec 2002 21:54:25 -0500
Date: Wed, 18 Dec 2002 21:54:25 -0500
Message-Id: <200212190254.gBJ2sPSQ021861 at pw600a.bioperl.org>
From: a at bc.com
To: biopython-bugs at bioperl.org
Subject: distributions.py / vq.py
X-Spam-Status: No
X-Scanned-By: MIMEDefang 2.26 (www . roaringpenguin . com / mimedefang)

Full_Name: .........
Module: distributions.py
Version: 1.10 distribution
OS: W2K, SunOS 5.8
Submission from: cache.vic.csiro.au (138.194.15.102)


  File "C:\PROGRA~1\Python22\Lib\site-packages\scipy\cluster\vq.py", line 304,
in kmeans
    guess = take(obs,randint(0,No,k),0)
  File "C:\PROGRA~1\Python22\lib\site-packages\scipy\stats\distributions.py",
line 2727, in __call__
    U = rv.random(size=self._size)
AttributeError: 'module' object has no attribute 'random'

Strangely, dir(rv) reveals no 'random' module!





More information about the Biopython-dev mailing list