Skip to content

Unable to install PySide under 10.12 mac OS Sierra #150

@phathak

Description

@phathak

Hi,

I'm unable to install PySide under mac OS Sierra. Can you tell me what the work around for this error?

Using Python 2.7.12_2
mac OS Sierra 10.12

Thank you

Mac-Pro:~ bruno$ pip install pyside
Collecting pyside
  Using cached 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/local/opt/python/bin/python2.7 -u -c "import setuptools, tokenize;__file__='/private/var/folders/c3/yrzmhx454qzd1h9l352xqfsr0000gn/T/pip-build-O_gdNx/pyside/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /var/folders/c3/yrzmhx454qzd1h9l352xqfsr0000gn/T/tmp98GfYZpip-wheel- --python-tag cp27:
  Removing /private/var/folders/c3/yrzmhx454qzd1h9l352xqfsr0000gn/T/pip-build-O_gdNx/pyside/pyside_package
  running bdist_wheel
  running build
  Python architecture is 64bit
  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/local/opt/python/bin/python2.7 -u -c "import setuptools, tokenize;__file__='/private/var/folders/c3/yrzmhx454qzd1h9l352xqfsr0000gn/T/pip-build-O_gdNx/pyside/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/c3/yrzmhx454qzd1h9l352xqfsr0000gn/T/pip-9I8Zli-record/install-record.txt --single-version-externally-managed --compile:
    Removing /private/var/folders/c3/yrzmhx454qzd1h9l352xqfsr0000gn/T/pip-build-O_gdNx/pyside/pyside_package
    running install
    running build
    Python architecture is 64bit
    error: Failed to find cmake. Please specify the path to cmake with --cmake parameter.

    ----------------------------------------
Command "/usr/local/opt/python/bin/python2.7 -u -c "import setuptools, tokenize;__file__='/private/var/folders/c3/yrzmhx454qzd1h9l352xqfsr0000gn/T/pip-build-O_gdNx/pyside/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/c3/yrzmhx454qzd1h9l352xqfsr0000gn/T/pip-9I8Zli-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/c3/yrzmhx454qzd1h9l352xqfsr0000gn/T/pip-build-O_gdNx/pyside/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions