Tensorflow-用于对象跟踪的对象检测API

时间:2018-06-29 13:05:25

标签: python tensorflow pyqt python-sip

当我运行tensorflow对象检测模型时出现类似错误

RuntimeError:sip模块实现了API v11.0至v11.3,但PyQt4.QtCore模块需要API v8.1

qt version = 4.8.7
python version = 2.7.5

我执行命令:-

  1. sudo apt-get install pyqt4-dev-tools
  2. sudo pip install lxml
  3. 制作qt4py2
  4. python labelImg.py

当我运行第四个命令时发生错误  环境信息。

name: tensorflow
channels:
  - anaconda
  - terradue
  - dsdale24
  - defaults
dependencies:
  - ca-certificates=2018.03.07=0
  - cairo=1.14.12=h7636065_2
  - certifi=2018.4.16=py27_0
  - graphite2=1.3.11=h16798f4_2
  - harfbuzz=1.7.6=h5f0a787_1
  - libxslt=1.1.32=h1312cb7_0
  - lxml=4.2.2=py27hf71bdeb_0
  - openssl=1.0.2o=h20670df_0
  - pango=1.41.0=hd475d92_0
  - pixman=0.34.0=hceecf20_3
  - python=2.7.15=h1571d57_0
  - qt=4.8.7=4
  - backcall=0.1.0=py27_0
  - backports=1.0=py27h63c9359_1
  - backports.shutil_get_terminal_size=1.0.0=py27h5bc021e_2
  - backports_abc=0.5=py27h7b3c97b_0
  - bleach=2.1.3=py27_0
  - configparser=3.5.0=py27h5117587_0
  - dbus=1.13.2=h714fa37_1
  - decorator=4.3.0=py27_0
  - entrypoints=0.2.3=py27h502b47d_2
  - enum34=1.1.6=py27h99a27e9_1
  - expat=2.2.5=he0dffb1_0
  - fontconfig=2.12.6=h49f89f6_0
  - freetype=2.8=hab7d2ae_1
  - functools32=3.2.3.2=py27h4ead58f_1
  - futures=3.2.0=py27h7b459c0_0
  - glib=2.56.1=h000015b_0
  - gmp=6.1.2=h6c8ec71_1
  - gst-plugins-base=1.14.0=hbbd80ab_1
  - gstreamer=1.14.0=hb453b48_1
  - html5lib=1.0.1=py27h5233db4_0
  - icu=58.2=h9c2bf20_1
  - ipykernel=4.8.2=py27_0
  - ipython=5.7.0=py27_0
  - ipython_genutils=0.2.0=py27h89fb69b_0
  - ipywidgets=7.2.1=py27_0
  - jedi=0.12.0=py27_1
  - jinja2=2.10=py27h4114e70_0
  - jpeg=9b=h024ee3a_2
  - jsonschema=2.6.0=py27h7ed5aa4_0
  - jupyter=1.0.0=py27_4
  - jupyter_client=5.2.3=py27_0
  - jupyter_console=5.2.0=py27hc6bee7e_1
  - jupyter_core=4.4.0=py27h345911c_0
  - libedit=3.1=heed3624_0
  - libffi=3.2.1=hd88cf55_4
  - libgcc-ng=7.2.0=hdf63c60_3
  - libpng=1.6.34=hb9fc6fc_0
  - libsodium=1.0.16=h1bed415_0
  - libstdcxx-ng=7.2.0=hdf63c60_3
  - libxcb=1.13=h1bed415_1
  - libxml2=2.9.8=hf84eae3_0
  - markupsafe=1.0=py27h97b2822_1
  - mistune=0.8.3=py27h14c3975_1
  - nbconvert=5.3.1=py27he041f76_0
  - nbformat=4.4.0=py27hed7f2b2_0
  - ncurses=6.0=h9df7e31_2
  - notebook=5.5.0=py27_0
  - pandoc=1.19.2.1=hea2e7c5_1
  - pandocfilters=1.4.2=py27h428e1e5_1
  - parso=0.2.1=py27_0
  - pathlib2=2.3.2=py27_0
  - pcre=8.42=h439df22_0
  - pexpect=4.6.0=py27_0
  - pickleshare=0.7.4=py27h09770e1_0
  - pip=10.0.1=py27_0
  - prompt_toolkit=1.0.15=py27h1b593e1_0
  - ptyprocess=0.6.0=py27_0
  - pygments=2.2.0=py27h4a8b6f5_0
  - pyqt=4.11.4=py27_4
  - python-dateutil=2.7.3=py27_0
  - pyzmq=17.0.0=py27h14c3975_1
  - qtconsole=4.3.1=py27hc444b0d_0
  - readline=7.0=ha6073c6_4
  - scandir=1.7=py27h14c3975_0
  - send2trash=1.5.0=py27_0
  - setuptools=39.2.0=py27_0
  - simplegeneric=0.8.1=py27_2
  - singledispatch=3.4.0.3=py27h9bcb476_0
  - sip=4.18=py27_0
  - six=1.11.0=py27h5f960f1_1
  - sqlite=3.23.1=he433501_0
  - terminado=0.8.1=py27_1
  - testpath=0.3.1=py27hc38d2c4_0
  - tk=8.6.7=hc745277_3
  - tornado=5.0.2=py27_0
  - traitlets=4.3.2=py27hd6ce930_0
  - wcwidth=0.1.7=py27h9e3e1ab_0
  - webencodings=0.5.1=py27hff10b21_1
  - wheel=0.31.1=py27_0
  - widgetsnbextension=3.2.1=py27_0
  - xz=5.2.3=h55aa19d_2
  - zeromq=4.2.5=h439df22_0
  - zlib=1.2.11=ha838bed_2
  - pyqt5=5.3.1=py27_0
  - qt5=5.3.1=1
  - pyqt4=4.8.5=py27_0
  - pip:
    - backports.functools-lru-cache==1.5
    - cycler==0.10.0
    - kiwisolver==1.0.1
    - matplotlib==2.2.2
    - numpy==1.14.5
    - pyparsing==2.2.0
    - pytz==2018.5
    - subprocess32==3.5.2
prefix: /home/pradeep/anaconda3/envs/tensorflow

0 个答案:

没有答案