Cannot build in Windows
Created by: gappleto97
Here is the output from attempting a pip
install. Similar outputs are shown using the other provided methods.
C:\windows\system32>pip install miniupnpc
Collecting miniupnpc
c:\python27\lib\site-packages\pip\_vendor\requests\packages\urllib3\util\ssl_.py
:90: InsecurePlatformWarning: A true SSLContext object is not available. This pr
events urllib3 from configuring SSL appropriately and may cause certain SSL conn
ections to fail. For more information, see https://urllib3.readthedocs.org/en/la
test/security.html#insecureplatformwarning.
InsecurePlatformWarning
Using cached miniupnpc-1.9.tar.gz
Building wheels for collected packages: miniupnpc
Running setup.py bdist_wheel for miniupnpc
Complete output from command c:\python27\python.exe -c "import setuptools;__fi
le__='c:\\users\\gappleto\\appdata\\local\\temp\\pip-build-wq5lzh\\miniupnpc\\se
tup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exe
c'))" bdist_wheel -d c:\users\gappleto\appdata\local\temp\tmpezh6hspip-wheel-:
cc -fPIC -O -Wall -W -Wstrict-prototypes -fno-common -DMINIUPNPC_SET_SOCKET_TI
MEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_POSIX_C_SOURCE=1 -ansi -c -o u
pnpc.o upnpc.c
process_begin: CreateProcess(NULL, uname -s, ...) failed.
process_begin: CreateProcess(NULL, uname -s, ...) failed.
process_begin: CreateProcess(NULL, uname -s, ...) failed.
process_begin: CreateProcess(NULL, uname -s, ...) failed.
process_begin: CreateProcess(NULL, uname -s, ...) failed.
process_begin: CreateProcess(NULL, uname -s, ...) failed.
process_begin: CreateProcess(NULL, uname -s, ...) failed.
process_begin: CreateProcess(NULL, uname -s, ...) failed.
process_begin: CreateProcess(NULL, uname -s, ...) failed.
process_begin: CreateProcess(NULL, uname -s, ...) failed.
process_begin: CreateProcess(NULL, uname -s, ...) failed.
process_begin: CreateProcess(NULL, uname -s, ...) failed.
process_begin: CreateProcess(NULL, uname -s, ...) failed.
process_begin: CreateProcess(NULL, uname -s, ...) failed.
process_begin: CreateProcess(NULL, cc -fPIC -O -Wall -W -Wstrict-prototypes -f
no-common -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE
-D_POSIX_C_SOURCE=1 -ansi -c -o upnpc.o upnpc.c, ...) failed.
make (e=2): The system cannot find the file specified.
make: *** [upnpc.o] Error 2
running bdist_wheel
running build
running build_ext
building 'miniupnpc' extension
creating build
creating build\temp.win32-2.7
creating build\temp.win32-2.7\Release
C:\Users\gappleto\AppData\Local\Programs\Common\Microsoft\Visual C++ for Pytho
n\9.0\VC\Bin\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -Ic:\python27\include -
Ic:\python27\PC /Tcminiupnpcmodule.c /Fobuild\temp.win32-2.7\Release\miniupnpcmo
dule.obj
miniupnpcmodule.c
creating build\lib.win32-2.7
C:\Users\gappleto\AppData\Local\Programs\Common\Microsoft\Visual C++ for Pytho
n\9.0\VC\Bin\link.exe /DLL /nologo /INCREMENTAL:NO /LIBPATH:c:\python27\libs /LI
BPATH:c:\python27\PCbuild /EXPORT:initminiupnpc build\temp.win32-2.7\Release\min
iupnpcmodule.obj libminiupnpc.a /OUT:build\lib.win32-2.7\miniupnpc.pyd /IMPLIB:b
uild\temp.win32-2.7\Release\miniupnpc.lib /MANIFESTFILE:build\temp.win32-2.7\Rel
ease\miniupnpc.pyd.manifest
LINK : fatal error LNK1181: cannot open input file 'libminiupnpc.a'
error: command 'C:\\Users\\gappleto\\AppData\\Local\\Programs\\Common\\Microso
ft\\Visual C++ for Python\\9.0\\VC\\Bin\\link.exe' failed with exit status 1181
----------------------------------------
Failed building wheel for miniupnpc
Failed to build miniupnpc
Installing collected packages: miniupnpc
Running setup.py install for miniupnpc
Complete output from command c:\python27\python.exe -c "import setuptools, t
okenize;__file__='c:\\users\\gappleto\\appdata\\local\\temp\\pip-build-wq5lzh\\m
iniupnpc\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read(
).replace('\r\n', '\n'), __file__, 'exec'))" install --record c:\users\gappleto\
appdata\local\temp\pip-mzwxnc-record\install-record.txt --single-version-externa
lly-managed --compile:
cc -fPIC -O -Wall -W -Wstrict-prototypes -fno-common -DMINIUPNPC_SET_SOCKET_
TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_POSIX_C_SOURCE=1 -ansi -c -o
upnpc.o upnpc.c
process_begin: CreateProcess(NULL, uname -s, ...) failed.
process_begin: CreateProcess(NULL, uname -s, ...) failed.
process_begin: CreateProcess(NULL, uname -s, ...) failed.
process_begin: CreateProcess(NULL, uname -s, ...) failed.
process_begin: CreateProcess(NULL, uname -s, ...) failed.
process_begin: CreateProcess(NULL, uname -s, ...) failed.
process_begin: CreateProcess(NULL, uname -s, ...) failed.
process_begin: CreateProcess(NULL, uname -s, ...) failed.
process_begin: CreateProcess(NULL, uname -s, ...) failed.
process_begin: CreateProcess(NULL, uname -s, ...) failed.
process_begin: CreateProcess(NULL, uname -s, ...) failed.
process_begin: CreateProcess(NULL, uname -s, ...) failed.
process_begin: CreateProcess(NULL, uname -s, ...) failed.
process_begin: CreateProcess(NULL, uname -s, ...) failed.
process_begin: CreateProcess(NULL, cc -fPIC -O -Wall -W -Wstrict-prototypes
-fno-common -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURC
E -D_POSIX_C_SOURCE=1 -ansi -c -o upnpc.o upnpc.c, ...) failed.
make (e=2): The system cannot find the file specified.
make: *** [upnpc.o] Error 2
running install
running build
running build_ext
building 'miniupnpc' extension
C:\Users\gappleto\AppData\Local\Programs\Common\Microsoft\Visual C++ for Pyt
hon\9.0\VC\Bin\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -Ic:\python27\include
-Ic:\python27\PC /Tcminiupnpcmodule.c /Fobuild\temp.win32-2.7\Release\miniupnpc
module.obj
miniupnpcmodule.c
C:\Users\gappleto\AppData\Local\Programs\Common\Microsoft\Visual C++ for Pyt
hon\9.0\VC\Bin\link.exe /DLL /nologo /INCREMENTAL:NO /LIBPATH:c:\python27\libs /
LIBPATH:c:\python27\PCbuild /EXPORT:initminiupnpc build\temp.win32-2.7\Release\m
iniupnpcmodule.obj libminiupnpc.a /OUT:build\lib.win32-2.7\miniupnpc.pyd /IMPLIB
:build\temp.win32-2.7\Release\miniupnpc.lib /MANIFESTFILE:build\temp.win32-2.7\R
elease\miniupnpc.pyd.manifest
LINK : fatal error LNK1181: cannot open input file 'libminiupnpc.a'
error: command 'C:\\Users\\gappleto\\AppData\\Local\\Programs\\Common\\Micro
soft\\Visual C++ for Python\\9.0\\VC\\Bin\\link.exe' failed with exit status 118
1
----------------------------------------
Command "c:\python27\python.exe -c "import setuptools, tokenize;__file__='c:\\us
ers\\gappleto\\appdata\\local\\temp\\pip-build-wq5lzh\\miniupnpc\\setup.py';exec
(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'),
__file__, 'exec'))" install --record c:\users\gappleto\appdata\local\temp\pip-m
zwxnc-record\install-record.txt --single-version-externally-managed --compile" f
ailed with error code 1 in c:\users\gappleto\appdata\local\temp\pip-build-wq5lzh
\miniupnpc
gappleto97/Senior-Project#3