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

I'm trying to install pycups on mac os using the treminal, but I'm getting “building wheel for pycups (setup.py) … error” #28

Closed
VSuhas95 opened this issue Jan 21, 2021 · 1 comment

Comments

@VSuhas95
Copy link

VSuhas95 commented Jan 21, 2021

$pip install pycups
Collecting pycups
Using cached pycups-2.0.1.tar.gz (62 kB)
Building wheels for collected packages: pycups
Building wheel for pycups (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-
install-_itolwzg/pycups_229a8ad4200041038747d41d5862ab4c/setup.py'"'"'; file='"'"'/tmp/pip-
install-_itolwzg/pycups_229a8ad4200041038747d41d5862ab4c/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 /tmp/pip-wheel-
29ml6iuu
cwd: /tmp/pip-install-_itolwzg/pycups_229a8ad4200041038747d41d5862ab4c/
Complete output (165 lines):
running bdist_wheel
running build
running build_ext
building 'cups' extension
creating build
creating build/temp.linux-x86_64-3.6
gcc -pthread -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DVERSION="2.0.1" -
I/usr/local/include/python3.6m -c cupsmodule.c -o build/temp.linux-x86_64-3.6/cupsmodule.o
cupsmodule.c: In function 'cups_enumDests':
cupsmodule.c:422: warning: implicit declaration of function 'cupsEnumDests'
cupsmodule.c: In function 'cups_connectDest':
cupsmodule.c:501: warning: implicit declaration of function 'cupsConnectDest'
cupsmodule.c:508: warning: assignment makes pointer from integer without a cast
cupsmodule.c: In function 'PyInit_cups':
cupsmodule.c:919: error: 'HTTP_STATUS_ERROR' undeclared (first use in this function)
cupsmodule.c:919: error: (Each undeclared identifier is reported only once
cupsmodule.c:919: error: for each function it appears in.)
.....
....
.....
error: command 'gcc' failed with exit status 1
----------------------------------------
ERROR: Failed building wheel for pycups
Running setup.py clean for pycups
Failed to build pycups

@djhoese
Copy link
Member

djhoese commented Jan 21, 2021

I think you might have the wrong github repository. This is for the python-geotiepoints package and it doesn't seem like that's what you're using. I'll close this for now, but feel free to comment if I'm misunderstanding something.

@djhoese djhoese closed this as completed Jan 21, 2021
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