Hi
I tried installing ipykernel on PyPy for Python 2 on a windows machine
with the command.
pypy -m pip install ipykernel
and I get the following error.
C:\Users\John\AppData\Local\Programs\Common\Microsoft\Visual C++ for
Python\9.0\VC\Bin\link.exe /DLL /nologo /INCREMENTAL:NO
/LIBPATH:C:\Users\John\pypy2-v5.9.0-win32\libs /EXPORT:init_scandir
build\temp.win32-2.7\Release\_scandir.obj
/OUT:build\lib.win32-2.7\_scandir.pypy-41.pyd
/IMPLIB:build\temp.win32-2.7\Release\_scandir.pypy-41.lib /MANIFEST
/MANIFESTFILE:build\temp.win32-2.7\Release\_scandir.pypy-41.pyd.manifest
Creating library build\temp.win32-2.7\Release\_scandir.pypy-41.lib
and object build\temp.win32-2.7\Release\_scandir.pypy-41.exp
_scandir.obj : error LNK2019: unresolved external symbol
_PyErr_SetExcFromWindowsErrWithFilenameObject referenced in function
_path_error
build\lib.win32-2.7\_scandir.pypy-41.pyd : fatal error LNK1120: 1
unresolved externals
error: command
'C:\\Users\\John\\AppData\\Local\\Programs\\Common\\Microsoft\\Visual C++
for Python\\9.0\\VC\\Bin\\link.exe' failed with exit status 1120
----------------------------------------
Command "C:\Users\John\pypy2-v5.9.0-win32\pypy.exe -u -c "import
setuptools,
tokenize;__file__='c:\\users\\john\\appdata\\local\\temp\\pip-build-xxehts\\scandir\\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\john\appdata\local\temp\pip-60jyok-record\install-record.txt
--single-version-externally-managed --compile" failed with error code 1 in
c:\users\john\appdata\local\temp\pip-build-xxehts\scandir\
Does anyone know what needs to be done to prevent this error from
happening? Is anyone able to perform this command on windows without
getting the error.
Thanks
John
--
You received this message because you are subscribed to the Google Groups
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jupyter/7359a4b2-37e9-4f29-8dc9-23bcb6459a27%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.