python - pip install -U PySide error -


does know how avoid following error when running pip install -u pyside per official website instructions here: https://pypi.python.org/pypi/pyside/#installing-pyside-on-a-mac-os-x-system

note have done brew install qt successfully.

you using pip version 7.0.3, version 7.1.2 available. should consider upgrading via 'pip install --upgrade pip' command. collecting pyside   using cached pyside-1.2.4.tar.gz installing collected packages: pyside   running setup.py install pyside     complete output command /applications/anaconda/bin/python -c "import setuptools, tokenize;__file__='/private/var/folders/dy/ttgqhqqx3g9bsbsnqnxsk2z80000gq/t/pip-build-cpxemt/pyside/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/dy/ttgqhqqx3g9bsbsnqnxsk2z80000gq/t/pip-0r7hri-record/install-record.txt --single-version-externally-managed --compile:     removing /private/var/folders/dy/ttgqhqqx3g9bsbsnqnxsk2z80000gq/t/pip-build-cpxemt/pyside/pyside_package     running install     running build     python architecture 64bit     inserting path "/private/var/folders/dy/ttgqhqqx3g9bsbsnqnxsk2z80000gq/t/pip-build-cpxemt/pyside/pyside_install/py2.7-qt4.8.6-64bit-release/bin" environment     ==============================     package version: 1.2.4     build type: release     build tests: false     ---     make path: /usr/bin/make     make generator: unix makefiles     make jobs:     ---     script directory: /private/var/folders/dy/ttgqhqqx3g9bsbsnqnxsk2z80000gq/t/pip-build-cpxemt/pyside     sources directory: /private/var/folders/dy/ttgqhqqx3g9bsbsnqnxsk2z80000gq/t/pip-build-cpxemt/pyside/sources     build directory: /private/var/folders/dy/ttgqhqqx3g9bsbsnqnxsk2z80000gq/t/pip-build-cpxemt/pyside/pyside_build/py2.7-qt4.8.6-64bit-release     install directory: /private/var/folders/dy/ttgqhqqx3g9bsbsnqnxsk2z80000gq/t/pip-build-cpxemt/pyside/pyside_install/py2.7-qt4.8.6-64bit-release     python site-packages install directory: /private/var/folders/dy/ttgqhqqx3g9bsbsnqnxsk2z80000gq/t/pip-build-cpxemt/pyside/pyside_install/py2.7-qt4.8.6-64bit-release/lib/python2.7/site-packages     ---     python executable: /applications/anaconda/bin/python     python includes: /applications/anaconda/include/python2.7     python library: /applications/anaconda/lib/libpython2.7.dylib     python prefix: /applications/anaconda     python scripts: /applications/anaconda/bin     ---     qt qmake: /applications/anaconda/bin/qmake     qt version: 4.8.6     qt bins: /applications/anaconda/bin     qt plugins: /applications/anaconda/plugins     ---     openssl libs: none     ==============================     creating build folder /private/var/folders/dy/ttgqhqqx3g9bsbsnqnxsk2z80000gq/t/pip-build-cpxemt/pyside/pyside_build/py2.7-qt4.8.6-64bit-release...     creating install folder /private/var/folders/dy/ttgqhqqx3g9bsbsnqnxsk2z80000gq/t/pip-build-cpxemt/pyside/pyside_install/py2.7-qt4.8.6-64bit-release...     building module shiboken...     creating module build folder /private/var/folders/dy/ttgqhqqx3g9bsbsnqnxsk2z80000gq/t/pip-build-cpxemt/pyside/pyside_build/py2.7-qt4.8.6-64bit-release/shiboken...     configuring module shiboken (/private/var/folders/dy/ttgqhqqx3g9bsbsnqnxsk2z80000gq/t/pip-build-cpxemt/pyside/sources/shiboken)...     running process: /usr/local/bin/cmake -g "unix makefiles" -dqt_qmake_executable=/applications/anaconda/bin/qmake -dbuild_tests=false -ddisable_docstrings=true -dcmake_build_type=release -dcmake_install_prefix=/private/var/folders/dy/ttgqhqqx3g9bsbsnqnxsk2z80000gq/t/pip-build-cpxemt/pyside/pyside_install/py2.7-qt4.8.6-64bit-release /private/var/folders/dy/ttgqhqqx3g9bsbsnqnxsk2z80000gq/t/pip-build-cpxemt/pyside/sources/shiboken -dpython_executable=/applications/anaconda/bin/python -dpython_include_dir=/applications/anaconda/include/python2.7 -dpython_library=/applications/anaconda/lib/libpython2.7.dylib -dcmake_install_rpath_use_link_path=yes -dalternative_qt_include_dir=/applications/anaconda/include     /usr/local/bin/cmake -g unix makefiles -dqt_qmake_executable=/applications/anaconda/bin/qmake -dbuild_tests=false -ddisable_docstrings=true -dcmake_build_type=release -dcmake_install_prefix=/private/var/folders/dy/ttgqhqqx3g9bsbsnqnxsk2z80000gq/t/pip-build-cpxemt/pyside/pyside_install/py2.7-qt4.8.6-64bit-release /private/var/folders/dy/ttgqhqqx3g9bsbsnqnxsk2z80000gq/t/pip-build-cpxemt/pyside/sources/shiboken -dpython_executable=/applications/anaconda/bin/python -dpython_include_dir=/applications/anaconda/include/python2.7 -dpython_library=/applications/anaconda/lib/libpython2.7.dylib -dcmake_install_rpath_use_link_path=yes -dalternative_qt_include_dir=/applications/anaconda/include     -- c compiler identification appleclang 7.0.0.7000072     -- cxx compiler identification appleclang 7.0.0.7000072     cmake error @ /usr/local/cellar/cmake/3.3.0/share/cmake/modules/platform/darwin.cmake:76 (message):       cmake_osx_deployment_target '10.5' cmake_osx_sysroot:         ""        not set macosx sdk recognized version.  either set       cmake_osx_sysroot valid sdk or set cmake_osx_deployment_target       empty.     call stack (most recent call first):       /usr/local/cellar/cmake/3.3.0/share/cmake/modules/cmakesystemspecificinformation.cmake:36 (include)       cmakelists.txt:2 (project)       -- configuring incomplete, errors occurred!     see "/private/var/folders/dy/ttgqhqqx3g9bsbsnqnxsk2z80000gq/t/pip-build-cpxemt/pyside/pyside_build/py2.7-qt4.8.6-64bit-release/shiboken/cmakefiles/cmakeoutput.log".     error: error configuring shiboken      ---------------------------------------- command "/applications/anaconda/bin/python -c "import setuptools, tokenize;__file__='/private/var/folders/dy/ttgqhqqx3g9bsbsnqnxsk2z80000gq/t/pip-build-cpxemt/pyside/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/dy/ttgqhqqx3g9bsbsnqnxsk2z80000gq/t/pip-0r7hri-record/install-record.txt --single-version-externally-managed --compile" failed error code 1 in /private/var/folders/dy/ttgqhqqx3g9bsbsnqnxsk2z80000gq/t/pip-build-cpxemt/pyside 

