我正在按照这个链接中给出的步骤安装NLTK http://www.bogotobogo.com/python/NLTK/NLTK_install.php.But,我在运行命令sudo pip installcheck_types(*a, **kw)
"Cannot compile 'Python.hPerhaps you need
_configtest.c:1:20: fatal error: Python.h: No such file or directory SystemError: Cannot compile 'Python.h'.Perhaps you need to install python-dev|python-devel.
------------------------
我的蟒蛇是Python 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:42:59) [MSC v.1500 32 bit (Intel)] on win32Cplex在MYCPLEXHOME\cplex\python\2.7\x64_win64下。我在这个目录中做python setup.py install。\lib\site-packages\cplex\__init__.py", line 41, in <module>
from . import _inte
我想从任何地方运行一个可执行的python脚本(它需要一个字符串参数)。~/projects/tlog/tlog.py"C:\Python27\python.exe: can't open file '/home/<my_username>/projects/tlog/tlog.py': [Errno 2] No such file or directory
C:\Py