推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
RicardoScofileld
V2EX  ›  Python

libzbar.so.0: cannot open shared object file: No such file or directory

  •  
  •   RicardoScofileld · Apr 18, 2018 · 2739 views
    This topic created in 3037 days ago, the information mentioned may be changed or developed.

    跪求大佬们解答: centos 系统,pip list 明明安装了 zbar,但是导入的时候却报错,如题所示。

    5 replies    2018-04-23 08:38:11 +08:00
    julyclyde
        1
    julyclyde  
       Apr 18, 2018
    pip 装的是 pip 里面的 binding 库
    你还需要补装那个实体库
    ZackB0T
        2
    ZackB0T  
       Apr 18, 2018 via Android
    一般 CentOS 碰找不到库这事儿,先搜下 libzbar.so ,然后 ln 过去一个 so.0
    RicardoScofileld
        3
    RicardoScofileld  
    OP
       Apr 18, 2018
    @julyclyde pip 装的,去了 env/lib/python/site-package 里面也有,就是报错动态库没有
    RicardoScofileld
        4
    RicardoScofileld  
    OP
       Apr 18, 2018
    @ZackB0T 虚拟环境里的
    julyclyde
        5
    julyclyde  
       Apr 23, 2018
    @RicardoScofileld 我上面已经说过了,你再读一遍
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5700 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 03:25 · PVG 11:25 · LAX 20:25 · JFK 23:25
    ♥ Do have faith in what you're doing.