先参考这版
https://blog.csdn.net/beyondlpf/article/details/38679097
关键是pycurl 7.21.5版本src目录下没有Makefile
pycurl7.19.5src下没有pycurl.c
pycurl7.19.3编译出错
于是放弃了这种方法
然后发现另一篇
https://blog.csdn.net/abcdu1/article/details/85786429
但是,如果要用到curl的话怎么办?所以删掉是不行的。
我的方法是
先把libcurl*放到别的目录下,用到时再移回来。
另外的方法,编译pycurl
https://blog.csdn.net/qq_32502511/article/details/80606636
后续问题
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
pycurl: libcurl link-time version (7.29.0) is older than compile-time version (7.65.1)
Please install a package which provides this module, or
verify that the module is installed correct