ImportError: No module named numeric
Question:
I get the following error
ImportError: No module named numeric if I have the following import
from numeric import *
in my python source code. How do I get this running on my Windows box against a python 2.7.x compiler?
Answers:
You will probably need to install this module: Link
There are binaries for windows too, so installation should be easy.
Josh
There is no common module called numeric
. Are you sure you don’t mean import numpy
?
There is a module called numeric, but it’s been deprecated for years in favour of numpy. You probably want to update your code to use numpy instead.
If you really need numeric, you can get it here, but you’ll have to compile it from source for Python 2.7, because the latest binaries are for 2.4.
I get the following error
ImportError: No module named numeric if I have the following import
from numeric import *
in my python source code. How do I get this running on my Windows box against a python 2.7.x compiler?
You will probably need to install this module: Link
There are binaries for windows too, so installation should be easy.
Josh
There is no common module called numeric
. Are you sure you don’t mean import numpy
?
There is a module called numeric, but it’s been deprecated for years in favour of numpy. You probably want to update your code to use numpy instead.
If you really need numeric, you can get it here, but you’ll have to compile it from source for Python 2.7, because the latest binaries are for 2.4.