Another/라즈베리파이

[Raspberry Pi] Python2.7 pymssql 설치

Brad_Heo 2021. 11. 23. 13:34

python2.7 라이브러리 설치 시 기존 명령어 pip를 통해 설치해 보았으나

sudo pip install pymssql

에러가 나왔다...

-> Complete output from command /usr/bin/python -m pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-K_P2__ --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple --extra-index-url

아직까진 무슨 뜻인지 모르겠다..

그래서 apt-get 업데이트 이후

sudo apt-get update -y

apt-get 에서 설치하고 나니 잘 실행된다.

sudo apt-get install -y python-pymssql