Skip to content

Instantly share code, notes, and snippets.

@Tamriel
Created August 5, 2015 17:16
Show Gist options
  • Save Tamriel/7107521081f2f26cdd22 to your computer and use it in GitHub Desktop.
Save Tamriel/7107521081f2f26cdd22 to your computer and use it in GitHub Desktop.
windows pygs install error
C:\Users\Jan>pip3 install PyGlobalShortcut
You are using pip version 6.0.8, however version 7.1.0 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Collecting PyGlobalShortcut
Using cached PyGlobalShortcut-0.2.3.zip
Installing collected packages: PyGlobalShortcut
Running setup.py install for PyGlobalShortcut
building 'QxtGlobalShortcut' library
Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
Copyright (C) Microsoft Corporation. All rights reserved.
"C:\Program Files\Microsoft Visual Studio 10.0\VC\BIN\nmake.exe" -f Make
file.Release
Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
Copyright (C) Microsoft Corporation. All rights reserved.
C:\Python34\Lib\site-packages\PyQt5\bin\moc.exe -DUNICODE -DWIN32 -DBUIL
D_QXT_CORE -DBUILD_QXT_GUI -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE
_LIB -DNDEBUG -D_MSC_VER=1600 -D_WIN32 -IC:/Python34/Lib/site-packages/PyQt5/mks
pecs/win32-msvc2010 -IC:/Users/Jan/AppData/Local/Temp/pip-build-g1k4numy/PyGloba
lShortcut/lib -IC:/Users/Jan/AppData/Local/Temp/pip-build-g1k4numy/PyGlobalShort
cut/libqxt/src/core -IC:/Users/Jan/AppData/Local/Temp/pip-build-g1k4numy/PyGloba
lShortcut/libqxt/src/widgets -IC:/Python34/Lib/site-packages/PyQt5/include -IC:/
Python34/Lib/site-packages/PyQt5/include/QtWidgets -IC:/Python34/Lib/site-packag
es/PyQt5/include/QtGui -IC:/Python34/Lib/site-packages/PyQt5/include/QtANGLE -IC
:/Python34/Lib/site-packages/PyQt5/include/QtCore -I. ..\..\libqxt\src\widgets\q
xtglobalshortcut.h -o release\moc_qxtglobalshortcut.cpp
Das System kann den angegebenen Pfad nicht finden.
NMAKE : fatal error U1077: 'C:\Python34\Lib\site-packages\PyQt5\bin\moc.exe'
: return code '0x1'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 10.0\V
C\BIN\nmake.exe"' : return code '0x2'
Stop.
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\Jan\AppData\Local\Temp\pip-build-g1k4numy\PyGlobalShortcut\
setup.py", line 139, in <module>
'build_ext': build_ext_with_sip,
File "C:\Python34\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "C:\Python34\lib\distutils\dist.py", line 955, in run_commands
self.run_command(cmd)
File "C:\Python34\lib\distutils\dist.py", line 974, in run_command
cmd_obj.run()
File "C:\Python34\lib\site-packages\setuptools\command\install.py", line 6
1, in run
return orig.install.run(self)
File "C:\Python34\lib\distutils\command\install.py", line 539, in run
self.run_command('build')
File "C:\Python34\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\Python34\lib\distutils\dist.py", line 974, in run_command
cmd_obj.run()
File "C:\Python34\lib\distutils\command\build.py", line 126, in run
self.run_command(cmd_name)
File "C:\Python34\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\Python34\lib\distutils\dist.py", line 974, in run_command
cmd_obj.run()
File "C:\Python34\lib\distutils\command\build_clib.py", line 115, in run
self.build_libraries(self.libraries)
File "C:\Users\Jan\AppData\Local\Temp\pip-build-g1k4numy\PyGlobalShortcut\
setup.py", line 55, in build_libraries
check_call([make], cwd=self.build_temp)
File "C:\Users\Jan\AppData\Local\Temp\pip-build-g1k4numy\PyGlobalShortcut\
setup.py", line 30, in check_call
subprocess.check_call(command, cwd=cwd)
File "C:\Python34\lib\subprocess.py", line 561, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['nmake']' returned non-zero exit st
atus 2
Complete output from command C:\Python34\python.exe -c "import setuptools, t
okenize;__file__='C:\\Users\\Jan\\AppData\\Local\\Temp\\pip-build-g1k4numy\\PyGl
obalShortcut\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).r
ead().replace('\r\n', '\n'), __file__, 'exec'))" install --record C:\Users\Jan\A
ppData\Local\Temp\pip-vf_xtovg-record\install-record.txt --single-version-extern
ally-managed --compile:
running install
running build
running build_clib
building 'QxtGlobalShortcut' library
Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
Copyright (C) Microsoft Corporation. All rights reserved.
"C:\Program Files\Microsoft Visual Studio 10.0\VC\BIN\nmake.exe" -f Make
file.Release
Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
Copyright (C) Microsoft Corporation. All rights reserved.
C:\Python34\Lib\site-packages\PyQt5\bin\moc.exe -DUNICODE -DWIN32 -DBUIL
D_QXT_CORE -DBUILD_QXT_GUI -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE
_LIB -DNDEBUG -D_MSC_VER=1600 -D_WIN32 -IC:/Python34/Lib/site-packages/PyQt5/mks
pecs/win32-msvc2010 -IC:/Users/Jan/AppData/Local/Temp/pip-build-g1k4numy/PyGloba
lShortcut/lib -IC:/Users/Jan/AppData/Local/Temp/pip-build-g1k4numy/PyGlobalShort
cut/libqxt/src/core -IC:/Users/Jan/AppData/Local/Temp/pip-build-g1k4numy/PyGloba
lShortcut/libqxt/src/widgets -IC:/Python34/Lib/site-packages/PyQt5/include -IC:/
Python34/Lib/site-packages/PyQt5/include/QtWidgets -IC:/Python34/Lib/site-packag
es/PyQt5/include/QtGui -IC:/Python34/Lib/site-packages/PyQt5/include/QtANGLE -IC
:/Python34/Lib/site-packages/PyQt5/include/QtCore -I. ..\..\libqxt\src\widgets\q
xtglobalshortcut.h -o release\moc_qxtglobalshortcut.cpp
Das System kann den angegebenen Pfad nicht finden.
NMAKE : fatal error U1077: 'C:\Python34\Lib\site-packages\PyQt5\bin\moc.exe'
: return code '0x1'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 10.0\V
C\BIN\nmake.exe"' : return code '0x2'
Stop.
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\Jan\AppData\Local\Temp\pip-build-g1k4numy\PyGlobalShortcut\
setup.py", line 139, in <module>
'build_ext': build_ext_with_sip,
File "C:\Python34\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "C:\Python34\lib\distutils\dist.py", line 955, in run_commands
self.run_command(cmd)
File "C:\Python34\lib\distutils\dist.py", line 974, in run_command
cmd_obj.run()
File "C:\Python34\lib\site-packages\setuptools\command\install.py", line 6
1, in run
return orig.install.run(self)
File "C:\Python34\lib\distutils\command\install.py", line 539, in run
self.run_command('build')
File "C:\Python34\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\Python34\lib\distutils\dist.py", line 974, in run_command
cmd_obj.run()
File "C:\Python34\lib\distutils\command\build.py", line 126, in run
self.run_command(cmd_name)
File "C:\Python34\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\Python34\lib\distutils\dist.py", line 974, in run_command
cmd_obj.run()
File "C:\Python34\lib\distutils\command\build_clib.py", line 115, in run
self.build_libraries(self.libraries)
File "C:\Users\Jan\AppData\Local\Temp\pip-build-g1k4numy\PyGlobalShortcut\
setup.py", line 55, in build_libraries
check_call([make], cwd=self.build_temp)
File "C:\Users\Jan\AppData\Local\Temp\pip-build-g1k4numy\PyGlobalShortcut\
setup.py", line 30, in check_call
subprocess.check_call(command, cwd=cwd)
File "C:\Python34\lib\subprocess.py", line 561, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['nmake']' returned non-zero exit st
atus 2
----------------------------------------
Command "C:\Python34\python.exe -c "import setuptools, tokenize;__file__='C:
\\Users\\Jan\\AppData\\Local\\Temp\\pip-build-g1k4numy\\PyGlobalShortcut\\setup.
py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n'
, '\n'), __file__, 'exec'))" install --record C:\Users\Jan\AppData\Local\Temp\pi
p-vf_xtovg-record\install-record.txt --single-version-externally-managed --compi
le" failed with error code 1 in C:\Users\Jan\AppData\Local\Temp\pip-build-g1k4nu
my\PyGlobalShortcut
C:\Users\Jan>lling collected packages: PyGlobalShortcut
Der Befehl "lling" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
C:\Users\Jan>ning setup.py install for PyGlobalShortcut
Der Befehl "ning" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
C:\Users\Jan>uilding 'QxtGlobalShortcut' library
Der Befehl "uilding" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
C:\Users\Jan>icrosoft (R) Program Maintenance Utility Version 10.00.30319
Der Befehl "icrosoft" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
C:\Users\Jan>opyright (C) Microsoft Corporation. All rights reserved.
Der Befehl "opyright" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
C:\Users\Jan> "C:\Program Files\Microsoft Visual Studio 10.0\VC\BIN\nma
Der Befehl ""C:\Program Files\Microsoft Visual Studio 10.0\VC\BIN\nma" ist entwe
der falsch geschrieben oder
konnte nicht gefunden werden.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment