when i try to install pyjnius using pip install, i was received the error as follows:
Requirement already satisfied: six>=1.7.0 in c:\users\zhangsha\appdata\local\programs\python\python35\lib\site-packages (from jnius==1.1.dev0)
Requirement already satisfied: cython in c:\users\zhangsha\appdata\local\programs\python\python35\lib\site-packages (from jnius==1.1.dev0)
Installing collected packages: jnius
Running setup.py install for jnius: started
Running setup.py install for jnius: finished with status 'error'
Complete output from command c:\users\zhangsha\appdata\local\programs\python\python35\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\zhangsha\\AppData\\Local\\Temp\\pip-08w43wye-build\\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\zhangsha\AppData\Local\Temp\pip-__6kh1a9-record\install-record.txt --single-version-externally-managed --compile:
WARNING: Not able to assign machine() = AMD64 to a cpu value!
Using cpu = 'i386' instead!
c:\users\zhangsha\appdata\local\programs\python\python35\lib\site-packages\setuptools\dist.py:285: UserWarning: Normalizing '1.1-dev' to '1.1.dev0'
normalized_version,
running install
running build
running build_py
creating build
creating build\lib.win-amd64-3.5
copying jnius_config.py -> build\lib.win-amd64-3.5
creating build\lib.win-amd64-3.5\jnius
copying jnius\reflect.py -> build\lib.win-amd64-3.5\jnius
copying jnius\signatures.py -> build\lib.win-amd64-3.5\jnius
copying jnius\__init__.py -> build\lib.win-amd64-3.5\jnius
running build_ext
cythoning jnius\jnius.pyx to jnius\jnius.c
building 'jnius' extension
creating build\temp.win-amd64-3.5
creating build\temp.win-amd64-3.5\Release
creating build\temp.win-amd64-3.5\Release\jnius
cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD "-IC:\Program Files\Java\jdk1.8.0_112\include" "-IC:\Program Files\Java\jdk1.8.0_112\include\win32" -Ic:\users\zhangsha\appdata\local\programs\python\python35\include -Ic:\users\zhangsha\appdata\local\programs\python\python35\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" /Tcjnius\jnius.c /Fobuild\temp.win-amd64-3.5\Release\jnius\jnius.obj
error: command 'cl.exe' failed: No such file or directory
----------------------------------------
Command "c:\users\zhangsha\appdata\local\programs\python\python35\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\zhangsha\\AppData\\Local\\Temp\\pip-08w43wye-build\\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\zhangsha\AppData\Local\Temp\pip-__6kh1a9-record\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\zhangsha\AppData\Local\Temp\pip-08w43wye-build\
in addition, i often using the python 3.5 (64 bit) and V C++ 2015 (64 BIT).