pyphonic
pyphonic copied to clipboard
FileNotFoundError: glockenspiel.pkl
After running pip install pyphonic
and installing the dependencies, I'm trying to run the numpy example in the readme, which yields the following error:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\dafla\anaconda3\envs\snare\Lib\site-packages\pyphonic\preset_7_sampler.py", line 11, in <module>
sample = np.load(pyphonic.getDataDir() / Path("glockenspiel.pkl"), allow_pickle=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\dafla\anaconda3\envs\snare\Lib\site-packages\numpy\lib\npyio.py", line 427, in load
fid = stack.enter_context(open(os_fspath(file), "rb"))
^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\dafla\\AppData\\Roaming\\AudioFluff\\PyPhonic\\glockenspiel.pkl'
My installed packages are:
Package Version
------------------ ------------
audioread 3.0.1
certifi 2024.6.2
cffi 1.16.0
charset-normalizer 3.3.2
decorator 5.1.1
filelock 3.14.0
fsspec 2024.6.0
idna 3.7
intel-openmp 2021.4.0
Jinja2 3.1.4
joblib 1.4.2
lazy_loader 0.4
librosa 0.10.2.post1
llvmlite 0.42.0
MarkupSafe 2.1.5
mkl 2021.4.0
mpmath 1.3.0
msgpack 1.0.8
networkx 3.3
numba 0.59.1
numpy 1.26.4
packaging 24.0
pip 24.0
platformdirs 4.2.2
pooch 1.8.2
pycparser 2.22
pyphonic 1.1.1
requests 2.32.3
scikit-learn 1.5.0
scipy 1.13.1
setuptools 69.5.1
soundfile 0.12.1
soxr 0.3.7
sympy 1.12.1
tbb 2021.12.0
threadpoolctl 3.5.0
torch 2.3.1
typing_extensions 4.12.2
urllib3 2.2.1
watchdog 4.0.1
wheel 0.43.0
I'm currently using python 3.12.3 with conda 24.1.2