Skip to content

Instantly share code, notes, and snippets.

@f-asa
Created June 20, 2024 22:18
Show Gist options
  • Save f-asa/edde5a90cc13b371536bf8e97561f175 to your computer and use it in GitHub Desktop.
Save f-asa/edde5a90cc13b371536bf8e97561f175 to your computer and use it in GitHub Desktop.
pjproject-2.14.1 pjsua2 lib python 3.10.12 wsl linux ubuntu 22.04
sudo apt-get install python3-dev
python3 -m venv pjproject-2.14.1-pjsua2
source pjproject-2.14.1-pjsua2/bin/activate
mkdir pjproject-2.14.1-pjsua2/src
cd pjproject-2.14.1-pjsua2/src
wget https://github.com/pjsip/pjproject/archive/refs/tags/2.14.1.zip
unzip 2.14.1.zip
cd pjproject-2.14.1/
./configure --enable-shared
make dep
cd pjsip-apps/src/swig/python
make
make install
python3 setup.py install
## test with
python3 -c "import pjsua2; print(pjsua2.Endpoint())"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment