[Django] 에러 해결법 : AttributeError: module 'os' has no attribute 'uname'
문제점
Windows10 Home 컴퓨터에서 장고(Django)앱을 실행하기 위해 아래 와 같은 명령어를 입력했으나, uwsgi를 설치하는 단계에서 에러가 발생했다.
입력한명령어
pip install -U -r requirements.txt
ERROR: Command errored out with exit status 1: command: 'c:\users\voomin\dropbox\totolingo_project\myvenv\scripts\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\voomin\\AppData\\Local\\Temp\\pip-install-r8lunrzu\\uWSGI\\setup.py'"'"'; __file__='"'"'C:\\Users\\voomin\\AppData\\Local\\Temp\\pip-install-r8lunrzu\\uWSGI\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base pip-egg-info cwd: C:\Users\voomin\AppData\Local\Temp\pip-install-r8lunrzu\uWSGI\ Complete output (7 lines): Traceback (most recent call last): File "", line 1, in File "C:\Users\voomin\AppData\Local\Temp\pip-install-r8lunrzu\uWSGI\setup.py", line 3, in import uwsgiconfig as uc File "C:\Users\voomin\AppData\Local\Temp\pip-install-r8lunrzu\uWSGI\uwsgiconfig.py", line 8, in uwsgi_os = os.uname()[0] AttributeError: module 'os' has no attribute 'uname' ---------------------------------------- ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
댓글
댓글 쓰기