python - libev.so.4 does not exist (but it does) -
i'm trying install pyev on ubuntu using pip error. libev.so.4 indeed exist, found @ /usr/local/lib along other libev.so files assume it's matter of python isn't looking in right spot or .so's got put in wrong place mistake.
$ pip install pyev collecting pyev using cached pyev-0.9.0.tar.gz complete output command python setup.py egg_info: traceback (most recent call last): file "<string>", line 20, in <module> file "/tmp/pip-build-cbe9pk/pyev/setup.py", line 57, in <module> check_version(libev_version(), min_libev_version, "libev") file "/tmp/pip-build-cbe9pk/pyev/setup.py", line 48, in libev_version libev_dll = cdll.loadlibrary(libev_dll_name) file "/usr/local/lib/python2.7/ctypes/__init__.py", line 443, in loadlibrary return self._dlltype(name) file "/usr/local/lib/python2.7/ctypes/__init__.py", line 365, in __init__ self._handle = _dlopen(self._name, mode) oserror: libev.so.4: cannot open shared object file: no such file or directory so question libev.so files should live, or, if they're in correct place, why can't python find them , how fix it?
edit: python version 2.7.10, pip version 7.1.0 both downloaded , installed today (python manually, pip using get-pip.py)
locate libev gives me long list of files libevent, libevolution, , libevview. pretty thing related libev usr/lib/libevdocument.so.1, usr/lib/libevdocument.so.1.0.0, , /usr/share/doc/libevdocument1 (which included authors, news.gz, readme, todo, changelog.debian.gz, , copyright). nothing in local reason
edit 2.0 running sudo (can't believe forgot that) gives me weird error message "the directory /home/username/.cache/pip/http or parent directory not owned current user , cache has been disabled. please check permissions , owner of directory. if executing pip sudo, may want sudo's -h flag." , proceeded redownload pyev-0.9.0.tar.gz , run same error of not finding libev.so.4.
running 'sudo -h pip install pyev' gave me first error message again (using cached pyev). sudo -h anyway? couldn't find online or in sudo message.
looking @ partition has libev installed able find libev.so files under usr/lib rather usr/local/lib. copying them folder , running sudo -h pip install pyev seems have installed pyev. help.
Comments
Post a Comment