Python IDLE

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

자동매매 2022. 2. 19. 17:03

설치 방법

파일 다운로드하여 설치

: 패키지를 다운로드한 최상위 디렉터리로 이동하여 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