Python Pip安装错误(Pyside到Raspberry Pi)

Python Pip安装错误(Pyside到Raspberry Pi),python,pip,pyside,Python,Pip,Pyside,我正在尝试pip将pyside安装到我的Raspberry Pi,并收到以下错误: pi@raspberrypi:/ $ sudo pip install pyside Collecting pyside Using cached https://files.pythonhosted.org/packages/36/ac/ca31db6f2225844d37a41b10615c3d371587677efd074db29855e7035de6/PySide-1.2.4.tar.gz Build

我正在尝试
pip将pyside
安装到我的Raspberry Pi,并收到以下错误:

pi@raspberrypi:/ $ sudo pip install pyside
Collecting pyside
  Using cached https://files.pythonhosted.org/packages/36/ac/ca31db6f2225844d37a41b10615c3d371587677efd074db29855e7035de6/PySide-1.2.4.tar.gz
Building wheels for collected packages: pyside
  Running setup.py bdist_wheel for pyside ... error
  Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-TXwQwt/pyside/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/tmps80BMupip-wheel- --python-tag cp27:
  Removing /tmp/pip-build-TXwQwt/pyside/pyside_package
  running bdist_wheel
  running build
  Python architecture is 32bit
  error: Failed to find cmake. Please specify the path to cmake with --cmake parameter.

  ----------------------------------------
  Failed building wheel for pyside
  Running setup.py clean for pyside
Failed to build pyside
Installing collected packages: pyside
  Running setup.py install for pyside ... error
    Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-TXwQwt/pyside/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-5BdNE7-record/install-record.txt --single-version-externally-managed --compile:
    Removing /tmp/pip-build-TXwQwt/pyside/pyside_package
    running install
    running build
    Python architecture is 32bit
    error: Failed to find cmake. Please specify the path to cmake with --cmake parameter.

    ----------------------------------------
Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-TXwQwt/pyside/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-5BdNE7-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-TXwQwt/pyside/
pi@raspberrypi:/ $
我试过用
sudo-pip安装setuptools——不用轮子——升级
sudo-apt-install-y libmysqlclient-dev
python-setup.py安装
,和
sudo-pip-install——升级setuptools
来修复它,但没有一个能让我安装Pyside。任何帮助都将不胜感激。多谢各位


如果有必要的话,我将在raspberry pi 3上运行Raspbian Stretch。

您正在使用哪个python版本,因为此模块只支持下面列出的版本

[(2.6), (2.7), (3.2), (3.3), (3.4)]

您正在使用哪个python版本,因为此模块只支持下面列出的版本

[(2.6), (2.7), (3.2), (3.3), (3.4)]

这看起来不言自明

您正在不受支持的python版本上安装模块


尝试使用
pip2安装pyside安装它看起来不言自明

您正在不受支持的python版本上安装模块

尝试使用
pip2安装pyside安装

您可以从

Pi没有pyside二进制控制盘,因此您需要安装大量源代码并进行编译:

sudo apt-get install build-essential git cmake libqt4-dev libphonon-dev python2.7-dev libxml2-dev libxslt1-dev qtmobility-dev libqtwebkit-dev
你可以试试看

Pi没有pyside二进制控制盘,因此您需要安装大量源代码并进行编译:

sudo apt-get install build-essential git cmake libqt4-dev libphonon-dev python2.7-dev libxml2-dev libxslt1-dev qtmobility-dev libqtwebkit-dev

我正在尝试将其安装到2.7(我有2.7.13),但值得注意的是,我也安装了3.5(由系统上的
pip-3.2
命令,而不是
pip
),很抱歉,我再次运行了它,我认为我安装到了错误的python。我更新了安装到Python2.7时收到的错误。我正在尝试将其安装到2.7(我有2.7.13),但值得注意的是,我也安装了3.5(由系统上的
pip-3.2
命令,而不是
pip
命令)。很抱歉,我再次运行了它,我认为我安装到了错误的Python。我更新了安装到Python 2.7时收到的错误。很抱歉,我不小心复制了错误的错误消息。我刚刚更新了它。我正在安装Python 2.7抱歉,我不小心复制了错误的错误消息。我刚刚更新了它。我正在安装Python 2.7
找不到cmake
-您安装了吗
哪个cmake
找不到cmake
-您安装了它吗<代码>哪个cmake