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

Fixed CI build failure due to Python setup #3811

Merged
merged 1 commit into from
Dec 26, 2023
Merged

Fixed CI build failure due to Python setup #3811

merged 1 commit into from
Dec 26, 2023

Conversation

sauwming
Copy link
Member

@sauwming sauwming commented Dec 26, 2023

To fix the following error:

Run cd pjsip-apps/src/swig && make
/Applications/Xcode_14.2.app/Contents/Developer/usr/bin/make  --no-print-directory -C python 
swig -I../../../../pjlib/include -I../../../../pjlib-util/include -I../../../../pjmedia/include -I../../../../pjsip/include -I../../../../pjnath/include -c++  -w312 -threads -DSWIG_NO_EXPORT_ITERATOR_METHODS -python -o pjsua2_wrap.cpp ../pjsua2.i
python3 setup.py build 
Traceback (most recent call last):
  File "/Users/runner/work/pjproject/pjproject/pjsip-apps/src/swig/python/setup.py", line 20, in <module>
    from distutils.core import setup, Extension
ModuleNotFoundError: No module named 'distutils'
make[1]: *** [_pjsua2.so] Error 1
make: *** [python] Error 2
Error: Process completed with exit code 2.

@sauwming sauwming self-assigned this Dec 26, 2023
@sauwming sauwming added this to the release-2.15 milestone Dec 26, 2023
@sauwming sauwming merged commit 5601a20 into master Dec 26, 2023
30 of 35 checks passed
@sauwming sauwming deleted the CI-mac-python branch December 26, 2023 06:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants