I use python 3.6.9 and asterisk 16.16.0 in Ubuntu 18.04. If you know about AGI then you probably know about this line #!/usr/bin/python or this #!/usr/bin/env
#!/usr/bin/python
#!/usr/bin/env