安装完毕之后import pycurl
出现如下错误:
pycurl: libcurl link-time version (7.19.7) is older than compile-time version (7.37.1)
这是因为原先系统libcurl版本较低的问题,通过覆盖libcurl.so可以解决这个问题,
cp /usr/local/lib/libcurl.so /usr/lib64/
覆盖后,再执行就不会报错了。
时间: 2024-08-01 22:47:26
安装完毕之后import pycurl
出现如下错误:
pycurl: libcurl link-time version (7.19.7) is older than compile-time version (7.37.1)
这是因为原先系统libcurl版本较低的问题,通过覆盖libcurl.so可以解决这个问题,
cp /usr/local/lib/libcurl.so /usr/lib64/
覆盖后,再执行就不会报错了。