How To Use Helper Files In Pycharm
I am trying to follow along with a project written by Mike Smales - 'Sound Classification using Deep Learning'. In there, the author wrote a helper file called wavfilehelper.py: w
Solution 1:
It is important to look at (and quote in your question) the actual error messages! In this case, which line is in-error? It is not the instantiation line, but the import - Python is unable to find the module on your machine (using its system paths).
Earlier in the article, the author talks about downloading his files from GitHub (to your machine). Did you follow that step?
Web.Ref: further information about solving this error
Solution 2:
Yes, in order to run the python main.py
program as specified, it wants to import a class named WavFileHelper
from helpers/wavehelper.py
via from helpers.wavfilehelper import WavFileHelper
Post a Comment for "How To Use Helper Files In Pycharm"