2015-01-12 3 views
0

Привет Я пытаюсь установить pycups на свой ПК с Windows 8. Но не знаю, как это сделать. Я получаю сообщение об ошибке:Pycups на Bitnami Odoo Stack

C:\Users\Manish>pip install pycups 
Collecting pycups 
    Using cached pycups-1.9.70.tar.bz2 
Installing collected packages: pycups 
    Running setup.py install for pycups 
    building 'cups' extension 
    C:\Users\Manish\AppData\Local\Programs\Common\Microsoft\Visual C++ for Pytho 
n\9.0\VC\Bin\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -DVERSION="1.9.70 
" -IC:\Python27\include -IC:\Python27\PC /Tccupsmodule.c /Fobuild\temp.win-amd64 
-2.7\Release\cupsmodule.obj 
    cupsmodule.c 
    cupsmodule.c(23) : fatal error C1083: Cannot open include file: 'cups/cups.h 
': No such file or directory 
    error: command '"C:\Users\Manish\AppData\Local\Programs\Common\Microsoft\Vis 
ual C++ for Python\9.0\VC\Bin\amd64\cl.exe"' failed with exit status 2 
    Complete output from command C:\Python27\python.exe -c "import setuptools, t 
okenize;__file__='c:\\users\\manish\\appdata\\local\\temp\\pip-build-zkldnw\\pyc 
ups\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().rep 
lace('\r\n', '\n'), __file__, 'exec'))" install --record c:\users\manish\appdata 
\local\temp\pip-rcpejp-record\install-record.txt --single-version-externally-man 
aged --compile: 
running install 

running build 

running build_ext 

building 'cups' extension 

creating build 

creating build\temp.win-amd64-2.7 

creating build\temp.win-amd64-2.7\Release 

    C:\Users\Manish\AppData\Local\Programs\Common\Microsoft\Visual C++ for Pytho 
n\9.0\VC\Bin\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -DVERSION="1.9.70 
" -IC:\Python27\include -IC:\Python27\PC /Tccupsmodule.c /Fobuild\temp.win-amd64 
-2.7\Release\cupsmodule.obj 

    cupsmodule.c 

    cupsmodule.c(23) : fatal error C1083: Cannot open include file: 'cups/cups.h 
': No such file or directory 

    error: command '"C:\Users\Manish\AppData\Local\Programs\Common\Microsoft\Vis 
ual C++ for Python\9.0\VC\Bin\amd64\cl.exe"' failed with exit status 2 

---------------------------------------- 
    Command "C:\Python27\python.exe -c "import setuptools, tokenize;__file__='c: 
\\users\\manish\\appdata\\local\\temp\\pip-build-zkldnw\\pycups\\setup.py';exec(
compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), 
__file__, 'exec'))" install --record c:\users\manish\appdata\local\temp\pip-rcpe 
jp-record\install-record.txt --single-version-externally-managed --compile" fail 
ed with error code 1 in c:\users\manish\appdata\local\temp\pip-build-zkldnw\pycu 
ps 

Пожалуйста, помогите

Я также попытался Bitnami Odoo v8 Stack. Но такая же проблема, как я не знаю, как добавить модуль pycups. У Битнами есть своя среда. Thanks

+0

Я думаю, что вы пытаетесь извлечь .bz2 в Windows-машину! по моим знаниям, что невозможно! – BomberMan

+0

скачать windows совместимый пакет, а затем попытаться установить – BomberMan

ответ

2

Refer pycups Документация.

Поскольку на данный момент нет доступного пакета для Windows, вы не можете запускать машину Windows. Попробуйте в Mac OS или в любой среде * NIX. Вы не можете устанавливать пакеты Linux в Windows!

+0

благодарит за информацию –

Смежные вопросы