Import failing on MacOS
See original GitHub issueHey Jeremy!
Not sure what is the best method to reach out to you, and hence opening an issue 😃 I have been trying to explore aiortc, and am trying to install the package from source on my MAC.
Even though the installation is successful when i run python setup.py install
, the import seems to be failing, mainly because it is not able to find opus and vpx packages.
Traceback when I attempt to import on Python2 and Python3.6.2
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/satprasa/personal/Dropbox/My_MS_Notes/BU_learning/Algo/aiortc-electrowizard/aiortc/__init__.py", line 9, in <module>
from .rtcpeerconnection import RTCPeerConnection # noqa
File "/Users/satprasa/personal/Dropbox/My_MS_Notes/BU_learning/Algo/aiortc-electrowizard/aiortc/rtcpeerconnection.py", line 8, in <module>
from .codecs import MEDIA_CODECS
File "/Users/satprasa/personal/Dropbox/My_MS_Notes/BU_learning/Algo/aiortc-electrowizard/aiortc/codecs/__init__.py", line 3, in <module>
from .opus import OpusDecoder, OpusEncoder
File "/Users/satprasa/personal/Dropbox/My_MS_Notes/BU_learning/Algo/aiortc-electrowizard/aiortc/codecs/opus.py", line 4, in <module>
from ._opus import ffi, lib
ModuleNotFoundError: No module named 'aiortc.codecs._opus'
I have ensured that opus and libvpx are installed using brew. What am I missing? Appreciate the help!
Cheers, Sathvik aiortc_import_problem_dependencies.txt
Issue Analytics
- State:
- Created 5 years ago
- Comments:9
Top Results From Across the Web
How to Fix “Import Failed” Mail Error on Mac | OSXDaily
Quit out of Mail app if it's still open · Open the Finder in MacOS, then pull down the “Go” menu and choose...
Read more >mail import failed os x 10.13 | Apple Developer Forums
Hello everyone,. I have installed OS X High Sierra on m iMac Retina 5K and apart some kernel panics I also get a...
Read more >Mail App Says The Import Failed error on Mac in macOS Big Sur
Mail import fails repeatedly in macOS Big sur, How to fix The Import Failed mail error on mac, Mac mail import failed in...
Read more >How To Fix “Import Failed” Email Errors On Mac - Apple
Quit the Mail app if it's still open · Open Finder in MacOS, then drag the “Go” menu and select “Go to Folder”...
Read more >How to solve the error for import torch on macOs?
Check your interpreter (The python version you are using at the moment). To check the Python version in your Jupyter notebook, first import ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
No idea for the OS X specifics, I suggest you ask for help on a generic Python forum, sorry.
I have opened issue #30 to track DTMF support. I don’t currently have a use for it but would welcome a PR as long as it comes with full unit tests.
If you have trouble building those third party packages I suggest you go seek help there.