Python Forum

Full Version: No module named scipy
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello. I'm trying to import scipy.io library. If I write code below in command console, it works right, but if I write this in file.py and run this I get this error. What could be problem?
from scipy.io.wavfile import *
Error:
ModuleNotFoundError: No module named 'scipy.io'; 'scipy' is not a package
Do you have a file named scipy.py? If you do, python will try to import that instead of the package.
Thanks a lot of, it was a stupid mistake :)