I'm trying to install Pysqlite on a Windows 10 machine with Python 2.7 via pip using:
pip install pysqlite
running build_ext
building 'pysqlite2._sqlite' extension
creating build\temp.win32-2.7
creating build\temp.win32-2.7\Release
creating build\temp.win32-2.7\Release\src
C:\Users\User\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\cl.exe /c /nologo /Ox MD /W3 /GS - /DNDEBUG -DMODULE_N AME=\"pysqlite2.dbapi2\" -I'{' -Inão -Ié -Ireconhecido -Icomo -Ium -Icomando -Iinterno -Iou -Iexterno, -Ium Iprograma -Ioperável -Iou -Ium -Iarquivo -Iem -Ilotes. -IC:\Python2.7\include -IC:\Python27\PC /Tcsrc/module.c /Fobuild\temp.win32-2.7\Release\src/module.obj
module.c
c:\users\user\appdata\local\temp\pip_build_user\pysqlite\src\connection.h(33) : fatal error C1083: Cannot open include file: 'sqlite3.h': No such file or directory
erro: command 'C:\\Users\User\\AppData\\Localal\\Programs\\Common\\Microsoft\\Visual C++ for Python\\9.0\\VC\\Bin\\cl.exe' failed with exit sattus 2
-------------------------------------------------------
Cleaning up...
Command C:\Python27\python.exe -c "..." install --record c:\users\user\appdata\local\temp\pip-yqe9ki-record\install-record.txt --single-version-externally-managed --compile failed with error code 1 in c:\users\user\appdata\local \temp \pip_build_user\pysqlite
Traceback (most recent call last):
File "C\Python27\Scripts\pip-script.py", line 9, in <module>
load_entry_point('pip==1.5.7-xy.1', 'console_scripts', 'pip') ()
File "C\Python27\lib\site-packages\pip\__init__.py", line 185, in main
return command.main(cmd_args)
File "C\Python27\lib\site-packages\pip\basecommand.py", line 161, in main
text = '\n'.join(complete_log)
And I keep getting the following error:
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc6 in position 182: ordinal not in range (128)
Any ideas what's happening?
Best regards,
Aucun commentaire:
Enregistrer un commentaire