>>>import os #地址是libsvm里面的python文件夹目录 >>>os.chdir(‘/home/huangjiaheng/下载/libsvm-3.21/python’) >>>from svmutil import *