Forums

Installing and compiling packages require for pytgvoip

I planned to host new features for my telegram bot on pythonanywhere. It runs on the module Pytgvoip. As we can see in the documentation for installation, these packages are needed to run the setup:

$ apt install make cmake gcc g++ python3-dev gcc g++ openssl libssl-dev libopus0 libopus-dev

I know apt isn't available on pythonanywhere, but could you guys assist me to install these libraries on the console? I am ready to compile them, but I was wondering if there is any other way. I tried to compile libopus, but seems like I am getting some kind of compile errors. Could you guys please check on that and let me know? I was really looking forward to hosting it here.

Since Heroku is going to be expensive after November, pythonanywhere is the only option for a cheaper solution for small apps like mine. I would really appreciate with any help you provide

First of all telegram would most probably not work on a free account (because of the restricted internet access). For the system packages you mention, they may be already installed -- you can check it by running dpkg -l | grep <package-name> command in a Bash console.