본문 바로가기

Programming/python

[python] pycharm에서 python version 변경하기

안녕하세요 

마푸입니다. 

 

파이썬은 두가지 버전이 존재합니다. 

물런, 파이썬 자체에는 수많은 버전이 존재하지만 문법이나 라이브러리를 공유하지 못하는 두가지 버전이 있다는 의미가 되겠습니다. 

 

흔히 2.x와 3.x로 구분하는데요. 

문법이 약간씩 다릅니다. 

 

저는 2x로 시작했기때문에 해당 버전이 편한데요 

 

슬슬 3 버전의 압박에 못이겨 새로운 버전을 설치했는데 IDE인 Pycharm은 기존으 2번전을 사용하고 있습니다. 

이걸 수동으로 변경해야하는데요 

 

방법은 아래와 같습니다. 

 

Configuring the list of available interpreters

To configure the list of available interpreters, follow these general steps

  1. Open the Settings/Preferences dialog box, and open the Project Interpreter page.
  2. In the list of interpreter types, choose the desired option: Choose More to open the Project Interpreters dialog box, where it is possible to configure the list of the Python interpreters, available on your computer.

영어로보니 어렵네요 ;;; 

쉽게 이미지로 보시면 아래와 같습니다. 

 

File > Setting으로 진입하셔서 아래와 같이 변경하세요 

 

 

기본폴더에 설치하니 Path가 저따위네요 ㅋ;;

 

반응형