-
Notifications
You must be signed in to change notification settings - Fork 151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ModuleNotFoundError: No module named '_sounddevice_data' #137
Comments
How did you install the |
conda install -c conda-forge python-sounddevice |
I should add that I've done this on two separate Win7 machines, one 64bit and one 32bit. I get the same result on both. |
OK, this should be fixed in #122, but I haven't made a new release since then, therefore it isn't available on I'll make a release in the next few days, and hopefully soon afterwards this will also be available on In the meantime, you should try to install the If you are having troubles installing, don't hesitate to ask for help here. |
Thank you so much. That seems to have worked. Now the fun begins... |
An automatic update on |
Version 0.3.11 is now on @sprocket1 Can you please check if it works for you? |
I've just tried running sounddevice in Spyder on macOS and got an identical issue with 0.3.11 as installed through conda-forge. |
@74HC14 Thanks for checking this out. On macOS, there is a different problem: the dependency It seems to be available in the |
Ah, that looks like that was probably the problem. I've just run it through pip now without a hitch, thanks for the quick reply. |
@74HC14 Did you check if the I've just created #144 for trying to load the dylib from anaconda, but I cannot test it because I don't have a Mac. See also #122. |
Just uninstalled sounddevice by pip and reinstalled via Portaudio is still present after uninstalling the conda sounddevice. |
Going back through terminal's history doesn't come up with any installs of portaudio so I'm pretty sure it was already in there, presumably bundled with Anaconda's default modules. |
Sorry for the late reply. I just now tried
conda install sounddevice
from my base environment (python 3.6.4) and it did not work.
I then created a new environment (for other reasons) based on python 3.5.5 and tried that again. Again, it did not work. It did work with pip install.
James May
Principal Sprocketeer
Audio Sprockets, LLC
200 Coyote St. #2674
Nevada City, CA 95959
530-362-8891
www.audiosprockets.com
From: Matthias Geier [mailto:[email protected]]
Sent: Monday, May 28, 2018 10:18 AM
To: spatialaudio/python-sounddevice <[email protected]>
Cc: James May <[email protected]>; Mention <[email protected]>
Subject: Re: [spatialaudio/python-sounddevice] ModuleNotFoundError: No module named '_sounddevice_data' (#137)
Version 3.11 is now on conda-forge.
@sprocket1<https://github.com/sprocket1> Can you please if it works for you?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#137 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AaKx0gl0daZiIAzUiYP8SvlmP0PFVxLjks5t3DFPgaJpZM4Txb6I>.
|
@sprocket1 Is there an error message? |
@sprocket1 As you mentioned yourself (#137 (comment)), this is the command to install it:
|
Matthias,
Sorry about that, I have been distracted. That command worked just fine!
I want to thank you for developing sounddevice. It really is a great utility, and has enabled me to get my application built with a minimum of hassle.
On that note, I have a related question for you. I am looking for help in packaging my Python app into an self contained exe app for Windows. I’ve been struggling with Pyinstaller, Py2Exe and cx_freeze. All those tools seem to be broken for moderate to complex apps. I can give more specifics, but first I would just as if you know someone who might be able to help? This would be paid worked.
James May
Principal Sprocketeer
Audio Sprockets, LLC
200 Coyote St. #2674
Nevada City, CA 95959
530-362-8891
www.audiosprockets.com
From: Matthias Geier [mailto:[email protected]]
Sent: Friday, July 27, 2018 7:59 AM
To: spatialaudio/python-sounddevice <[email protected]>
Cc: James May <[email protected]>; Mention <[email protected]>
Subject: Re: [spatialaudio/python-sounddevice] ModuleNotFoundError: No module named '_sounddevice_data' (#137)
@sprocket1<https://github.com/sprocket1> As you mentioned yourself (#137 (comment)<#137 (comment)>), this is the command to install it:
conda install -c conda-forge python-sounddevice
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#137 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AaKx0sGfCwpW2_sKejBZ4_Q-877Rf07qks5uKyqqgaJpZM4Txb6I>.
|
@sprocket1 I'm glad that it works now for you! And thanks for the praise! I'm sorry, but I have no experience with any of the Python-bundling-tools and I don't know anyone who has. If you find out any ways how to make the |
FYI, yesterday I had success using Pynsist to create a bundled installer that makes an independent python installation with all the project dependencies in the user’s directory of choice, regardless of whether they already have Python installed on their computer or not. That serves my needs for now, and the process was relatively painless.
James May
Principal Sprocketeer
Audio Sprockets, LLC
200 Coyote St. #2674
Nevada City, CA 95959
530-362-8891
www.audiosprockets.com
From: Matthias Geier [mailto:[email protected]]
Sent: Saturday, July 28, 2018 9:35 AM
To: spatialaudio/python-sounddevice <[email protected]>
Cc: James May <[email protected]>; Mention <[email protected]>
Subject: Re: [spatialaudio/python-sounddevice] ModuleNotFoundError: No module named '_sounddevice_data' (#137)
@sprocket1<https://github.com/sprocket1> I'm glad that it works now for you! And thanks for the praise!
I'm sorry, but I have no experience with any of the Python-bundling-tools and I don't know anyone who has.
The only related discussion here was #130<#130>.
If you find out any ways how to make the sounddevice module work better with those tools, please let me know!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#137 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AaKx0grkQeObUAAbOndSR-UG0Lzv2u_dks5uLJK9gaJpZM4Txb6I>.
|
OK, thanks for the information. |
import sounddevice During handling of the above exception, another exception occurred: Traceback (most recent call last): still facing the issue - tried pip install sounddevice |
I am also facing the exact same issue. Tried above answers but still No Luck. During handling of the above exception, another exception occurred: Traceback (most recent call last): |
If there are still problems, please create a new issue providing the information mentioned in https://python-sounddevice.readthedocs.io/en/0.4.6/CONTRIBUTING.html#reporting-problems And please mention what exactly you tried and what exactly happened. Simply saying "Tried above answers but still No Luck" doesn't really help. Be more specific! |
Hi, I'm very new to Python and Spyder.
I'm getting this on the Spyder console, seems related to #110 but I'm not sure what to make of it.
import sounddevice as sd
Traceback (most recent call last):
File "", line 1, in
import sounddevice as sd
File "C:\Users\James\Anaconda3\lib\site-packages\sounddevice.py", line 73, in
import _sounddevice_data
ModuleNotFoundError: No module named '_sounddevice_data'
The text was updated successfully, but these errors were encountered: