[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Linphone-developers] Problems with linphone 3.9.1 python
From: |
Roger Kreienbühl |
Subject: |
[Linphone-developers] Problems with linphone 3.9.1 python |
Date: |
Wed, 06 Feb 2019 21:55:17 +0100 |
Hi
I just installed linphone 3.9.1 for python on debian 9.6. When I try to run code that I wrote earlyer I first got the folowing error:
Traceback (most recent call last):
File "RetroSip.py", line 10, in <module>
from Phone.Phone import Phone
File "/home/roger/Programmieren/Python/RetroSIP/Phone/Phone.py", line 4, in <module>
import linphone
File "/usr/local/lib/python2.7/dist-packages/linphone/__init__.py", line 2, in <module>
from linphone import __version__
ImportError: cannot import name __version__
After manually removing "from linphone import __version__" this worked, but now I get another error:
Traceback (most recent call last):
File "RetroSIP.py", line 154, in <module>
daemon.run()
File "RetroSIP.py", line 105, in run
self.phone = Phone()
File "/home/roger/Programmieren/Python/RetroSIP/Phone/Phone.py", line 27, in __init__
self.core = linphone.Core.new(callbacks, None, None)
AttributeError: 'module' object has no attribute 'Core'
What am I doing wrong? On a Raspberry Pi I don't get this errors.
Best regards
Roger
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Linphone-developers] Problems with linphone 3.9.1 python,
Roger Kreienbühl <=