473,703 Members | 3,045 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 1499

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

Similar topics

0
1603
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 >>> import weave
0
1415
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 install it, I'm rapidly running out of enthusiasm ... so if anyone has done this recently, I'd...
3
2658
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 'scipy_distutils' that it uses to compile the C it is given - which complains that it can't find...
3
2636
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 >>> from scipy import * Traceback (most recent call last):
3
5480
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
1759
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
9733
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
1548
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 thinking about SciPy or matplot, but am not restricting
0
1061
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 needs indexing in the C code..
0
8659
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
8995
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 most users, this new feature is actually very convenient. If you want to control the update process,...
0
8951
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7844
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5920
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4417
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3113
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
2
2424
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2055
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.