当使用python2.6安装pycurl时,在python2.7里importpycurl可能报错:ImportError:Nomodulenamedpycurl解决方法:在/usr/local/lib/python2.7/site-packages(python2.7安装在/usr/local/)里创建pycurl.pth文件,写入pycurl包在所在绝对路径:/usr/lib64/python2.6/site-packages/
分类:
编程语言 时间:
2014-12-30 19:12:02
阅读次数:
308