본문 바로가기
Python IDLE

python 패키지 설치 _ setup.py 이용

by 자동매매 2022. 2. 19.

설치 방법

파일 다운로드하여 설치

: 패키지를 다운로드한 최상위 디렉터리로 이동하여 install 명령을 실행한다.

 

파일 다운로드 

    pypi, git에서 다운로드

setup.py 상위 디렉터리로 이동

명령 실행

    python setup.py install

 

-----------------------------------------------------------------------------------------------------

git-hub를 이용한 설치

[ 방법1 ] 명령 프롬프트에서 : python -m pip install git+주소

python -m pip install git+https://github.com/pydata/pandas-datareader.git

 

[ 방법2 ] Git Bash에서 

git clone https://github.com/pydata/pandas-datareader.git
cd pandas-datareader
python setup.py install

 

 

 

'Python IDLE' 카테고리의 다른 글

파이썬 메직 메서드  (0) 2023.03.30
Jupyter notebook  (0) 2022.04.02
requirements.txt로 패키지 관리하기  (0) 2022.03.13
가상환경 만들기  (0) 2022.03.13

댓글