Fix: 시놀로지 CI 러너의 pip 부재 오류 해결 및 --user 영역 설치 구성
This commit is contained in:
+10
-3
@@ -25,9 +25,16 @@ jobs:
|
|||||||
|
|
||||||
- name: Install Python Dependencies
|
- name: Install Python Dependencies
|
||||||
run: |
|
run: |
|
||||||
python3 -m pip install --upgrade pip --quiet
|
if ! python3 -m pip --version >/dev/null 2>&1; then
|
||||||
if [ -f requirements.txt ]; then pip3 install -r requirements.txt --quiet; fi
|
curl -sS https://bootstrap.pypa.io/get-pip.py -o get-pip.py
|
||||||
pip3 install yfinance pandas pyyaml openpyxl --quiet
|
python3 get-pip.py --user --quiet
|
||||||
|
rm get-pip.py
|
||||||
|
fi
|
||||||
|
export PATH=$HOME/.local/bin:$PATH
|
||||||
|
python3 -m pip install --upgrade pip --user --quiet
|
||||||
|
if [ -f requirements.txt ]; then python3 -m pip install -r requirements.txt --user --quiet; fi
|
||||||
|
python3 -m pip install yfinance pandas pyyaml openpyxl --user --quiet
|
||||||
|
echo "$HOME/.local/bin" >> $GITHUB_PATH
|
||||||
|
|
||||||
- name: Install Node Dependencies
|
- name: Install Node Dependencies
|
||||||
run: npm install --quiet
|
run: npm install --quiet
|
||||||
|
|||||||
Reference in New Issue
Block a user