#버전 확인
python -V
#경로 확인
which python
#실행파일 찾기
ls /usr/bin/ | grep python
#선택 추가
sudo update-alternatives --install /usr/bin/python python /usr/bin/python2.7 1
선택
sudo update-alternatives --config python
'Python' 카테고리의 다른 글
python - TypeError: 'dict' object is not callable 해결법 (0) | 2020.11.13 |
---|---|
python - from PIL import Image Error 에러 해결법 (1) | 2020.11.13 |
python3- ubuntu에 apache2와 Flask 연동하기 (2) | 2020.11.11 |
python - Flask (0) | 2020.11.01 |
python - Flask를 이용한 API 만들기 (feat.naverAPI) (0) | 2020.11.01 |