Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fix] Fix CI failed caused by 'Python.h' not found #2530

Merged
merged 8 commits into from
Jan 8, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,10 @@ jobs:
# pstuil is an optional package to detect the number of CPU for compiling mmcv
- name: Install psutil
run: python -m pip install psutil
# the directory for header files for the Python C-API could be wrong since setuptools>=65.2.0
- name: Install specified version for setuptools when python==3.10
run: python -m pip install 'setuptools<=65.1.0'
if: ${{matrix.python-version == '3.10'}}
- name: Build and install
run: rm -rf .eggs && python -m pip install -e .
- name: Validate the installation
Expand Down Expand Up @@ -332,6 +336,10 @@ jobs:
# pstuil is an optional package to detect the number of CPU for compiling mmcv
- name: Install psutil
run: python -m pip install psutil
# the directory for header files for the Python C-API could be wrong since setuptools>=65.2.0
- name: Install specified version for setuptools when python==3.10
run: python -m pip install 'setuptools<=65.1.0'
if: ${{matrix.python-version == '3.10'}}
- name: Build and install
run: rm -rf .eggs && python -m pip install -e .
- name: Validate the installation
Expand Down