[SciPy-User] Source of the error between computers (version, architecture, etc)
Sergi Pons Freixes
sponsfreixes at gmail.com
Tue Sep 27 10:42:51 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 4, in <module>
import aldp
File "/home/sergi/Dropbox/doctorat/alfacs/codi/aldp.py", line 6, in <module>
from string import replace, strip
ImportError: cannot import name replace
Google hasn't helped much when searching about "ImportError: cannot
import name replace" 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