473,503 Members | 1,726 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

problems installling scipy.weave on windows

Hi,

I have problems trying to install the scipy.weave package. I run Python
2.4 on windows XP and my C compiler is MinGW.
Below is the output of scipy.weave.test(). I read that the tests should
last several minutes, but in my case it only lasts a few seconds.

Thanks in advance for any help.

Julien Fiore

import scipy.weave
scipy.weave.test() Found 16 tests for scipy.weave.slice_handler
Found 0 tests for scipy.weave.c_spec
Found 2 tests for scipy.weave.blitz_tools
building extensions here:
c:\docume~1\julien~1\locals~1\temp\Julien\python24 _compiled\m10
Found 1 tests for scipy.weave.ext_tools
Found 74 tests for scipy.weave.size_check
Found 9 tests for scipy.weave.build_tools
Found 0 tests for scipy.weave.inline_tools
Found 1 tests for scipy.weave.ast_tools
Found 0 tests for scipy.weave.wx_spec
Found 3 tests for scipy.weave.standard_array_spec
Found 26 tests for scipy.weave.catalog
Found 0 tests for __main__
................................EE..............E. .E........E................EE...............warnin g:
specified build_dir '_bad_path_' does not exist or is not writable.
Trying default locations
......warning: specified build_dir '_bad_path_' does not exist or is not
writable. Trying default locations
.................................removing
'c:\docume~1\julien~1\locals~1\temp\tmpsavufxcat_t est' (and everything
under it)
error removing c:\docume~1\julien~1\locals~1\temp\tmpsavufxcat_te st:
c:\docume~1\julien~1\locals~1\temp\tmpsavufxcat_te st\win3224compiled_catalog:
Permission denied
error removing c:\docume~1\julien~1\locals~1\temp\tmpsavufxcat_te st:
c:\docume~1\julien~1\locals~1\temp\tmpsavufxcat_te st: Directory not
empty
..removing 'c:\docume~1\julien~1\locals~1\temp\tmpt-_vddcat_test' (and
everything under it)
..
================================================== ====================
ERROR: check_error1
(scipy.weave.size_check.test_size_check.test_dummy _array)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"C:\Python24\lib\site-packages\scipy\weave\tests\test_size_check.py",
line 99, in check_error1
self.generic_error_test(x,y)
File
"C:\Python24\lib\site-packages\scipy\weave\tests\test_size_check.py",
line 134, in generic_error_test
self.generic_test('',x,y)
File
"C:\Python24\lib\site-packages\scipy\weave\tests\test_size_check.py",
line 131, in generic_test
self.assert_array_equal('',actual,desired)
File
"C:\Python24\lib\site-packages\scipy\weave\tests\test_size_check.py",
line 110, in assert_array_equal
assert(actual == desired)
File "C:\Python24\lib\site-packages\scipy\weave\size_check.py", line
122, in __cmp__
if len(self.shape) == len(other.shape) == 0:
AttributeError: 'tuple' object has no attribute 'shape'

================================================== ====================
ERROR: check_error2
(scipy.weave.size_check.test_size_check.test_dummy _array)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"C:\Python24\lib\site-packages\scipy\weave\tests\test_size_check.py",
line 102, in check_error2
self.generic_error_test(x,y)
File
"C:\Python24\lib\site-packages\scipy\weave\tests\test_size_check.py",
line 134, in generic_error_test
self.generic_test('',x,y)
File
"C:\Python24\lib\site-packages\scipy\weave\tests\test_size_check.py",
line 131, in generic_test
self.assert_array_equal('',actual,desired)
File
"C:\Python24\lib\site-packages\scipy\weave\tests\test_size_check.py",
line 110, in assert_array_equal
assert(actual == desired)
File "C:\Python24\lib\site-packages\scipy\weave\size_check.py", line
122, in __cmp__
if len(self.shape) == len(other.shape) == 0:
AttributeError: 'tuple' object has no attribute 'shape'

================================================== ====================
ERROR: check_1d_3
(scipy.weave.size_check.test_size_check.test_dummy _array_indexing)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"C:\Python24\lib\site-packages\scipy\weave\tests\test_size_check.py",
line 207, in check_1d_3
if nx.which[0] != "numarray":
AttributeError: 'module' object has no attribute 'which'

================================================== ====================
ERROR: check_1d_6
(scipy.weave.size_check.test_size_check.test_dummy _array_indexing)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"C:\Python24\lib\site-packages\scipy\weave\tests\test_size_check.py",
line 214, in check_1d_6
if nx.which[0] != "numarray":
AttributeError: 'module' object has no attribute 'which'

