farshield / shortcircuit

Find shortest path using Tripwire and Eve data
MIT License
55 stars 18 forks source link

Installation failed on Linux Mint #5

Closed kusayuzayushko closed 8 years ago

kusayuzayushko commented 8 years ago

just trying 'pip install'

Requirement already satisfied (use --upgrade to upgrade): requests>=2.5.1 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 1))
Downloading/unpacking PySide==1.2.4 (from -r requirements.txt (line 2))
  Downloading PySide-1.2.4.tar.gz (9.3MB): 9.3MB downloaded
  Running setup.py (path:/tmp/pip_build_root/PySide/setup.py) egg_info for package PySide
    Removing /tmp/pip_build_root/PySide/pyside_package
    package init file 'pyside_package/PySide/__init__.py' not found (or not a regular file)
    package init file 'pyside_package/pysideuic/__init__.py' not found (or not a regular file)
    warning: no previously-included files matching '**' found under directory 'sources/pyside-examples/examples/hyperui'
    warning: no previously-included files matching '**' found under directory 'sources/pyside-examples/mobility'
    warning: no previously-included files matching '**' found under directory 'sources/shiboken/.git'
    warning: no previously-included files matching '**' found under directory 'sources/pyside/.git'
    warning: no previously-included files matching '**' found under directory 'sources/pyside-tools/.git'
    warning: no previously-included files matching '**' found under directory 'sources/pyside-examples/.git'
    warning: no files found matching '**' under directory 'pyside_package/PySide'
    warning: no files found matching '**' under directory 'pyside_package/PySide/docs'
    warning: no files found matching '**' under directory 'pyside_package/PySide/plugins'
    warning: no files found matching '**' under directory 'pyside_package/PySide/imports'
    warning: no files found matching '**' under directory 'pyside_package/PySide/translations'
    warning: no files found matching '**' under directory 'pyside_package/PySide/include'
    warning: no files found matching '**' under directory 'pyside_package/PySide/typesystems'
    warning: no files found matching '**' under directory 'pyside_package/PySide/examples'
    warning: no files found matching '**' under directory 'pyside_package/pysideuic'
    warning: no files found matching '**' under directory 'pyside_package/pysideuic/Compiler'
    warning: no files found matching '**' under directory 'pyside_package/pysideuic/port_v2'
    warning: no files found matching '**' under directory 'pyside_package/pysideuic/port_v3'
    warning: no files found matching '**' under directory 'pyside_package/pysideuic/widget-plugins'
Installing collected packages: PySide
  Running setup.py install for PySide
    Removing /tmp/pip_build_root/PySide/pyside_package
    Python architecture is 64bit
    qmake: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/qmake': No such file or directory
    Failed to query the Qt version with qmake /usr/bin/qmake
    Complete output from command /usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip_build_root/PySide/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-O4qI16-record/install-record.txt --single-version-externally-managed --compile:
    Removing /tmp/pip_build_root/PySide/pyside_package
running install
running build
Python architecture is 64bit
qmake: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/qmake': No such file or directory
Failed to query the Qt version with qmake /usr/bin/qmake
Cleaning up...
Command /usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip_build_root/PySide/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-O4qI16-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip_build_root/PySide
Storing debug log for failure in /home/kusayu/.pip/pip.log

uname -a                                                                                                       
Linux desctop 3.19.0-32-generic #37~14.04.1-Ubuntu SMP Thu Oct 22 09:41:40 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
farshield commented 8 years ago

Looks like installation of PySide failed because it didn't find qmake. Some people reported problems with installing PySide on Linux, because there are a few dependencies which need to be resolved first.

Try to install PySide using: sudo apt-get install python-pyside This command will automatically resolve all dependencies while installing PySide.