커뮤니티
포인트
쿠폰
내 강의실
국비 신청 내역
증명서
계정
로그아웃
학습 질문
개발 일지
나의 활동
답변 완료
git bash 복습으로 두번째 하는건데 오류가 납니다 ㅠㅠ
undefined주차
북마크
정*원
댓글
3
추천
0
조회수
15
조회수
15
답변 완료

* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.

* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.



# python3 -> python

sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 10


# pip3 -> pip

sudo apt-get update

sudo apt-get install -y python3-pip

sudo update-alternatives --install /usr/bin/pip pip /usr/bin/pip3 1

여기까지 입력한 상태입니다.





작성한 코드 및 에러 메세지


LG@USER MINGW64 ~

$ ssh -i /c/Users/LG/Desktop/jeongwoni_key.pem ubuntu@43.201.28.2

Welcome to Ubuntu 22.04.1 LTS (GNU/Linux 5.15.0-1019-aws x86_64)


 * Documentation: https://help.ubuntu.com

 * Management:   https://landscape.canonical.com

 * Support:    https://ubuntu.com/advantage


 System information as of Fri Nov 4 11:25:18 UTC 2022


 System load: 0.00341796875   Processes:       102

 Usage of /:  26.2% of 7.57GB  Users logged in:    0

 Memory usage: 25%        IPv4 address for eth0: 172.31.47.251

 Swap usage:  0%



67 updates can be applied immediately.

44 of these updates are standard security updates.

To see these additional updates run: apt list --upgradable



Last login: Fri Nov 4 10:58:13 2022 from 110.35.22.56

ubuntu@ip-172-31-47-251:~$ sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 10

ubuntu@ip-172-31-47-251:~$ sudo apt-get update

Hit:1 http://ap-northeast-2.ec2.archive.ubuntu.com/ubuntu jammy InRelease

Hit:2 http://ap-northeast-2.ec2.archive.ubuntu.com/ubuntu jammy-updates InRelease

Hit:3 http://ap-northeast-2.ec2.archive.ubuntu.com/ubuntu jammy-backports InRelease

Hit:4 http://security.ubuntu.com/ubuntu jammy-security InRelease

Reading package lists... Done

ubuntu@ip-172-31-47-251:~$ sudo apt-get install -y python3-pip

Reading package lists... Done

Building dependency tree... Done

Reading state information... Done

python3-pip is already the newest version (22.0.2+dfsg-1).

0 upgraded, 0 newly installed, 0 to remove and 64 not upgraded.

ubuntu@ip-172-31-47-251:~$ sudo update-alternatives --install /usr/bin/pip pip /usr/bin/pip3 1

update-alternatives: warning: forcing reinstallation of alternative /usr/bin/pip3 because link group pip is broken

update-alternatives: warning: not replacing /usr/bin/pip with a link



취소
 공유
취소
댓글 0
댓글 알림
나의얼굴