[SciPy-user] from scipy.cplt import *
Nils Wagner
nwagner at mecha.uni-stuttgart.de
Thu Oct 7 03:50:08 EDT 2004
Pearu Peterson wrote:
>
>
> On Thu, 7 Oct 2004, Nils Wagner wrote:
>
>>> Did you remove also
>>>
>>> /usr/include/python2.3/Numeric/
>>>
>>> before Numeric re-install?
>>
>>
>>
>> No.
>
>
> That's probably the most important step when upgrading Numeric as
> distutils does not install new header files when old ones are in the way.
>
Now I have removed
/usr/include/python2.3/Numeric
the build directories in scipy and Numeric
but again
>>> from scipy.xplt import *
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/usr/lib/python2.3/site-packages/scipy_base/ppimport.py", line
303, in __getattr__
module = self._ppimport_importer()
File "/usr/lib/python2.3/site-packages/scipy_base/ppimport.py", line
262, in _ppimport_importer
raise PPImportError,\
scipy_base.ppimport.PPImportError: Traceback (most recent call last):
File "/usr/lib/python2.3/site-packages/scipy_base/ppimport.py", line
273, in _ppimport_importer
module = __import__(name,None,None,['*'])
File "/usr/lib/python2.3/site-packages/scipy/xplt/__init__.py", line
12, in ?
from Mplot import *
File "/usr/lib/python2.3/site-packages/scipy/xplt/Mplot.py", line
1015, in ?
import colorbar
File "/usr/lib/python2.3/site-packages/scipy/xplt/colorbar.py", line
9, in ?
from slice3 import *
File "/usr/lib/python2.3/site-packages/scipy/xplt/slice3.py", line
1581, in ?
_poly_permutations4 = _construct3 (0)
File "/usr/lib/python2.3/site-packages/scipy/xplt/slice3.py", line
1575, in _construct3
mask = find_mask (below, _node_edges3 [itype])
TypeError: Array can not be safely cast to required type
How about f2py ? Is this package involved in this failure ?
Nils
>> BTW, is it possible to include something like an automized
>> "make clean" in scipy ?
>
>
> Well, distutils provides one. Try
>
> python setup.py clean -a
>
> See also
>
> python setup.py clean --help
>
> This doesn't remove installed scipy from the system, of course.
>
> Pearu
>
> _______________________________________________
> SciPy-user mailing list
> SciPy-user at scipy.net
> http://www.scipy.net/mailman/listinfo/scipy-user
More information about the SciPy-User
mailing list