7
Python이 sys.path의 디렉토리에있는 공유 객체를 찾을 수없는 이유는 무엇입니까?
가져 오려고 해요 pycurl: $ python -c "import pycurl" Traceback (most recent call last): File "<string>", line 1, in <module> ImportError: libcurl.so.4: cannot open shared object file: No such file or directory 이제 libcurl.so.4입니다 /usr/local/lib. 보시다시피 이것은 다음과 sys.path같습니다. $ python -c "import sys; print(sys.path)" ['', '/usr/local/lib/python2.5/site-packages/setuptools-0.6c9-py2.5.egg', '/usr/local/lib/python25.zip', '/usr/local/lib/python2.5', '/usr/local/lib/python2.5/plat-linux2', …