2
我按照http://nltk.org/install.html的說明操作。 我的python版本是2.7。安裝numpy,還有問題
當我嘗試這樣做:
sudo pip install -U numpy
這並不工作:
File "numpy/core/setup.py", line 271, in check_types
"Cannot compile 'Python.h'. Perhaps you need to "\
SystemError: Cannot compile 'Python.h'. Perhaps you need to install python-dev|python-devel.
任何想法幫助我嗎?
也許你需要安裝'蟒蛇,dev'或'蟒蛇,devel'? – 2013-03-10 12:03:26
哇!那麼,我從來沒有安裝過它們。我如何安裝它們? – 2013-03-10 12:04:29
型'sudo易於得到在命令行 – User 2013-03-10 12:05:27