[SciPy-User] Source of the error between computers (version, architecture, etc)
Sergi Pons Freixes
sponsfreixes at gmail.com
Tue Oct 11 06:19:30 EDT 2011
Hi all,
I have some code that runs perfectly on:
Linux Toshiba-00 2.6.32-33-generic #72-Ubuntu SMP Fri Jul 29 21:08:37
UTC 2011 i686 GNU/Linux
Python 2.6.5
Numpy 1.3.0
But on this machine:
Linux mirto 3.0-ARCH #1 SMP PREEMPT Tue Aug 30 08:53:25 CEST 2011
x86_64 Intel(R) Core(TM) i5-2500 CPU @ 3.30GHz GenuineIntel GNU/Linux
Python 2.7.2
Numpy 1.6.1
I'm getting this error:
$ python main.py
Traceback (most recent call last):
File "main.py", line 32, in <module>
data = aldp.merge_max_irta(data, irta)
File "/home/sergi/Dropbox/doctorat/alfacs/codi/aldp.py", line 378,
in merge_max_irta
data = np.hstack((maxd, irta))
File "/usr/lib/python2.7/site-packages/numpy/core/shape_base.py",
line 270, in hstack
return _nx.concatenate(map(atleast_1d,tup),1)
TypeError: invalid type promotion
Google hasn't helped much when searching about "TypeError: invalid
type promotion" and similar queries. To reduce the uncertainty, I
would like to know if the cause could be the difference in versions of
the software, a different architecture (32 bits vs 64), or whatever.
Any clue?
Regards,
Sergi
More information about the SciPy-User
mailing list