Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

errors with wheels #8

Closed
AustEcon opened this issue Nov 4, 2020 · 3 comments
Closed

errors with wheels #8

AustEcon opened this issue Nov 4, 2020 · 3 comments

Comments

@AustEcon
Copy link

AustEcon commented Nov 4, 2020

This is what I am seeing on local Windows 10 computer (with a clean install of python3.7 + Visual C++ 14 build tools). Similar thing is also happening on Azure.

You know the reason?

Building wheels for collected packages: biscuits, multifruits, httptools, autoroutes
  Building wheel for biscuits (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: 'C:\Users\<current_user>\AppData\Local\Programs\Python\Python37\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\<current_user>\\AppData\\Local\\Temp\\pip-install-8pbsu0vb\\biscuits\\setup.py'"'"'; __file__='"'"'C:\\Users\\<current_user>\\AppData\\Local\\Temp\\pip-install-8pbsu0vb\\biscuits\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\<current_user>\AppData\Local\Temp\pip-wheel-lvrthxda'
       cwd: C:\Users\<current_user>\AppData\Local\Temp\pip-install-8pbsu0vb\biscuits\
  Complete output (20 lines):
  running bdist_wheel
  running build
  running build_ext
  building 'biscuits' extension
  creating build
  creating build\temp.win-amd64-3.7
  creating build\temp.win-amd64-3.7\Release
  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -IC:\Users\<current_user>\AppData\Local\Programs\Python\Python37\include -IC:\Users\<current_user>\AppData\Local\Programs\Python\Python37\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt" /Tcbiscuits.c /Fobuild\temp.win-amd64-3.7\Release\biscuits.obj -O3
  cl : Command line warning D9002 : ignoring unknown option '-O3'
  biscuits.c
  biscuits.c(1857): warning C4244: '=': conversion from 'Py_ssize_t' to 'unsigned int', possible loss of data
  biscuits.c(2733): warning C4244: '=': conversion from 'Py_ssize_t' to 'unsigned int', possible loss of data
  creating C:\Users\<current_user>\AppData\Local\Temp\pip-install-8pbsu0vb\biscuits\build\lib.win-amd64-3.7
  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\link.exe /nologo /INCREMENTAL:NO /LTCG /DLL /MANIFEST:EMBED,ID=2 /MANIFESTUAC:NO /LIBPATH:C:\Users\<current_user>\AppData\Local\Programs\Python\Python37\libs /LIBPATH:C:\Users\<current_user>\AppData\Local\Programs\Python\Python37\PCbuild\amd64 "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\LIB\amd64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.18362.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.18362.0\um\x64" /EXPORT:PyInit_biscuits build\temp.win-amd64-3.7\Release\biscuits.obj /OUT:build\lib.win-amd64-3.7\biscuits.cp37-win_amd64.pyd /IMPLIB:build\temp.win-amd64-3.7\Release\biscuits.cp37-win_amd64.lib
  biscuits.obj : warning LNK4197: export 'PyInit_biscuits' specified multiple times; using first specification
     Creating library build\temp.win-amd64-3.7\Release\biscuits.cp37-win_amd64.lib and object build\temp.win-amd64-3.7\Release\biscuits.cp37-win_amd64.exp
  Generating code
  Finished generating code
  LINK : fatal error LNK1158: cannot run 'rc.exe'
  error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\x86_amd64\\link.exe' failed with exit status 1158
  ----------------------------------------
  ERROR: Failed building wheel for biscuits
  Running setup.py clean for biscuits
  Building wheel for multifruits (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: 'C:\Users\<current_user>\AppData\Local\Programs\Python\Python37\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\<current_user>\\AppData\\Local\\Temp\\pip-install-8pbsu0vb\\multifruits\\setup.py'"'"'; __file__='"'"'C:\\Users\\<current_user>\\AppData\\Local\\Temp\\pip-install-8pbsu0vb\\multifruits\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\<current_user>\AppData\Local\Temp\pip-wheel-y_ss879q'
       cwd: C:\Users\<current_user>\AppData\Local\Temp\pip-install-8pbsu0vb\multifruits\
  Complete output (21 lines):
  running bdist_wheel
  running build
  running build_ext
  building 'multifruits' extension
  creating build
  creating build\temp.win-amd64-3.7
  creating build\temp.win-amd64-3.7\Release
  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -IC:\Users\<current_user>\AppData\Local\Programs\Python\Python37\include -IC:\Users\<current_user>\AppData\Local\Programs\Python\Python37\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt" /Tcmultifruits.c /Fobuild\temp.win-amd64-3.7\Release\multifruits.obj -O3
  cl : Command line warning D9002 : ignoring unknown option '-O3'
  multifruits.c
  multifruits.c(1914): warning C4244: '=': conversion from 'Py_ssize_t' to 'unsigned int', possible loss of data
  multifruits.c(2682): warning C4244: '=': conversion from 'Py_ssize_t' to 'unsigned int', possible loss of data
  multifruits.c(5470): warning C4244: '=': conversion from 'Py_ssize_t' to 'unsigned int', possible loss of data
  creating C:\Users\<current_user>\AppData\Local\Temp\pip-install-8pbsu0vb\multifruits\build\lib.win-amd64-3.7
  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\link.exe /nologo /INCREMENTAL:NO /LTCG /DLL /MANIFEST:EMBED,ID=2 /MANIFESTUAC:NO /LIBPATH:C:\Users\<current_user>\AppData\Local\Programs\Python\Python37\libs /LIBPATH:C:\Users\<current_user>\AppData\Local\Programs\Python\Python37\PCbuild\amd64 "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\LIB\amd64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.18362.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.18362.0\um\x64" /EXPORT:PyInit_multifruits build\temp.win-amd64-3.7\Release\multifruits.obj /OUT:build\lib.win-amd64-3.7\multifruits.cp37-win_amd64.pyd /IMPLIB:build\temp.win-amd64-3.7\Release\multifruits.cp37-win_amd64.lib
  multifruits.obj : warning LNK4197: export 'PyInit_multifruits' specified multiple times; using first specification
     Creating library build\temp.win-amd64-3.7\Release\multifruits.cp37-win_amd64.lib and object build\temp.win-amd64-3.7\Release\multifruits.cp37-win_amd64.exp
  Generating code
  Finished generating code
  LINK : fatal error LNK1158: cannot run 'rc.exe'
  error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\x86_amd64\\link.exe' failed with exit status 1158
  ----------------------------------------
  ERROR: Failed building wheel for multifruits
  Running setup.py clean for multifruits
  Building wheel for httptools (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: 'C:\Users\<current_user>\AppData\Local\Programs\Python\Python37\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\<current_user>\\AppData\\Local\\Temp\\pip-install-8pbsu0vb\\httptools\\setup.py'"'"'; __file__='"'"'C:\\Users\\<current_user>\\AppData\\Local\\Temp\\pip-install-8pbsu0vb\\httptools\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\<current_user>\AppData\Local\Temp\pip-wheel-2wntb0qf'
       cwd: C:\Users\<current_user>\AppData\Local\Temp\pip-install-8pbsu0vb\httptools\
  Complete output (37 lines):
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build\lib.win-amd64-3.7
  creating build\lib.win-amd64-3.7\httptools
  copying httptools\__init__.py -> build\lib.win-amd64-3.7\httptools
  creating build\lib.win-amd64-3.7\httptools\parser
  copying httptools\parser\errors.py -> build\lib.win-amd64-3.7\httptools\parser
  copying httptools\parser\__init__.py -> build\lib.win-amd64-3.7\httptools\parser
  running egg_info
  writing httptools.egg-info\PKG-INFO
  writing dependency_links to httptools.egg-info\dependency_links.txt
  writing top-level names to httptools.egg-info\top_level.txt
  reading manifest file 'httptools.egg-info\SOURCES.txt'
  reading manifest template 'MANIFEST.in'
  writing manifest file 'httptools.egg-info\SOURCES.txt'
  copying httptools\parser\parser.c -> build\lib.win-amd64-3.7\httptools\parser
  running build_ext
  building 'httptools.parser.parser' extension
  creating build\temp.win-amd64-3.7
  creating build\temp.win-amd64-3.7\Release
  creating build\temp.win-amd64-3.7\Release\httptools
  creating build\temp.win-amd64-3.7\Release\httptools\parser
  creating build\temp.win-amd64-3.7\Release\vendor
  creating build\temp.win-amd64-3.7\Release\vendor\http-parser
  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -IC:\Users\<current_user>\AppData\Local\Programs\Python\Python37\include -IC:\Users\<current_user>\AppData\Local\Programs\Python\Python37\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt" /Tchttptools/parser/parser.c /Fobuild\temp.win-amd64-3.7\Release\httptools/parser/parser.obj -O2
  parser.c
  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -IC:\Users\<current_user>\AppData\Local\Programs\Python\Python37\include -IC:\Users\<current_user>\AppData\Local\Programs\Python\Python37\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt" /Tcvendor/http-parser/http_parser.c /Fobuild\temp.win-amd64-3.7\Release\vendor/http-parser/http_parser.obj -O2
  http_parser.c
  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\link.exe /nologo /INCREMENTAL:NO /LTCG /DLL /MANIFEST:EMBED,ID=2 /MANIFESTUAC:NO /LIBPATH:C:\Users\<current_user>\AppData\Local\Programs\Python\Python37\libs /LIBPATH:C:\Users\<current_user>\AppData\Local\Programs\Python\Python37\PCbuild\amd64 "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\LIB\amd64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.18362.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.18362.0\um\x64" /EXPORT:PyInit_parser build\temp.win-amd64-3.7\Release\httptools/parser/parser.obj build\temp.win-amd64-3.7\Release\vendor/http-parser/http_parser.obj /OUT:build\lib.win-amd64-3.7\httptools\parser\parser.cp37-win_amd64.pyd /IMPLIB:build\temp.win-amd64-3.7\Release\httptools/parser\parser.cp37-win_amd64.lib
  parser.obj : warning LNK4197: export 'PyInit_parser' specified multiple times; using first specification
     Creating library build\temp.win-amd64-3.7\Release\httptools/parser\parser.cp37-win_amd64.lib and object build\temp.win-amd64-3.7\Release\httptools/parser\parser.cp37-win_amd64.exp
  Generating code
  Finished generating code
  LINK : fatal error LNK1158: cannot run 'rc.exe'
  error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\x86_amd64\\link.exe' failed with exit status 1158
  ----------------------------------------
  ERROR: Failed building wheel for httptools
  Running setup.py clean for httptools
  Building wheel for autoroutes (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: 'C:\Users\<current_user>\AppData\Local\Programs\Python\Python37\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\<current_user>\\AppData\\Local\\Temp\\pip-install-8pbsu0vb\\autoroutes\\setup.py'"'"'; __file__='"'"'C:\\Users\\<current_user>\\AppData\\Local\\Temp\\pip-install-8pbsu0vb\\autoroutes\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\<current_user>\AppData\Local\Temp\pip-wheel-x2yqkgl6'
       cwd: C:\Users\<current_user>\AppData\Local\Temp\pip-install-8pbsu0vb\autoroutes\
  Complete output (29 lines):
  running bdist_wheel
  running build
  running build_ext
  building 'autoroutes' extension
  creating build
  creating build\temp.win-amd64-3.7
  creating build\temp.win-amd64-3.7\Release
  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -IC:\Users\<current_user>\AppData\Local\Programs\Python\Python37\include -IC:\Users\<current_user>\AppData\Local\Programs\Python\Python37\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt" /Tcautoroutes.c /Fobuild\temp.win-amd64-3.7\Release\autoroutes.obj -O3
  cl : Command line warning D9002 : ignoring unknown option '-O3'
  autoroutes.c
  autoroutes.c(1625): warning C4244: '=': conversion from 'Py_ssize_t' to 'unsigned int', possible loss of data
  autoroutes.c(2749): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
  autoroutes.c(2763): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
  autoroutes.c(2780): warning C4244: '=': conversion from 'Py_ssize_t' to 'unsigned int', possible loss of data
  autoroutes.c(2823): warning C4244: '=': conversion from 'Py_ssize_t' to 'unsigned int', possible loss of data
  autoroutes.c(2877): warning C4244: '=': conversion from 'Py_ssize_t' to 'unsigned int', possible loss of data
  autoroutes.c(5076): warning C4244: '=': conversion from 'Py_ssize_t' to 'unsigned int', possible loss of data
  autoroutes.c(5536): warning C4244: '=': conversion from 'Py_ssize_t' to 'unsigned int', possible loss of data
  autoroutes.c(6105): warning C4244: '=': conversion from 'Py_ssize_t' to 'unsigned int', possible loss of data
  autoroutes.c(6521): warning C4244: '=': conversion from 'Py_ssize_t' to 'unsigned int', possible loss of data
  autoroutes.c(6723): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
  creating C:\Users\<current_user>\AppData\Local\Temp\pip-install-8pbsu0vb\autoroutes\build\lib.win-amd64-3.7
  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\link.exe /nologo /INCREMENTAL:NO /LTCG /DLL /MANIFEST:EMBED,ID=2 /MANIFESTUAC:NO /LIBPATH:C:\Users\<current_user>\AppData\Local\Programs\Python\Python37\libs /LIBPATH:C:\Users\<current_user>\AppData\Local\Programs\Python\Python37\PCbuild\amd64 "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\LIB\amd64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.18362.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.18362.0\um\x64" /EXPORT:PyInit_autoroutes build\temp.win-amd64-3.7\Release\autoroutes.obj /OUT:build\lib.win-amd64-3.7\autoroutes.cp37-win_amd64.pyd /IMPLIB:build\temp.win-amd64-3.7\Release\autoroutes.cp37-win_amd64.lib
  autoroutes.obj : warning LNK4197: export 'PyInit_autoroutes' specified multiple times; using first specification
     Creating library build\temp.win-amd64-3.7\Release\autoroutes.cp37-win_amd64.lib and object build\temp.win-amd64-3.7\Release\autoroutes.cp37-win_amd64.exp
  Generating code
  Finished generating code
  LINK : fatal error LNK1158: cannot run 'rc.exe'
  error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\x86_amd64\\link.exe' failed with exit status 1158
  ----------------------------------------
  ERROR: Failed building wheel for autoroutes
  Running setup.py clean for autoroutes
Failed to build biscuits multifruits httptools autoroutes
Installing collected packages: aiorpcX, peewee, curio, setuptools, filelock, h11, wsproto, biscuits, multifruits, httptools, autoroutes, trinket, psutil, attrs, pycparser, cffi, electrumsv-secp256k1, pyaes, bitcoinX, multidict, typing-extensions, yarl, async-timeout, aiohttp, electrumsv-sdk
  WARNING: The scripts easy_install-3.7.exe and easy_install.exe are installed in 'C:\Users\<current_user>\AppData\Roaming\Python\Python37\Scripts' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
    Running setup.py install for biscuits ... error
    ERROR: Command errored out with exit status 1:
     command: 'C:\Users\<current_user>\AppData\Local\Programs\Python\Python37\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\<current_user>\\AppData\\Local\\Temp\\pip-install-8pbsu0vb\\biscuits\\setup.py'"'"'; __file__='"'"'C:\\Users\\<current_user>\\AppData\\Local\\Temp\\pip-install-8pbsu0vb\\biscuits\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\<current_user>\AppData\Local\Temp\pip-record-ppysqiwb\install-record.txt' --single-version-externally-managed --user --prefix= --compile --install-headers 'C:\Users\<current_user>\AppData\Roaming\Python\Python37\Include\biscuits'
         cwd: C:\Users\<current_user>\AppData\Local\Temp\pip-install-8pbsu0vb\biscuits\
    Complete output (20 lines):
    running install
    running build
    running build_ext
    building 'biscuits' extension
    creating build
    creating build\temp.win-amd64-3.7
    creating build\temp.win-amd64-3.7\Release
    C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -IC:\Users\<current_user>\AppData\Local\Programs\Python\Python37\include -IC:\Users\<current_user>\AppData\Local\Programs\Python\Python37\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt" /Tcbiscuits.c /Fobuild\temp.win-amd64-3.7\Release\biscuits.obj -O3
    cl : Command line warning D9002 : ignoring unknown option '-O3'
    biscuits.c
    biscuits.c(1857): warning C4244: '=': conversion from 'Py_ssize_t' to 'unsigned int', possible loss of data
    biscuits.c(2733): warning C4244: '=': conversion from 'Py_ssize_t' to 'unsigned int', possible loss of data
    creating C:\Users\<current_user>\AppData\Local\Temp\pip-install-8pbsu0vb\biscuits\build\lib.win-amd64-3.7
    C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\link.exe /nologo /INCREMENTAL:NO /LTCG /DLL /MANIFEST:EMBED,ID=2 /MANIFESTUAC:NO /LIBPATH:C:\Users\<current_user>\AppData\Local\Programs\Python\Python37\libs /LIBPATH:C:\Users\<current_user>\AppData\Local\Programs\Python\Python37\PCbuild\amd64 "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\LIB\amd64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.18362.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.18362.0\um\x64" /EXPORT:PyInit_biscuits build\temp.win-amd64-3.7\Release\biscuits.obj /OUT:build\lib.win-amd64-3.7\biscuits.cp37-win_amd64.pyd /IMPLIB:build\temp.win-amd64-3.7\Release\biscuits.cp37-win_amd64.lib
    biscuits.obj : warning LNK4197: export 'PyInit_biscuits' specified multiple times; using first specification
       Creating library build\temp.win-amd64-3.7\Release\biscuits.cp37-win_amd64.lib and object build\temp.win-amd64-3.7\Release\biscuits.cp37-win_amd64.exp
    Generating code
    Finished generating code
    LINK : fatal error LNK1158: cannot run 'rc.exe'
    error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\x86_amd64\\link.exe' failed with exit status 1158
    ----------------------------------------
ERROR: Command errored out with exit status 1: 'C:\Users\<current_user>\AppData\Local\Programs\Python\Python37\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\<current_user>\\AppData\\Local\\Temp\\pip-install-8pbsu0vb\\biscuits\\setup.py'"'"'; __file__='"'"'C:\\Users\\<current_user>\\AppData\\Local\\Temp\\pip-install-8pbsu0vb\\biscuits\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\<current_user>\AppData\Local\Temp\pip-record-ppysqiwb\install-record.txt' --single-version-externally-managed --user --prefix= --compile --install-headers 'C:\Users\<current_user>\AppData\Roaming\Python\Python37\Include\biscuits' Check the logs for full command output.
@AustEcon
Copy link
Author

AustEcon commented Nov 4, 2020

I think it's something to do with this: https://stackoverflow.com/questions/42757497/python-installation-compilation-errors?noredirect=1&lq=1

And setting the vcars32.bat or vcars64.bat

Or this:
https://stackoverflow.com/questions/43847542/rc-exe-no-longer-found-in-vs-2015-command-prompt

But mostly sounds like these dependencies all need proper wheels to be built for distribution ref: pyrates/biscuits#6

@AustEcon
Copy link
Author

AustEcon commented Nov 5, 2020

I got it working. Needed to configure build tools correctly and add some things to path.

@AustEcon AustEcon closed this as completed Nov 5, 2020
@trollfot
Copy link
Owner

trollfot commented Nov 6, 2020

Thank you for investigating that. And glad you solved it. Let me know what you think of the project and if you have any idea to further develop it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants