[Scipy-svn] r3179 - trunk/Lib/sandbox/pyem

scipy-svn@scip... scipy-svn@scip...
Sat Jul 21 21:44:03 CDT 2007


Author: cdavid
Date: 2007-07-21 21:43:59 -0500 (Sat, 21 Jul 2007)
New Revision: 3179

Modified:
   trunk/Lib/sandbox/pyem/__init__.py
Log:
Raise an import error when importing pyem as it has been moved to scikits.

Modified: trunk/Lib/sandbox/pyem/__init__.py
===================================================================
--- trunk/Lib/sandbox/pyem/__init__.py	2007-07-19 15:57:23 UTC (rev 3178)
+++ trunk/Lib/sandbox/pyem/__init__.py	2007-07-22 02:43:59 UTC (rev 3179)
@@ -1,6 +1,12 @@
 #! /usr/bin/env python
-# Last Change: Sat Jun 09 10:00 PM 2007 J
+# Last Change: Sun Jul 22 11:00 AM 2007 J
 
+raise ImportError(
+"""pyem has been moved to scikits and renamed to em. Please install
+scikits.learn instead, and change your import to the following:
+
+from scickits.learn.machine import em.""")
+
 from info import __doc__
 
 from gauss_mix import GmParamError, GM



More information about the Scipy-svn mailing list