Reputation: 26749
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?
Upvotes: 1
Views: 21685
Reputation: 1286
You will probably need to install this module: Link There are binaries for windows too, so installation should be easy.
Josh
Upvotes: 2
Reputation: 40390
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.
Upvotes: 7
Reputation: 25052
There is no common module called numeric
. Are you sure you don't mean import numpy
?
Upvotes: 2