update (3-16-2016):

i got hands on updated mac os x 10.11 (el capitan). proceeded brew install qt , tried pip install -u pyside once again (as per these instructions: https://pypi.python.org/pypi/pyside/#installing-pyside-on-a-mac-os-x-system). unfortunately, once again received error:

collecting pyside   downloading pyside-1.2.4.tar.gz (9.3mb)     100% |████████████████████████████████| 9.3mb 162kb/s  installing collected packages: pyside   running setup.py install pyside ... error     complete output command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/private/var/folders/km/x8ww58k15h74q73fvrbqxym40000gp/t/pip-build-ozzwdt/pyside/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/km/x8ww58k15h74q73fvrbqxym40000gp/t/pip-yvpqb6-record/install-record.txt --single-version-externally-managed --compile:     removing /private/var/folders/km/x8ww58k15h74q73fvrbqxym40000gp/t/pip-build-ozzwdt/pyside/pyside_package     running install     running build     python architecture 64bit     error: failed find cmake. please specify path cmake --cmake parameter.      ---------------------------------------- command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/private/var/folders/km/x8ww58k15h74q73fvrbqxym40000gp/t/pip-build-ozzwdt/pyside/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/km/x8ww58k15h74q73fvrbqxym40000gp/t/pip-yvpqb6-record/install-record.txt --single-version-externally-managed --compile" failed error code 1 in /private/var/folders/km/x8ww58k15h74q73fvrbqxym40000gp/t/pip-build-ozzwdt/pyside/ 

it's been many months since original post , judging upvotes, i'm not 1 problem. such, i'm starting suspect perhaps instructions https://pypi.python.org/pypi/pyside/#installing-pyside-on-a-mac-os-x-system outdated. if gets work, please upload recipe. thank you.

first of all, first time answering in stackoverflow, please have patience me..

i had installed cmake in order install pyside, , had same problem you. then, tried homebrew:

$ brew doctor 

it said cmake installed not linked. in order link it, had run homebrew:

$ brew link cmake 

after that, tried again:

$ pip3.4 install -u pyside 

and worked, installed , works.. hope helps.


Comments

Popular posts from this blog

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -