S******y 发帖数: 1123 | 1 I have installed numpy1.3 to python 2.6.2 on windows XP.
But I keep getting the following error when I try to call numpy from IDLE -
>>>
>>> import numpy
Traceback (most recent call last):
File "", line 1, in
import numpy
File "C:\Python26\lib\site-packages\numpy\__init__.py", line 130, in <
module>
import add_newdocs
File "C:\Python26\lib\site-packages\numpy\add_newdocs.py", line 9, in <
module>
from lib import add_newdoc
File "C:\Python26\lib\site-pack | q**j 发帖数: 10612 | 2 这种问题很难回答。你看看
from numpy import *?
其实还是2.5好。以后直接换成3.0。比如现在rpy就没有2.6的。所以不方便。
【在 S******y 的大作中提到】 : I have installed numpy1.3 to python 2.6.2 on windows XP. : But I keep getting the following error when I try to call numpy from IDLE - : >>> : >>> import numpy : Traceback (most recent call last): : File "", line 1, in : import numpy : File "C:\Python26\lib\site-packages\numpy\__init__.py", line 130, in < : module> : import add_newdocs
| f********t 发帖数: 117 | 3 did you make sure you use numpy for 2.6. | S******y 发帖数: 1123 | 4 thanks for all your help! qqzj and firstquant.
I switched to python 2.5 and numpy's exe.
That worked well! |
|