django 默认包搜索路径

当使用python2.6安装pycurl时,在python2.7里import pycurl可能报错:ImportError: No module n...查看全文

django 默认包搜索路径

当使用python2.6安装pycurl时,在python2.7里import pycurl可能报错:ImportError: No module named pycurl解决方法:在/usr/local/lib/python2.7/site-packages(python2.7安装在/usr/local/)里创建pycurl.pth文件,写入pycurl包在所在绝对路径:/usr/lib64/p

写文章