Can't import Numpy in Python

前端 未结 6 1276
盖世英雄少女心
盖世英雄少女心 2020-12-09 16:32

I\'m trying to write some code that uses Numpy. However, I can\'t import it:

Python 2.6.2 (r262, May 15 2009, 10:22:27) 
[GCC 3.4.2] on linux2
Type \"help\"         


        
6条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-09 17:19

    Your sys.path is kind of unusual, as each entry is prefixed with /usr/intel. I guess numpy is installed in the usual non-prefixed place, e.g. it. /usr/share/pyshared/numpy on my Ubuntu system.

    Try find / -iname '*numpy*'

提交回复
热议问题