-
[django] channels 설치시 에러Backend/django 2019. 10. 29. 16:14
$ pip install channels
에러 내용:
... /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/sys/resource.h:214:2: error: unknown type name 'uint64_t' uint64_t ri_interrupt_wkups; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. error: command 'gcc' failed with exit status 1 ---------------------------------------- ERROR: Command errored out with exit status 1: /Users/jeenhyung-mac/develop/python/nexys_chat_server/venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/sx/6pxx3gnx2n7_wfsrj_dw1qc00000gn/T/pip-install-7eematlm/twisted/setup.py'"'"'; __file__='"'"'/private/var/folders/sx/6pxx3gnx2n7_wfsrj_dw1qc00000gn/T/pip-install-7eematlm/twisted/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/sx/6pxx3gnx2n7_wfsrj_dw1qc00000gn/T/pip-record-od7nb__w/install-record.txt --single-version-externally-managed --compile --install-headers /Users/jeenhyung-mac/develop/python/nexys_chat_server/venv/include/site/python3.7/twisted Check the logs for full command output.
$ sudo mv /usr/local/include/ /usr/local/include_old
성공!