推荐学习书目
› 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 · 2836 views
    This topic created in 3140 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
    julyclyde
    Apr 18, 2018
    1
    pip 装的是 pip 里面的 binding 库
    你还需要补装那个实体库
    ZackB0T
    ZackB0T
    Apr 18, 2018 via Android
    2
    一般 CentOS 碰找不到库这事儿,先搜下 libzbar.so ,然后 ln 过去一个 so.0
    RicardoScofileld
    RicardoScofileld
    OP
    Apr 18, 2018
    3
    @julyclyde pip 装的,去了 env/lib/python/site-package 里面也有,就是报错动态库没有
    RicardoScofileld
    RicardoScofileld
    OP
    Apr 18, 2018
    4
    @ZackB0T 虚拟环境里的
    julyclyde
    julyclyde
    Apr 23, 2018
    5
    @RicardoScofileld 我上面已经说过了,你再读一遍
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   962 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 18:30 · PVG 02:30 · LAX 10:30 · JFK 13:30
    ♥ Do have faith in what you're doing.