================================================== ====================
ERROR: through a bunch of different indexes at it for good measure.
----------------------------------------------------------------------
Traceback (most recent call last):
File
"C:\Python24\lib\site-packages\scipy\weave\tests\test_size_check.py",
line 265, in check_1d_random
self.generic_1d('a[%s:%s:%s]' %(beg,end,step))
File
"C:\Python24\lib\site-packages\scipy\weave\tests\test_size_check.py",
line 174, in generic_1d
self.generic_wrap(a,expr)
File
"C:\Python24\lib\site-packages\scipy\weave\tests\test_size_check.py",
line 164, in generic_wrap
desired = array(eval(expr).shape)
File "<string>", line 0, in ?
ValueError: slice step cannot be zero

================================================== ====================
ERROR: through a bunch of different indexes at it for good measure.
----------------------------------------------------------------------
Traceback (most recent call last):
File
"C:\Python24\lib\site-packages\scipy\weave\tests\test_size_check.py",
line 289, in check_2d_random
self.generic_2d(expr)
File
"C:\Python24\lib\site-packages\scipy\weave\tests\test_size_check.py",
line 177, in generic_2d
self.generic_wrap(a,expr)
File
"C:\Python24\lib\site-packages\scipy\weave\tests\test_size_check.py",
line 164, in generic_wrap
desired = array(eval(expr).shape)
File "<string>", line 0, in ?
ValueError: slice step cannot be zero

================================================== ====================
ERROR: through a bunch of different indexes at it for good measure.
----------------------------------------------------------------------
Traceback (most recent call last):
File
"C:\Python24\lib\site-packages\scipy\weave\tests\test_size_check.py",
line 303, in check_3d_random
self.generic_3d(expr)
File
"C:\Python24\lib\site-packages\scipy\weave\tests\test_size_check.py",
line 180, in generic_3d
self.generic_wrap(a,expr)
File
"C:\Python24\lib\site-packages\scipy\weave\tests\test_size_check.py",
line 164, in generic_wrap
desired = array(eval(expr).shape)
File "<string>", line 0, in ?
ValueError: slice step cannot be zero

----------------------------------------------------------------------
Ran 132 tests in 2.656s

FAILED (errors=7)
<unittest.TextTestRunner object at 0x01575D30>


Apr 19 '06 #1
0 1486

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1590
by: Jean-Baptiste Richet | last post by:
Hello, weave could be highly usefull to me, but I can't have it work correctly on my PC, and I can't understand the error message. Could you help me ? I installed the latest zip package by...
0
1406
by: Jacek Generowicz | last post by:
Does anyone happen to have up-to-date summary instructions for installing weave.inline ? I don't want weave.blitz, I don't want Numeric, and I don't want Scipy. According to the documentation,...
3
2643
by: Michael Foord | last post by:
Has anyone had success using weave with gcc for windows (standard windows distribution python)? I have my distutils setup to use gcc (via mingw32) - which it does fine. I've compiled and...
3
2614
by: hawkesed | last post by:
Hi All, has anyone out there recently set up scipy on Windows? Cause I am trying to do so know and I am not having much luck. I have ActiveState and Plone. When I try to import scipy in...
3
5471
by: venkat | last post by:
Hi, I want to solve linear least sqaure problem( min||c-Ax||2 subject to Bx=d ). How do I do it in python. lapack has a routine for doing this (DGGLSE). Can I access this from python? TIA,...
2
1750
by: Z.L. | last post by:
I am a newbie to python, and have not so much experiences on package installation and related issues. I am looking for Scipy binaries for python 2.4 on windows. Could somebody here kindly give...
2
9723
by: I. Myself | last post by:
And it has to run on Windows, so it can't use xplt. I would prefer that it use the simplest multi-dimensional model, z = k + a*x1 + b*x2 + c*x3 + d*x4 Anyone have such a thing? Thanks, ...
1
1538
by: dug | last post by:
Hi, I would like to do some real time signal processing with a graphical display and I would like your advice as to what I should use. I would like to be able to view the results and to change...
0
1054
by: Soren | last post by:
Hi, I'm trying to make a weave python extension to use in my program. I already did it in inline, but that doesn't work with py2exe (needs compiler), so I'm creating extensions instead using...
0
7087
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7281
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7334
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6993
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7462
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5579
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5014
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
1
737
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
383
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.