안녕하세요
마푸입니다.
파이썬은 두가지 버전이 존재합니다.
물런, 파이썬 자체에는 수많은 버전이 존재하지만 문법이나 라이브러리를 공유하지 못하는 두가지 버전이 있다는 의미가 되겠습니다.
흔히 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
- Open the Settings/Preferences dialog box, and open the Project Interpreter page.
- 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가 저따위네요 ㅋ;;

반응형
'Programming > python' 카테고리의 다른 글
파이썬의 주요 기능에 대해서 알아보자 (0) | 2023.07.24 |
---|---|
python에 대해서 알아보자 (0) | 2023.07.24 |
python json 데이터 불러오기 (json.loads()) (0) | 2023.07.24 |
파이썬에서 json을 string으로 변경하는 방법 (0) | 2023.07.24 |
python json을 이쁘게 출력해보자 (pprint module) (0) | 2023.07.24 |