ETC

Ubuntu16.04 python3.6 설치 (에러 해결)

pyozzi 2020. 4. 4. 04:13
sudo add-apt-repository ppa:jonathonf/python-3.6
sudo apt update
sudo apt install python3.6

보통 위 명령어를 사용하면 된다고들 한다.

근데 나는 아래처럼 apt-repository 403 Error가 발생한다.

 

W: The repository 'http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu xenial Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu/dists/xenial/main/binary-amd64/Packages  403  Forbidden [IP: 91.189.95.83 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.

나처럼 에러가 발생하는 사람은 아래 apt-repository를 사용하면 된다.

 

sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt update
sudo apt install python3.6