错误集锦OSError: cannot load library ‘xx.so‘: xx.so: cannot open shared object file: No such file or dir

错误集锦OSError: cannot load library ‘xx.so’: xx.so: cannot open shared object file: No such file or directory

问题背景

学习使用pynpk时,按照正常的安装步骤安装后

$ git clone https://github.com/lqez/npk.git
$ cd npk
$ ./build.sh && cd _build && make install
$ pip install pynpk

错误详情

import npk时出现以下错误

>>> import npk
Traceback (most recent call last):
  File "", line 1, in 
  File "/root/npk/npk_env/lib/python2.7/site-packages/npk/__init__.py", line 3, in 
    from .package import *
  File "/root/npk/npk_env/lib/python2.7/site-packages/npk/package.py", line 1, in 
    f

你可能感兴趣的:(错误集锦,python,centos)