위지원의 데이터 일기 🐈
Home
  • 분류 전체보기 (564)
    • ✎ 2025년 (5)
    • 2024년 (16)
    • 2023년 (6)
    • 2022년 (35)
      • Developement (22)
      • Error (9)
    • 2021년 (68)
      • ERROR (9)
      • 알고리즘 (11)
      • 개발공부 (21)
      • Data (15)
      • 21.下 (12)
    • 2020년 (164)
      • 코테 (84)
      • Development (29)
      • 정처기 (41)
    • 2019년 (27)
    • 2018년 (89)
      • English Speaking (8)
      • Error (12)
      • C, Java, FileSystem (13)
      • DataBase (15)
      • Java (2)
      • 지식 (16)
      • Go (3)
      • spark (9)
      • 영어 (5)
      • 알고리즘 (6)
    • 2017년 (143)
      • Error (17)
      • machine learning (16)
      • Spark (20)
      • Database (19)
      • Python (17)
      • Spring (9)
      • etc. (10)
      • 백준 (5)
      • Google Platform (12)
      • web Development (7)
      • Docker (3)
      • Linux (8)
Home
  • 분류 전체보기 (564)
    • ✎ 2025년 (5)
    • 2024년 (16)
    • 2023년 (6)
    • 2022년 (35)
      • Developement (22)
      • Error (9)
    • 2021년 (68)
      • ERROR (9)
      • 알고리즘 (11)
      • 개발공부 (21)
      • Data (15)
      • 21.下 (12)
    • 2020년 (164)
      • 코테 (84)
      • Development (29)
      • 정처기 (41)
    • 2019년 (27)
    • 2018년 (89)
      • English Speaking (8)
      • Error (12)
      • C, Java, FileSystem (13)
      • DataBase (15)
      • Java (2)
      • 지식 (16)
      • Go (3)
      • spark (9)
      • 영어 (5)
      • 알고리즘 (6)
    • 2017년 (143)
      • Error (17)
      • machine learning (16)
      • Spark (20)
      • Database (19)
      • Python (17)
      • Spring (9)
      • etc. (10)
      • 백준 (5)
      • Google Platform (12)
      • web Development (7)
      • Docker (3)
      • Linux (8)
블로그 내 검색
포트폴리오

위지원의 데이터 일기 🐈

데이터를 사랑하고 궁금해하는 기록쟁이입니다! 😉 Super Data Girl이 되는 그날까지🏃‍♀️ 화이팅!

  • 🖥 깃블로그
  • 🌍 위키원
  • 📑 내맘대로 스크랩
  • 💌 메일
  • 2019년

    python3 설치

    2019. 2. 19. 19:59

    by. 위지원

    https://www.python.org/downloads/ 에서 경로를 얻어온다.


    원하는 버전을 클릭하면 아래쪽에 Files가 있는데 이중에서

    난 XZ com...[생략]을 받았다.




    압축을 풀어준뒤 해당 파일로 이동한다.


    [root@node2 python3]# wget https://www.python.org/ftp/python/3.6.8/Python-3.6.8.tar.xz
    --2019-02-19 19:51:43--  https://www.python.org/ftp/python/3.6.8/Python-3.6.8.tar.xz
    Resolving www.python.org... 151.101.228.223, 2a04:4e42:15::223
    Connecting to www.python.org|151.101.228.223|:443... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 17212420 (16M) [application/octet-stream]
    Saving to: “Python-3.6.8.tar.xz”

    100%[===============================================================================================================>] 17,212,420  7.95M/s   in 2.1s   

    2019-02-19 19:51:45 (7.95 MB/s) - “Python-3.6.8.tar.xz” saved [17212420/17212420]

    [root@node2 python3]# ls
    Python-3.6.8.tar.xz
    [root@node2 python3]# tar xf Python-3.6.8.tar.xz
    [root@node2 python3]# ls
    Python-3.6.8  Python-3.6.8.tar.xz


    해당 파일로 이동하면 configure이 있다. 실행해주자.

    *./configure --prefix=/usr/local/python2.7 --enable-shared 로 설치해야한다고 한다. 

    링크 참조 : https://www.lesstif.com/pages/viewpage.action?pageId=30705072



    [root@node2 Python-3.6.8]# ls
    aclocal.m4    config.sub  configure.ac  Grammar  install-sh  LICENSE  Makefile.pre.in  Modules  Parser  PCbuild   pyconfig.h.in  README.rst  Tools
    config.guess  configure   Doc           Include  Lib         Mac      Misc             Objects  PC      Programs  Python         setup.py
    [root@node2 Python-3.6.8]# ./configure


    담에 make와 make install을 해주자!


    [root@node2 Python-3.6.8]# make && make install


    끝!


    [root@node2 ~]# python3
    Python 3.6.8 (default, Feb 19 2019, 19:55:31)
    [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)] on linux
    Type "help", "copyright", "credits" or "license" for more information.
    >>>


    저작자표시 (새창열림)

    '2019년' 카테고리의 다른 글

    설치 메모  (1) 2019.02.19
    curl을 이용한 pip 설치  (0) 2019.02.19
    Error: Cannot retrieve repository metadata (repomd.xml) for repository: c6-media. Please verify its path and try again  (0) 2019.02.19
    Exception in thread "main" org.apache.spark.SparkException: Task not serializable  (0) 2019.01.23
    Spark submit 메모리 오류  (1) 2019.01.23

    잠깐만요~! 읽으신김에 이런 글들은 어떠세요? 👀

    • 설치 메모 2019.02.19
    • curl을 이용한 pip 설치 2019.02.19
    • Error: Cannot retrieve repository metadata (repomd.xml) for repository: c6-media. Please verify its path and try again 2019.02.19
    • Exception in thread "main" org.apache.spark.SparkException: Task not serializable 2019.01.23
    맨 위로
전체 글 보기
Tistory 로그인
Tistory 로그아웃
로그아웃 글쓰기 관리

열정! 열정! 열정! 🔥

Designed by Nana
블로그 이미지
위지원
데이터와 관련된 일을 모두 좋아합니다

티스토리툴바

티스토리툴바