473,413 Members | 1,802 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,413 software developers and data experts.

using weave with Windows

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
a = 123
weave.inline('printf("%d\\n",a);',['a']) Exception exceptions.AttributeError: "DbfilenameShelf instance has no
attribute 'writeback'" in
Traceback (most recent call last):
File "<pyshell#2>", line 1, in -toplevel-
weave.inline('printf("%d\\n",a);',['a'])
File
"C:\DEVELOPPEMENT\PYTHON23\Lib\site-packages\weave\inline_tools.py",
line 327, in inline
auto_downcast = auto_downcast,
File
"C:\DEVELOPPEMENT\PYTHON23\Lib\site-packages\weave\inline_tools.py",
line 426, in compile_function
verbose=verbose, **kw)
File "C:\DEVELOPPEMENT\PYTHON23\Lib\site-packages\weave\ext_tools.py",
line 349, in compile
verbose = verbose, **kw)
File "C:\DEVELOPPEMENT\PYTHON23\Lib\site-packages\weave\build_tools.py",
line 194, in build_extension
setup(name = module_name, ext_modules = [ext],verbose=verb)
File "c:\developpement\python23\lib\distutils\core. py", line 166, in setup
raise SystemExit, "error: " + str(msg)
CompileError: error: command 'g++' failed with exit status 1

===========================
The gcc I use comes from MinGW and is version 3.2. I tried out gcc 2.95,
and it was nearly the same (error at the same place, but 'cc' was
blaimed). I tried cygwin, and it was not different. I tried python 2.2,
and the result was similar.

Any idea ?
thanks a lot for your help.

Jul 18 '05 #1
0 1585

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

Similar topics

0
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,...
0
by: grutta | last post by:
I am writing a windows service that will recieve notification when a USB Device is insterted into the machine. I have used the RegisterDeviceNotification and the RegisterServiceCtrlHandlerEx with...
0
by: Julien Fiore | last post by:
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...
2
by: prabhupr | last post by:
Hi Folks I was reading this article (http://www.dotnetbips.com/articles/displayarticle.aspx?id=32) on "Custom Attribute", written by Bipin. The only thing I did not understand in this article...
0
by: monkeyboy | last post by:
Hello, I'm a new scipy user, and I'm trying to speed up some array code with weave. I'm running xp with gcc from cgywin, and scipy.weave.test() returns an OK status. I'm trying to speed up...
2
by: lbolla | last post by:
take a look at Python vs Matlab comparison for numerical computations: numerical-computing-matlab-vs-python+numpy+weave it seems that what stated in a previous thread was true! Python+Numpy...
2
by: Soren | last post by:
Hi, I have a strange and very annoying problem when using weave in scipy.. when I run the code below.. the first time it needs to compile.. it says <compilingand then python.exe crashes! and no...
53
by: Vicent Giner | last post by:
Hello. I am new to Python. It seems a very interesting language to me. Its simplicity is very attractive. However, it is usually said that Python is not a compiled but interpreted programming...
3
by: Slaunger | last post by:
I know there must be a simple method to do this. I have implemented this function for calculating a checksum based on a ones complement addition: def complement_ones_checksum(ints): """...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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
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
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...
0
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
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
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,...
0
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...

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.