473,573 Members | 2,842 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.tes t(). 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.tes t() Found 16 tests for scipy.weave.sli ce_handler
Found 0 tests for scipy.weave.c_s pec
Found 2 tests for scipy.weave.bli tz_tools
building extensions here:
c:\docume~1\jul ien~1\locals~1\ temp\Julien\pyt hon24_compiled\ m10
Found 1 tests for scipy.weave.ext _tools
Found 74 tests for scipy.weave.siz e_check
Found 9 tests for scipy.weave.bui ld_tools
Found 0 tests for scipy.weave.inl ine_tools
Found 1 tests for scipy.weave.ast _tools
Found 0 tests for scipy.weave.wx_ spec
Found 3 tests for scipy.weave.sta ndard_array_spe c
Found 26 tests for scipy.weave.cat alog
Found 0 tests for __main__
............... ............... ..EE........... ...E..E........ E.............. ..EE........... ....warning:
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\ju lien~1\locals~1 \temp\tmpsavufx cat_test' (and everything
under it)
error removing c:\docume~1\jul ien~1\locals~1\ temp\tmpsavufxc at_test:
c:\docume~1\jul ien~1\locals~1\ temp\tmpsavufxc at_test\win3224 compiled_catalo g:
Permission denied
error removing c:\docume~1\jul ien~1\locals~1\ temp\tmpsavufxc at_test:
c:\docume~1\jul ien~1\locals~1\ temp\tmpsavufxc at_test: Directory not
empty
..removing 'c:\docume~1\ju lien~1\locals~1 \temp\tmpt-_vddcat_test' (and
everything under it)
..
=============== =============== =============== =============== ==========
ERROR: check_error1
(scipy.weave.si ze_check.test_s ize_check.test_ dummy_array)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"C:\Python24\li b\site-packages\scipy\ weave\tests\tes t_size_check.py ",
line 99, in check_error1
self.generic_er ror_test(x,y)
File
"C:\Python24\li b\site-packages\scipy\ weave\tests\tes t_size_check.py ",
line 134, in generic_error_t est
self.generic_te st('',x,y)
File
"C:\Python24\li b\site-packages\scipy\ weave\tests\tes t_size_check.py ",
line 131, in generic_test
self.assert_arr ay_equal('',act ual,desired)
File
"C:\Python24\li b\site-packages\scipy\ weave\tests\tes t_size_check.py ",
line 110, in assert_array_eq ual
assert(actual == desired)
File "C:\Python24\li b\site-packages\scipy\ weave\size_chec k.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.si ze_check.test_s ize_check.test_ dummy_array)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"C:\Python24\li b\site-packages\scipy\ weave\tests\tes t_size_check.py ",
line 102, in check_error2
self.generic_er ror_test(x,y)
File
"C:\Python24\li b\site-packages\scipy\ weave\tests\tes t_size_check.py ",
line 134, in generic_error_t est
self.generic_te st('',x,y)
File
"C:\Python24\li b\site-packages\scipy\ weave\tests\tes t_size_check.py ",
line 131, in generic_test
self.assert_arr ay_equal('',act ual,desired)
File
"C:\Python24\li b\site-packages\scipy\ weave\tests\tes t_size_check.py ",
line 110, in assert_array_eq ual
assert(actual == desired)
File "C:\Python24\li b\site-packages\scipy\ weave\size_chec k.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.si ze_check.test_s ize_check.test_ dummy_array_ind exing)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"C:\Python24\li b\site-packages\scipy\ weave\tests\tes t_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.si ze_check.test_s ize_check.test_ dummy_array_ind exing)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"C:\Python24\li b\site-packages\scipy\ weave\tests\tes t_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\li b\site-packages\scipy\ weave\tests\tes t_size_check.py ",
line 265, in check_1d_random
self.generic_1d ('a[%s:%s:%s]' %(beg,end,step) )
File
"C:\Python24\li b\site-packages\scipy\ weave\tests\tes t_size_check.py ",
line 174, in generic_1d
self.generic_wr ap(a,expr)
File
"C:\Python24\li b\site-packages\scipy\ weave\tests\tes t_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\li b\site-packages\scipy\ weave\tests\tes t_size_check.py ",
line 289, in check_2d_random
self.generic_2d (expr)
File
"C:\Python24\li b\site-packages\scipy\ weave\tests\tes t_size_check.py ",
line 177, in generic_2d
self.generic_wr ap(a,expr)
File
"C:\Python24\li b\site-packages\scipy\ weave\tests\tes t_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\li b\site-packages\scipy\ weave\tests\tes t_size_check.py ",
line 303, in check_3d_random
self.generic_3d (expr)
File
"C:\Python24\li b\site-packages\scipy\ weave\tests\tes t_size_check.py ",
line 180, in generic_3d
self.generic_wr ap(a,expr)
File
"C:\Python24\li b\site-packages\scipy\ weave\tests\tes t_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.TextT estRunner object at 0x01575D30>


Apr 19 '06 #1
0 1496

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

Similar topics

0
1599
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 "python setup.py install", on a python 2.3 installation (OS = Windows ME), and here is a result when trying it : ========================= IDLE 1.0...
0
1408
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, this is perfectly possible, but the documentation is clearly out of date, and after working around 3 documentation bugs and still not managing to...
3
2655
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 installed various modules with it. Weave itself installs fine, picking up the settings from distutils. However it has it's own version of distutils...
3
2628
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 ActiveState it says >>> import scipy Traceback (most recent call last): File "<interactive input>", line 1, in ? ImportError: No module named scipy >>>...
3
5476
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, venkat.
2
1757
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 some suggestion to this? Thanks in advance.
2
9729
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, Mitchell Timin
1
1544
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 parameters of some signal processing in 'real time'. Data is coming quite slowly in every 1-5 seconds and will consist of (x,y,t). I have been...
0
1057
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 ext_tools. Is there a way I can use blitz with ext_tools? so that I can refer to arrays like a(x,y) in the c code?? I have alot of 2D arrays that...
0
7704
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8031
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8204
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7795
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6424
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5600
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
1
2223
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1309
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1044
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.