Django 필기 해결 vcvarsall을 찾을 수 없습니다.bat의 오류
5106 단어 공부 노트
Installing collected packages: rcssmin, rjsmin, django-compressor, sqlparse, django-debug-toolbar, django-ipware, libsas
s, django-libsass, django-suit, django-dynamic-preferences
Running setup.py install for rcssmin ... error
Complete output from command c:\users\czlee\git\tabbycat\venv\scripts\python.exe -u -c "import setuptools, tokenize;
__file__='C:\\Users\\czlee\\AppData\\Local\\Temp\\pip-build-idha5rwu\\rcssmin\\setup.py';exec(compile(getattr(tokenize,
'open', open)(__file__).read().replace('\r
', '
'), __file__, 'exec'))" install --record C:\Users\czlee\AppData\Local\
Temp\pip-ev6w6zrs-record\install-record.txt --single-version-externally-managed --compile --install-headers c:\users\czl
ee\git\tabbycat\venv\include\site\python3.4\rcssmin:
running install
running build
running build_py
creating build
creating build\lib.win-amd64-3.4
copying .\rcssmin.py -> build\lib.win-amd64-3.4
running build_ext
building '_rcssmin' extension
error: Microsoft Visual C++ 10.0 is required (Unable to find vcvarsall.bat).
----------------------------------------
Command "c:\users\czlee\git\tabbycat\venv\scripts\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\czl
ee\\AppData\\Local\\Temp\\pip-build-idha5rwu\\rcssmin\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).
read().replace('\r
', '
'), __file__, 'exec'))" install --record C:\Users\czlee\AppData\Local\Temp\pip-ev6w6zrs-record
\install-record.txt --single-version-externally-managed --compile --install-headers c:\users\czlee\git\tabbycat\venv\inc
lude\site\python3.4\rcssmin" failed with error code 1 in C:\Users\czlee\AppData\Local\Temp\pip-build-idha5rwu\rcssmin
해결책
pip install wheel
pip install rcssmin --install-option="--without-c-extensions"
pip install rjsmin --install-option="--without-c-extensions"
참고 자료https://github.com/czlee/tabbycat/issues/265
이 내용에 흥미가 있습니까?
현재 기사가 여러분의 문제를 해결하지 못하는 경우 AI 엔진은 머신러닝 분석(스마트 모델이 방금 만들어져 부정확한 경우가 있을 수 있음)을 통해 가장 유사한 기사를 추천합니다:
golang은 반사를 이용하여 구조체 변수의 값을 설정합니다struct 변수field를 동적으로 설정해야 할 경우reflect를 사용하여 완성할 수 있습니다.코드는 다음과 같습니다. 사실상 원시값도 마찬가지다. 바늘을 이용해야 한다. 왜냐하면 골뱅이는 기본적으로 전가이기 때...
텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
CC BY-SA 2.5, CC BY-SA 3.0 및 CC BY-SA 4.0에 따라 라이센스가 부여됩니다.