Sandesh Singh
2011-01-03 15:37:28 UTC
Hi.
On doing -
import scipy.io.arff
in a SConstruct file, I get the error:
AttributeError: 'builtin_function_or_method' object has no attribute 'dispatch':
File "/home/sandesh247/portal/tmp/scons_exp/marsyas/SConstruct", line 3:
import scipy.io.arff
File "/usr/lib/python2.6/dist-packages/scipy/__init__.py", line 18:
from numpy import oldnumeric
File "/usr/lib/python2.6/dist-packages/numpy/oldnumeric/__init__.py", line 14:
from compat import *
File "/usr/lib/python2.6/dist-packages/numpy/oldnumeric/compat.py", line 98:
class Unpickler(pickle.Unpickler):
File "/usr/lib/python2.6/dist-packages/numpy/oldnumeric/compat.py", line 102:
dispatch = copy.copy(pickle.Unpickler.dispatch)
Any ideas on how to fix this?
Thanks.
------------------------------------------------------
http://scons.tigris.org/ds/viewMessage.do?dsForumId=1272&dsMessageId=2695657
To unsubscribe, send an e-mail to [users-***@scons.tigris.org].
On doing -
import scipy.io.arff
in a SConstruct file, I get the error:
AttributeError: 'builtin_function_or_method' object has no attribute 'dispatch':
File "/home/sandesh247/portal/tmp/scons_exp/marsyas/SConstruct", line 3:
import scipy.io.arff
File "/usr/lib/python2.6/dist-packages/scipy/__init__.py", line 18:
from numpy import oldnumeric
File "/usr/lib/python2.6/dist-packages/numpy/oldnumeric/__init__.py", line 14:
from compat import *
File "/usr/lib/python2.6/dist-packages/numpy/oldnumeric/compat.py", line 98:
class Unpickler(pickle.Unpickler):
File "/usr/lib/python2.6/dist-packages/numpy/oldnumeric/compat.py", line 102:
dispatch = copy.copy(pickle.Unpickler.dispatch)
Any ideas on how to fix this?
Thanks.
------------------------------------------------------
http://scons.tigris.org/ds/viewMessage.do?dsForumId=1272&dsMessageId=2695657
To unsubscribe, send an e-mail to [users-***@scons.tigris.org].