Notice
Recent Posts
Recent Comments
«   2025/07   »
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 31
Tags
more
Archives
Today
Total
관리 메뉴

1ofmath

Widnow10 64bit Eclipse + Python3 연동 본문

language/python

Widnow10 64bit Eclipse + Python3 연동

aofmath 2020. 3. 10. 09:38

Widnow10 64bit Eclipse + Python3 연동

 

원글 : https://badangel1004.tistory.com/5 

 

Window10 64bit  환경에서 설치 기준이다.

 

Eclipse 설치하기 전에 기본적으로 Java가 설치되어 있어야 한다.

java version 현재 12까지 나왔으니 아무 버전이나 설치해도 되지만 나는 9를 설치한다.

 

1. JDK 설치

 

https://www.oracle.com/technetwork/java/javase/downloads/java-archive-javase9-3934878.html

 

Accept License Agreement 채크 후 jdk-9.0.4_window-x64_bin.exe 다운로드 후 실행

 

 

1.next 클릭

 

2. 계속 next 클릭

 

3. 설치 진행 중

 

 

4. 다음 클릭

   

 

5. 설치완료

 

2. Python 설치

 

https://www.python.org/downloads/ 접속

 

 

 

1. windows-x86-64-executable installer 다운로드 후 실행

 

 

2. Add Python 3.7 to PATH 채크박스 선택 후 Custommize installation 선택 

  *  Install Now 하면 python 경로가 길어짐

   

 

 

 

3. next 클릭

 

4. Customize install location 경로를 편한대로 선택 후 Install

     나는 c:\Python37로 설정

 

 

 

5. 설치완료

 

 

  6. 테스트

   명령 프롬프트 경로 c:\Python37 경로 이동 후 python 실행 

   아래와 같이 print('aaa') 일력 후 Enter

    aaa가 출력되면 성공

 

 

 

3. eclipse 설치

https://www.eclipse.org/ 접속 Download 클릭

 

 

1. Download 클릭

 

 

 

3. 받은 파일 eclipse-inst-win64.exe 실행 

    Eclipse IDE For Java Developers 선택

 

 

4. Installation Folder 부부은 취향에 맞게 경로 설정  후 Install

   나는 c:\eclipse 경로로 설치

 

 

 

5. 채크 박스 선택 후 Accept Selected zmfflr

 

 

6.성공 후 실행 

 또는  C:\eclipse\eclipse\eclipse.exe 실행

 

 

7. Worksace 경로는 취향에 맞게 생성

 

 

8. eclipse 실행완료

 

 

 

3. eclipse python 플러그인 설치

 

1. eclipse > help > Eclipse Marketplace 클릭

 

 

2. Eclipse Marketplace 에서 python 검색 후 PyDev Install 클릭

 

 

3. confirm 클릭

 

 

4. 라이센스 동의 후 Finsh

 

 

 

5. Restart Now 클릭 이클립스 제 부팅

 

 

4 eclipse python 연동

 

1. 이클립스 > window > Preferences 클릭

 

 

2. PyDev > Interpreters > Python Interpreter 클릭 > Config First in PATH 클릭하면 자동으로 Python 경로를 잡아줌.

 

   잡히지 않으면 New With Python 클릭 후 경로 선택 하지만 왠만하면 잡히는것 같음..

 

 

 

3. eclipse python 프로젝트 생성

 

 

 

 

4. PyDev Project 생성

 

 

 

 

5. sample 프로젝트 생성 후 Finsh

 

 

6. sample.py 샘플 파일 생성

 

 

 

7. print("AAAA") 입력 후 실해여부 테스트

 

 

 

Comments