安装pyzbar报错fatal error: zbar.h: No such file or directory

先安装了

sudo apt-get install libzbar-dev
pip install zbar
Collecting zbar
  Using cached zbar-0.10.zip (31 kB)
  Preparing metadata (setup.py) ... done
Building wheels for collected packages: zbar
  Building wheel for zbar (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /home/max/anaconda3/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-pshtq6ib/zbar_01397143ad7742bb825833fbcd7d167e/setup.py'"'"'; __file__='"'"'/tmp/pip-install-pshtq6ib/zbar_01397143ad7742bb825833fbcd7d167e/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-xs21_04v
       cwd: /tmp/pip-install-pshtq6ib/zbar_01397143ad7742bb825833fbcd7d167e/
  Complete output (12 lines):
  running bdist_wheel
  running build
  running build_ext
  creating build
  creating build/temp.linux-x86_64-3.8
  /home/max/anaconda3/bin/x86_64-conda_cos6-linux-gnu-cc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/max/anaconda3/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/max/anaconda3/include -fPIC -I/home/max/anaconda3/include/python3.8 -c decoder.c -o build/temp.linux-x86_64-3.8/decoder.o
  In file included from decoder.c:24:0:
  zbarmodule.h:26:10: fatal error: zbar.h: No such file or directory
   #include <zbar.h>
            ^~~~~~~~
  compilation terminated.
  error: command '/home/max/anaconda3/bin/x86_64-conda_cos6-linux-gnu-cc' failed with exit code 1
  ----------------------------------------
  ERROR: Failed building wheel for zbar