Skip to content

Commit 479ae70

Browse files
committed
python-ci cython fix
1 parent 154ca6c commit 479ae70

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/python-ci.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,12 @@ jobs:
3737
sudo apt install -yqq libgdal-dev gdal-bin python3-pip git python3-opencv
3838
export CPLUS_INCLUDE_PATH=/usr/include/gdal
3939
export C_INCLUDE_PATH=/usr/include/gdal
40-
pip3 install wheel cython
41-
pip3 install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cpu \
40+
python -m pip install --upgrade pip wheel cython
41+
python -m pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cpu \
4242
opencv-python wandb sphinx
43-
pip3 install 'git+https://github.com/philferriere/cocoapi.git#subdirectory=PythonAPI'
44-
pip3 install --no-build-isolation 'git+https://github.com/facebookresearch/detectron2.git'
43+
python -m pip install cython
44+
python -m pip install 'git+https://github.com/philferriere/cocoapi.git#subdirectory=PythonAPI'
45+
python -m pip install --no-build-isolation 'git+https://github.com/facebookresearch/detectron2.git'
4546
- name: Show GDAL version installed via apt
4647
run: |
4748
gdalinfo --version

0 commit comments

Comments
 (0)