I'm fairly new to Python, Jupyter Notebook and Machine Learning in general. I want to report this issue that I'm having with running your code. After pulling it from Github, I tried running it in Visual Studio Code and was stuck at the importing process. The error that I encountered seems to suggest that my system (Windows 10) had failed to access the required library links, with llvmlite failing to be loaded and matplotlib not being accessible by the system at all. I'm using Anaconda distribution to install the Librosa package. Anyway, here are the two code blocks for the tracebacks
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-12-cc3b387ce607> in <module>
4 #import librosa
5 #import librosa.display
----> 6 import matplotlib.pyplot as plt
~\anaconda3\lib\site-packages\matplotlib\__init__.py in <module>
105 # cbook must import matplotlib only within function
106 # definitions, so it is safe to import from it here.
--> 107 from . import _api, cbook, docstring, rcsetup
108 from matplotlib.cbook import MatplotlibDeprecationWarning, sanitize_sequence
109 from matplotlib.cbook import mplDeprecation # deprecated
~\anaconda3\lib\site-packages\matplotlib\rcsetup.py in <module>
22 import numpy as np
23
---> 24 from matplotlib import _api, animation, cbook
25 from matplotlib.cbook import ls_mapper
26 from matplotlib.colors import Colormap, is_color_like
~\anaconda3\lib\site-packages\matplotlib\animation.py in <module>
32
33 import numpy as np
---> 34 from PIL import Image
35
36 import matplotlib as mpl
~\anaconda3\lib\site-packages\PIL\Image.py in <module>
107 # Also note that Image.core is not a publicly documented interface,
108 # and should be considered private and subject to change.
--> 109 from . import _imaging as core
110
111 if __version__ != getattr(core, "PILLOW_VERSION", None):
ImportError: DLL load failed while importing _imaging: The file cannot be accessed by the system.
---------------------------------------------------------------------------
OSError Traceback (most recent call last)
<ipython-input-13-5c79ab56b39a> in <module>
2
3 import IPython.display as ipd
----> 4 import librosa
5 #import librosa.display
6 import matplotlib.pyplot as plt
~\anaconda3\lib\site-packages\librosa\__init__.py in <module>
209 # And all the librosa sub-modules
210 from ._cache import cache
--> 211 from . import core
212 from . import beat
213 from . import decompose
~\anaconda3\lib\site-packages\librosa\core\__init__.py in <module>
3 """ Core IO and DSP functions"""
4
----> 5 from .convert import * # pylint: disable=wildcard-import
6 from .audio import * # pylint: disable=wildcard-import
7 from .spectrum import * # pylint: disable=wildcard-import
~\anaconda3\lib\site-packages\librosa\core\convert.py in <module>
5 import re
6 import numpy as np
----> 7 from . import notation
8 from ..util.exceptions import ParameterError
9
~\anaconda3\lib\site-packages\librosa\core\notation.py in <module>
6 import numpy as np
7 from .._cache import cache
----> 8 from ..util.exceptions import ParameterError
9
10 __all__ = [
~\anaconda3\lib\site-packages\librosa\util\__init__.py in <module>
81 """
82
---> 83 from .utils import * # pylint: disable=wildcard-import
84 from .files import * # pylint: disable=wildcard-import
85 from .matching import * # pylint: disable=wildcard-import
~\anaconda3\lib\site-packages\librosa\util\utils.py in <module>
8
9 import numpy as np
---> 10 import numba
11 from numpy.lib.stride_tricks import as_strided
12
~\anaconda3\lib\site-packages\numba\__init__.py in <module>
17
18
---> 19 from numba.core import config
20 from numba.testing import _runtests as runtests
21 from numba.core import types, errors
~\anaconda3\lib\site-packages\numba\core\config.py in <module>
14
15
---> 16 import llvmlite.binding as ll
17
18 IS_WIN32 = sys.platform.startswith('win32')
~\anaconda3\lib\site-packages\llvmlite\binding\__init__.py in <module>
2 Things that rely on the LLVM library
3 """
----> 4 from .dylib import *
5 from .executionengine import *
6 from .initfini import *
~\anaconda3\lib\site-packages\llvmlite\binding\dylib.py in <module>
1 from ctypes import c_void_p, c_char_p, c_bool, POINTER
2
----> 3 from llvmlite.binding import ffi
4 from llvmlite.binding.common import _encode_string
5
~\anaconda3\lib\site-packages\llvmlite\binding\ffi.py in <module>
189 break
190 else:
--> 191 raise OSError("Could not load shared object file: {}".format(_lib_name))
192
193
OSError: Could not load shared object file: llvmlite.dll
I have tried uninstalling and reinstalling llvmlite on base environment, creating a new environment and installing the required library over there, yet nothing works.