[SciPy-user] desactivating R

Joshua Petterson joshuafr at gmail.com
Tue Dec 19 05:31:04 CST 2006


hmm, very strange, I have compiled scipy two weeks ago.
Ok, I'm going to delete scipy and reinstall it. Do I just have to erase the
scipy directory under "site-package" or is there others specials files?
thanks for your help

2006/12/19, Robert Kern <robert.kern at gmail.com>:
>
> Joshua Petterson wrote:
> > ##################
> > #
> > # stats - Statistical Functions
> > #
> >
> > from info_stats import __doc__
> >
> > try:
> >     import pstats
> > except ImportError:
> >     import warnings
> >     import sys
> >     pyver = 'python%d.%d'%sys.version_info[:2]
> >     warnings.warn("The pstats module is not available.\nInstall the
> > %s-profiler Debian package if you need it"%pyver, UserWarning,
> stacklevel=2)
> >     del warnings
> >     del sys
> >     del pyver
> >
> > from stats import *
> > from distributions import *
> > from rv import *
> > from morestats import *
> > try:  # use R functions if installed.
> >     import rpy
> >     from rfuncs import *
> > except ImportError:
> >     pass
> > ##################
>
> Okay, yeah, that's a very old version of that file. This is what it's
> supposed
> to look like:
>
>
> http://projects.scipy.org/scipy/scipy/browser/trunk/Lib/stats/__init__.py
>
> I recommend that you delete that scipy and reinstall.
>
> --
> Robert Kern
>
> "I have come to believe that the whole world is an enigma, a harmless
> enigma
> that is made terrible by our own mad attempt to interpret it as though it
> had
> an underlying truth."
>   -- Umberto Eco
> _______________________________________________
> SciPy-user mailing list
> SciPy-user at scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/scipy-user/attachments/20061219/e1ad3a8a/attachment.html 


More information about the SciPy-user mailing list