home archives github knives links
tags python pip PyQt5
categories
only title title and content
PyQt5笔记

安装

报错

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-n2fvey5k/PyQt5/
  1. 下载easy_install,网址https://pypi.org/project/setuptools/#files
  2. 安装:进入目录,sudo python3 setup.py install
  3. sudo easy_install -U setuptools
Command "/usr/bin/python3 -m pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-y3vn2gdm --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- "sip >=5.0.1, <6" "PyQt-builder >=1.1.0, <2"" failed with error code 1 in None
  1. pip3 install --upgrade pip