티스토리 뷰
ONOS를 설치하던 중
https://github.com/bazelbuild/bazel/issues/7899
incompatible_use_python_toolchains: The Python runtime is obtained from a toolchain rather than a flag · Issue #7899 · bazelbu
Flag: --incompatible_use_python_toolchains Available since: 0.25 Will be flipped in: 0.27 Feature tracking issue: #7375 FAQ (common problems) I'm getting Python 2 vs 3 errors This flag fixes #4815 ...
github.com
다음과 같은 이슈가 발생하였다.
이는 파이썬 2가 설치되지 않아 발생했던 오류여서 아래와 같은 과정을 통해 해결하였다.
# 파이썬 2를 설치하는 명령어
sudo apt update
sudo apt install python2
# 파이썬 2와 3을 구분하기 위함
sudo update-alternatives --install /usr/bin/python python /usr/bin/python2 1
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 2
# 파이썬 버전을 변경하는 명령어
sudo update-alternatives --config python
파이썬 2와 3이 동시에 설치되어있을 때 버전을 바꾸는 명령어이다.
There are 2 choices for the alternative python (providing /usr/bin/python).
Selection Path Priority Status
------------------------------------------------------------
* 0 /usr/bin/python3 2 auto mode
1 /usr/bin/python2 1 manual mode
2 /usr/bin/python3 2 manual mode
Press <enter> to keep the current choice[*], or type selection number:
본래 파이썬 버전이 python3이었을 때, 이를 python2로 바꾸고 싶다면 1을 누르면 된다.
ONOS를 설치하는 과정은 아래 블로그 글을 참고하였다.
https://leeye51456.tistory.com/4
Ubuntu에서 ONOS 빌드하고 실행하기
여기서는 Ubuntu에서 ONOS를 빌드하고 실행하는 방법을 다룬다. ONOS 빌드 Dependency 설치 ONOS는 버전에 따라 빌드 도구가 다르다. onos-build로 빌드하면, 1.7까지는 Maven, 1.8부터 1.13까지는 Buck, 1.14부터는
leeye51456.tistory.com
번외

'개발' 카테고리의 다른 글
[ Oracle Cloud | Web ] IP에 도메인 등록 (0) | 2024.07.16 |
---|---|
[ Oracle Cloud ] MySQL 서버 세팅 (0) | 2024.07.13 |
[Web] Thymeleaf (0) | 2024.07.03 |
[Markup] CDATA 관련 (0) | 2024.07.03 |
[Web] JSP vs Servlet (0) | 2024.07.02 |
- Total
- Today
- Yesterday
- 비교표현식
- 22944
- 구간 나누기
- 3대요소
- 2228
- Python
- 죽음의 비
- Four Squares
- BOJ
- onos
- 13397
- 뷰탬플릿
- 말이 되고픈 원숭이
- 파이썬
- 16918
- 끝나지 않는 파티
- ubuntu
- 특정 거리의 도시 찾기
- 백준
- 11265
- 18352
- 라그랑주 네 제곱수 정리
- 내 아이피.한국
- mysql 유저 생성
- db 외부 접속
- 구간나누기2
- 5557
- 19637
- 17626
- 5547
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |