Skip to content

Instantly share code, notes, and snippets.

@Tamriel
Created August 5, 2015 15:09
Show Gist options
  • Save Tamriel/7b412366432e0df14ceb to your computer and use it in GitHub Desktop.
Save Tamriel/7b412366432e0df14ceb to your computer and use it in GitHub Desktop.
pygs install error
jans-Mac:~ jan$ pip3 install PyGlobalShortcut
Collecting PyGlobalShortcut
Using cached PyGlobalShortcut-0.2.3.zip
Building wheels for collected packages: PyGlobalShortcut
Running setup.py bdist_wheel for PyGlobalShortcut
Complete output from command /usr/local/opt/python3/bin/python3.4 -c "import setuptools;__file__='/private/var/folders/h5/dymvt9c92yv_wccz9c79w84r0000gn/T/pip-build-6b185l4n/PyGlobalShortcut/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /var/folders/h5/dymvt9c92yv_wccz9c79w84r0000gn/T/tmp6rboqy_wpip-wheel-:
running bdist_wheel
running build
running build_clib
building 'QxtGlobalShortcut' library
Info: creating stash file /private/var/folders/h5/dymvt9c92yv_wccz9c79w84r0000gn/T/pip-build-6b185l4n/PyGlobalShortcut/build/temp.macosx-10.8-x86_64-3.4/.qmake.stash
Project MESSAGE: This project is using private headers and will therefore be tied to this specific Qt module build version.
Project MESSAGE: Running this project against other versions of the Qt modules may crash at any arbitrary point.
Project MESSAGE: This is not a bug, but a result of using Qt internals. You have been warned!
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -c -pipe -O2 -fPIC -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -mmacosx-version-min=10.7 -Wall -W -DBUILD_QXT_CORE -DBUILD_QXT_GUI -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../../lib -I. -I../../libqxt/src/core -I../../libqxt/src/widgets -I/usr/local/Cellar/qt5/5.5.0/lib/QtWidgets.framework/Headers -I/usr/local/Cellar/qt5/5.5.0/lib/QtGui.framework/Headers -I/usr/local/Cellar/qt5/5.5.0/lib/QtGui.framework/Headers/5.5.0 -I/usr/local/Cellar/qt5/5.5.0/lib/QtGui.framework/Headers/5.5.0/QtGui -I/usr/local/Cellar/qt5/5.5.0/lib/QtCore.framework/Headers -I. -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/AGL.framework/Headers -I/usr/local/Cellar/qt5/5.5.0/mkspecs/macx-clang -F/usr/local/Cellar/qt5/5.5.0/lib -o qxtglobal.o ../../libqxt/src/core/qxtglobal.cpp
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -c -pipe -O2 -fPIC -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -mmacosx-version-min=10.7 -Wall -W -DBUILD_QXT_CORE -DBUILD_QXT_GUI -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../../lib -I. -I../../libqxt/src/core -I../../libqxt/src/widgets -I/usr/local/Cellar/qt5/5.5.0/lib/QtWidgets.framework/Headers -I/usr/local/Cellar/qt5/5.5.0/lib/QtGui.framework/Headers -I/usr/local/Cellar/qt5/5.5.0/lib/QtGui.framework/Headers/5.5.0 -I/usr/local/Cellar/qt5/5.5.0/lib/QtGui.framework/Headers/5.5.0/QtGui -I/usr/local/Cellar/qt5/5.5.0/lib/QtCore.framework/Headers -I. -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/AGL.framework/Headers -I/usr/local/Cellar/qt5/5.5.0/mkspecs/macx-clang -F/usr/local/Cellar/qt5/5.5.0/lib -o qxtglobalshortcut.o ../../libqxt/src/widgets/qxtglobalshortcut.cpp
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -c -pipe -O2 -fPIC -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -mmacosx-version-min=10.7 -Wall -W -DBUILD_QXT_CORE -DBUILD_QXT_GUI -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../../lib -I. -I../../libqxt/src/core -I../../libqxt/src/widgets -I/usr/local/Cellar/qt5/5.5.0/lib/QtWidgets.framework/Headers -I/usr/local/Cellar/qt5/5.5.0/lib/QtGui.framework/Headers -I/usr/local/Cellar/qt5/5.5.0/lib/QtGui.framework/Headers/5.5.0 -I/usr/local/Cellar/qt5/5.5.0/lib/QtGui.framework/Headers/5.5.0/QtGui -I/usr/local/Cellar/qt5/5.5.0/lib/QtCore.framework/Headers -I. -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/AGL.framework/Headers -I/usr/local/Cellar/qt5/5.5.0/mkspecs/macx-clang -F/usr/local/Cellar/qt5/5.5.0/lib -o qxtglobalshortcut_mac.o ../../libqxt/src/widgets/mac/qxtglobalshortcut_mac.cpp
/usr/local/Cellar/qt5/5.5.0/bin/moc -DBUILD_QXT_CORE -DBUILD_QXT_GUI -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -D__APPLE__ -D__GNUC__=4 -D__APPLE_CC__ -I/usr/local/Cellar/qt5/5.5.0/mkspecs/macx-clang -I/private/var/folders/h5/dymvt9c92yv_wccz9c79w84r0000gn/T/pip-build-6b185l4n/PyGlobalShortcut/lib -I/private/var/folders/h5/dymvt9c92yv_wccz9c79w84r0000gn/T/pip-build-6b185l4n/PyGlobalShortcut/libqxt/src/core -I/private/var/folders/h5/dymvt9c92yv_wccz9c79w84r0000gn/T/pip-build-6b185l4n/PyGlobalShortcut/libqxt/src/widgets -I/usr/local/Cellar/qt5/5.5.0/lib/QtWidgets.framework/Headers -I/usr/local/Cellar/qt5/5.5.0/lib/QtGui.framework/Headers -I/usr/local/Cellar/qt5/5.5.0/lib/QtGui.framework/Headers/5.5.0 -I/usr/local/Cellar/qt5/5.5.0/lib/QtGui.framework/Headers/5.5.0/QtGui -I/usr/local/Cellar/qt5/5.5.0/lib/QtCore.framework/Headers -I. -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/c++/4.2.1 -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/c++/4.2.1/backward -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/5.1/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include -F/usr/local/Cellar/qt5/5.5.0/lib ../../libqxt/src/widgets/qxtglobalshortcut.h -o moc_qxtglobalshortcut.cpp
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -c -pipe -O2 -fPIC -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -mmacosx-version-min=10.7 -Wall -W -DBUILD_QXT_CORE -DBUILD_QXT_GUI -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../../lib -I. -I../../libqxt/src/core -I../../libqxt/src/widgets -I/usr/local/Cellar/qt5/5.5.0/lib/QtWidgets.framework/Headers -I/usr/local/Cellar/qt5/5.5.0/lib/QtGui.framework/Headers -I/usr/local/Cellar/qt5/5.5.0/lib/QtGui.framework/Headers/5.5.0 -I/usr/local/Cellar/qt5/5.5.0/lib/QtGui.framework/Headers/5.5.0/QtGui -I/usr/local/Cellar/qt5/5.5.0/lib/QtCore.framework/Headers -I. -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/AGL.framework/Headers -I/usr/local/Cellar/qt5/5.5.0/mkspecs/macx-clang -F/usr/local/Cellar/qt5/5.5.0/lib -o moc_qxtglobalshortcut.o moc_qxtglobalshortcut.cpp
rm -f libQxtGlobalShortcut.a
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar cq libQxtGlobalShortcut.a qxtglobal.o qxtglobalshortcut.o qxtglobalshortcut_mac.o moc_qxtglobalshortcut.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib -s libQxtGlobalShortcut.a
running build_ext
building 'pygs' extension
sip: Unable to find file "QtCore/QtCoremod.sip"
building for PyQt5
Traceback (most recent call last):
File "/private/var/folders/h5/dymvt9c92yv_wccz9c79w84r0000gn/T/pip-build-6b185l4n/PyGlobalShortcut/pygs/configure.py", line 91, in <module>
subprocess.check_call(command)
File "/usr/local/Cellar/python3/3.4.3_2/Frameworks/Python.framework/Versions/3.4/lib/python3.4/subprocess.py", line 561, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/local/Cellar/sip/4.16.9/bin/sip', '-c', '.', '-b', 'pygs.sbf', '-I', '/usr/local/share/sip/PyQt5', '-e', '-t', 'WS_MACX', '-t', 'Qt_5_5_0', '/private/var/folders/h5/dymvt9c92yv_wccz9c79w84r0000gn/T/pip-build-6b185l4n/PyGlobalShortcut/pygs/sip/pygsmod.sip']' returned non-zero exit status 1
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/var/folders/h5/dymvt9c92yv_wccz9c79w84r0000gn/T/pip-build-6b185l4n/PyGlobalShortcut/setup.py", line 139, in <module>
'build_ext': build_ext_with_sip,
File "/usr/local/Cellar/python3/3.4.3_2/Frameworks/Python.framework/Versions/3.4/lib/python3.4/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/local/Cellar/python3/3.4.3_2/Frameworks/Python.framework/Versions/3.4/lib/python3.4/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
File "/usr/local/Cellar/python3/3.4.3_2/Frameworks/Python.framework/Versions/3.4/lib/python3.4/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/usr/local/lib/python3.4/site-packages/wheel/bdist_wheel.py", line 175, in run
self.run_command('build')
File "/usr/local/Cellar/python3/3.4.3_2/Frameworks/Python.framework/Versions/3.4/lib/python3.4/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/local/Cellar/python3/3.4.3_2/Frameworks/Python.framework/Versions/3.4/lib/python3.4/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/usr/local/Cellar/python3/3.4.3_2/Frameworks/Python.framework/Versions/3.4/lib/python3.4/distutils/command/build.py", line 126, in run
self.run_command(cmd_name)
File "/usr/local/Cellar/python3/3.4.3_2/Frameworks/Python.framework/Versions/3.4/lib/python3.4/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/local/Cellar/python3/3.4.3_2/Frameworks/Python.framework/Versions/3.4/lib/python3.4/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/usr/local/Cellar/python3/3.4.3_2/Frameworks/Python.framework/Versions/3.4/lib/python3.4/distutils/command/build_ext.py", line 339, in run
self.build_extensions()
File "/private/var/folders/h5/dymvt9c92yv_wccz9c79w84r0000gn/T/pip-build-6b185l4n/PyGlobalShortcut/setup.py", line 65, in build_extensions
build_ext.build_extensions(self)
File "/usr/local/Cellar/python3/3.4.3_2/Frameworks/Python.framework/Versions/3.4/lib/python3.4/distutils/command/build_ext.py", line 448, in build_extensions
self.build_extension(ext)
File "/private/var/folders/h5/dymvt9c92yv_wccz9c79w84r0000gn/T/pip-build-6b185l4n/PyGlobalShortcut/setup.py", line 84, in build_extension
check_call([sys.executable, config], cwd=self.build_temp)
File "/private/var/folders/h5/dymvt9c92yv_wccz9c79w84r0000gn/T/pip-build-6b185l4n/PyGlobalShortcut/setup.py", line 30, in check_call
subprocess.check_call(command, cwd=cwd)
File "/usr/local/Cellar/python3/3.4.3_2/Frameworks/Python.framework/Versions/3.4/lib/python3.4/subprocess.py", line 561, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/local/opt/python3/bin/python3.4', '/private/var/folders/h5/dymvt9c92yv_wccz9c79w84r0000gn/T/pip-build-6b185l4n/PyGlobalShortcut/pygs/configure.py']' returned non-zero exit status 1
----------------------------------------
Failed building wheel for PyGlobalShortcut
Failed to build PyGlobalShortcut
Installing collected packages: PyGlobalShortcut
Running setup.py install for PyGlobalShortcut
Complete output from command /usr/local/opt/python3/bin/python3.4 -c "import setuptools, tokenize;__file__='/private/var/folders/h5/dymvt9c92yv_wccz9c79w84r0000gn/T/pip-build-6b185l4n/PyGlobalShortcut/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/h5/dymvt9c92yv_wccz9c79w84r0000gn/T/pip-0yhlovrq-record/install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_clib
building 'QxtGlobalShortcut' library
Project MESSAGE: This project is using private headers and will therefore be tied to this specific Qt module build version.
Project MESSAGE: Running this project against other versions of the Qt modules may crash at any arbitrary point.
Project MESSAGE: This is not a bug, but a result of using Qt internals. You have been warned!
make: Nothing to be done for `first'.
running build_ext
building 'pygs' extension
sip: Unable to find file "QtCore/QtCoremod.sip"
building for PyQt5
Traceback (most recent call last):
File "/private/var/folders/h5/dymvt9c92yv_wccz9c79w84r0000gn/T/pip-build-6b185l4n/PyGlobalShortcut/pygs/configure.py", line 91, in <module>
subprocess.check_call(command)
File "/usr/local/Cellar/python3/3.4.3_2/Frameworks/Python.framework/Versions/3.4/lib/python3.4/subprocess.py", line 561, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/local/Cellar/sip/4.16.9/bin/sip', '-c', '.', '-b', 'pygs.sbf', '-I', '/usr/local/share/sip/PyQt5', '-e', '-t', 'WS_MACX', '-t', 'Qt_5_5_0', '/private/var/folders/h5/dymvt9c92yv_wccz9c79w84r0000gn/T/pip-build-6b185l4n/PyGlobalShortcut/pygs/sip/pygsmod.sip']' returned non-zero exit status 1
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/var/folders/h5/dymvt9c92yv_wccz9c79w84r0000gn/T/pip-build-6b185l4n/PyGlobalShortcut/setup.py", line 139, in <module>
'build_ext': build_ext_with_sip,
File "/usr/local/Cellar/python3/3.4.3_2/Frameworks/Python.framework/Versions/3.4/lib/python3.4/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/local/Cellar/python3/3.4.3_2/Frameworks/Python.framework/Versions/3.4/lib/python3.4/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
File "/usr/local/Cellar/python3/3.4.3_2/Frameworks/Python.framework/Versions/3.4/lib/python3.4/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/usr/local/lib/python3.4/site-packages/setuptools/command/install.py", line 61, in run
return orig.install.run(self)
File "/usr/local/Cellar/python3/3.4.3_2/Frameworks/Python.framework/Versions/3.4/lib/python3.4/distutils/command/install.py", line 539, in run
self.run_command('build')
File "/usr/local/Cellar/python3/3.4.3_2/Frameworks/Python.framework/Versions/3.4/lib/python3.4/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/local/Cellar/python3/3.4.3_2/Frameworks/Python.framework/Versions/3.4/lib/python3.4/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/usr/local/Cellar/python3/3.4.3_2/Frameworks/Python.framework/Versions/3.4/lib/python3.4/distutils/command/build.py", line 126, in run
self.run_command(cmd_name)
File "/usr/local/Cellar/python3/3.4.3_2/Frameworks/Python.framework/Versions/3.4/lib/python3.4/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/local/Cellar/python3/3.4.3_2/Frameworks/Python.framework/Versions/3.4/lib/python3.4/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/usr/local/Cellar/python3/3.4.3_2/Frameworks/Python.framework/Versions/3.4/lib/python3.4/distutils/command/build_ext.py", line 339, in run
self.build_extensions()
File "/private/var/folders/h5/dymvt9c92yv_wccz9c79w84r0000gn/T/pip-build-6b185l4n/PyGlobalShortcut/setup.py", line 65, in build_extensions
build_ext.build_extensions(self)
File "/usr/local/Cellar/python3/3.4.3_2/Frameworks/Python.framework/Versions/3.4/lib/python3.4/distutils/command/build_ext.py", line 448, in build_extensions
self.build_extension(ext)
File "/private/var/folders/h5/dymvt9c92yv_wccz9c79w84r0000gn/T/pip-build-6b185l4n/PyGlobalShortcut/setup.py", line 84, in build_extension
check_call([sys.executable, config], cwd=self.build_temp)
File "/private/var/folders/h5/dymvt9c92yv_wccz9c79w84r0000gn/T/pip-build-6b185l4n/PyGlobalShortcut/setup.py", line 30, in check_call
subprocess.check_call(command, cwd=cwd)
File "/usr/local/Cellar/python3/3.4.3_2/Frameworks/Python.framework/Versions/3.4/lib/python3.4/subprocess.py", line 561, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/local/opt/python3/bin/python3.4', '/private/var/folders/h5/dymvt9c92yv_wccz9c79w84r0000gn/T/pip-build-6b185l4n/PyGlobalShortcut/pygs/configure.py']' returned non-zero exit status 1
----------------------------------------
Command "/usr/local/opt/python3/bin/python3.4 -c "import setuptools, tokenize;__file__='/private/var/folders/h5/dymvt9c92yv_wccz9c79w84r0000gn/T/pip-build-6b185l4n/PyGlobalShortcut/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/h5/dymvt9c92yv_wccz9c79w84r0000gn/T/pip-0yhlovrq-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/h5/dymvt9c92yv_wccz9c79w84r0000gn/T/pip-build-6b185l4n/PyGlobalShortcut
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment