If libcurl is linked dynamically with pycurl, you may have to alter the LD_LIBRARY_PATH environment variable accordingly. This normally applies only if there is more than one version of libcurl installed, e.g. one in /usr/lib and one in /usr/local/lib.
我在塞拉遇到了这个错误。感谢seeliuh在这个issue中的帖子,我在完成以下操作后修复了它:
1.卸载pycurl。在
2.导出LD_LIBRARY_PATH=
^{pr2}$<<your homebrew's libcurl path>>
3.重新安装pycurl
注意:
PycURL documentation指出:
因此,您应该将
LD_LIBRARY_PATH
更改为自制的libcurl路径。(自制程序的libcurl版本应该大于编译时版本。请检查一下。)好吧,既然这个答案仍然会出现在Google搜索中,我将分享解决这个问题的方法。在
安装brew版本curl并强制链接以获取最新curl的主要思想:
因此,您可以稍后使用pycurl,它链接到您的}
^{pr2}$libcurl
和{希望有帮助!在
对于Ubuntu 18.04
conda install pycurl
相关问题 更多 >
编程相关推荐