pycall
pycall copied to clipboard
pycall error - No module named 'pycall
im trying to run these lines of code in PyCharm 2020.2.1 and Python 3.8.3:
call.py
Initiate an internal call to 100 and say
'hello world!' when the caller answers.
from pycall import CallFile, Call, Application
call = Call('SIP/100') action = Application('Playback', 'hello-world')
c = CallFile(call, action) c.spool()
i faced with this message error
C:\PythonProgram\pycall-master\tests>python call.py
Traceback (most recent call last):
File "call.py", line 4, in
Could you help me solving my problem? thank you in advance
It sounds like you don't have Python setup properly on your computer. When you did the pip install pycall
command to install the library, do you know where it installed?
Hi rdegges, thanks alot for your answer! I have done the installation, but show me another message error.
C:\PythonProgram\CallTest>python call.py
Traceback (most recent call last):
File "call.py", line 1, in
It sounds like you are running on your local environment. Do you have Asterisk ?