Django Application winkerberos build error
faiqjamal
TRIALOP
2 years ago
I am trying to to deploy my django application but I a getting the following error on building winkerberos. How do I solve this issue. Thanks
building 'winkerberos' extension
8 56.54 creating build
8 56.54 creating build/temp.linux-x86_64-cpython-39
8 56.54 creating build/temp.linux-x86_64-cpython-39/src
8 56.54 gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/usr/local/include/python3.9 -c src/kerberossspi.c -o build/temp.linux-x8664-cpython-39/src/kerberos_sspi.o
8 56.54 In file included from src/kerberos_sspi.c:17:
8 56.54 src/kerberos_sspi.h:21:10: fatal error: Windows.h: No such file or directory
8 56.54 21 | #include
8 56.54 | ^~~
8 56.54 compilation terminated.
8 56.54 error: command '/usr/bin/gcc' failed with exit code 1
8 56.54 [end of output]
8 56.54
8 56.54 note: This error originates from a subprocess, and is likely not a problem with pip.
8 56.54 ERROR: Failed building wheel for winkerberos
> ⓘ Deployment information is only viewable by Project members and Railway admins.
1 Replies
2 years ago
You can't use windows specific libraries on Railway, your code runs in a Linux environment.