Created
May 6, 2020 10:32
-
-
Save MittalShruti/2e70fb04f52f9cd6c52e95f534f74236 to your computer and use it in GitHub Desktop.
Install pycodec2 codec2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!apt-get update && \ | |
apt-get upgrade -y && \ | |
apt-get install -y git make cmake python3-pip | |
!git clone https://github.com/drowe67/codec2.git | |
!cd codec2 && \ | |
mkdir build_linux && \ | |
cd build_linux && \ | |
cmake .. && \ | |
make && \ | |
make install | |
!pip3 install cython numpy | |
!git clone https://github.com/edwarddixon/pycodec2 && \ | |
cd pycodec2 && \ | |
python3 setup.py install | |
!sudo apt-get install libcodec2-0.7 libcodec2-dev | |
import pycodec2 | |
c2 = pycodec2.Codec2(1200) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment