Skip to content
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

RuntimeError: Numpy is not available #93

Open
heartgold512 opened this issue Aug 12, 2024 · 1 comment
Open

RuntimeError: Numpy is not available #93

heartgold512 opened this issue Aug 12, 2024 · 1 comment

Comments

@heartgold512
Copy link

heartgold512 commented Aug 12, 2024

I ran in a python venv i believe it to be 3.5+ anyways here is the console and the results and packages installed (note before i used pip install -r and then the requirements and demo reqs.
(voicecloning_env) (base) C:\Users\Bradley\Desktop\Resemblyzer-master>pip list
Package Version


audioread 3.0.1
certifi 2024.7.4
cffi 1.17.0
charset-normalizer 3.3.2
colorama 0.4.6
contourpy 1.2.1
cycler 0.12.1
decorator 5.1.1
filelock 3.15.4
fonttools 4.53.1
fsspec 2024.6.1
idna 3.7
Jinja2 3.1.4
joblib 1.4.2
kiwisolver 1.4.5
lazy_loader 0.4
librosa 0.10.2.post1
llvmlite 0.43.0
MarkupSafe 2.1.5
matplotlib 3.9.1.post1
mpmath 1.3.0
msgpack 1.0.8
networkx 3.3
numba 0.60.0
numpy 2.0.1
packaging 24.1
pillow 10.4.0
pip 24.0
platformdirs 4.2.2
pooch 1.8.2
pycparser 2.22
pynndescent 0.5.13
pyparsing 3.1.2
python-dateutil 2.9.0.post0
requests 2.32.3
scikit-learn 1.5.1
scipy 1.14.0
setuptools 72.1.0
six 1.16.0
sounddevice 0.5.0
soundfile 0.12.1
soxr 0.4.0
sympy 1.13.2
threadpoolctl 3.5.0
torch 2.4.0
tqdm 4.66.5
typing 3.7.4.3
typing_extensions 4.12.2
umap-learn 0.5.6
urllib3 2.2.2
webrtcvad 2.0.10

(base) C:\Users\Bradley>cd downloads

(base) C:\Users\Bradley\Downloads>cd Resemblyzer-master

(base) C:\Users\Bradley\Downloads\Resemblyzer-master>cd resembler

(base) C:\Users\Bradley\Downloads\Resemblyzer-master\resembler>python -m venv resemblyzer-env

(base) C:\Users\Bradley\Downloads\Resemblyzer-master\resembler>resemblyzer-env\Scripts\activate

(resemblyzer-env) (base) C:\Users\Bradley\Downloads\Resemblyzer-master\resembler>pip install -r requirements_demos.txt
Looking in indexes: https://pypi.org/simple, https://pypi.ngc.nvidia.com
Collecting librosa>=0.9.1 (from -r requirements_demos.txt (line 1))
Obtaining dependency information for librosa>=0.9.1 from https://files.pythonhosted.org/packages/8c/8a/2d231b35456506b7c98b3ab9bbf07917b205fed8615d2e59e976ab497fff/librosa-0.10.2.post1-py3-none-any.whl.metadata
Downloading librosa-0.10.2.post1-py3-none-any.whl.metadata (8.6 kB)
Collecting numpy>=1.20.0 (from -r requirements_demos.txt (line 2))
Obtaining dependency information for numpy>=1.20.0 from https://files.pythonhosted.org/packages/3d/67/928e8f0d5c7fd32f32fb5caf92b186a1b3826dbaf5a294e13a976d6c38b6/numpy-2.0.1-cp311-cp311-win_amd64.whl.metadata
Downloading numpy-2.0.1-cp311-cp311-win_amd64.whl.metadata (60 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 60.9/60.9 kB 1.1 MB/s eta 0:00:00
Collecting webrtcvad>=2.0.10 (from -r requirements_demos.txt (line 3))
Downloading webrtcvad-2.0.10.tar.gz (66 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 66.2/66.2 kB 3.5 MB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting torch>=1.0.1 (from -r requirements_demos.txt (line 4))
Obtaining dependency information for torch>=1.0.1 from https://files.pythonhosted.org/packages/18/cf/f69dff972a748e08e1bf602ef94ea5c6d4dd2f41cea22c8ad67a607d8b41/torch-2.4.0-cp311-cp311-win_amd64.whl.metadata
Downloading torch-2.4.0-cp311-cp311-win_amd64.whl.metadata (27 kB)
Collecting scipy>=1.2.1 (from -r requirements_demos.txt (line 5))
Obtaining dependency information for scipy>=1.2.1 from https://files.pythonhosted.org/packages/91/1d/0484130df7e33e044da88a091827d6441b77f907075bf7bbe145857d6590/scipy-1.14.0-cp311-cp311-win_amd64.whl.metadata
Downloading scipy-1.14.0-cp311-cp311-win_amd64.whl.metadata (60 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 60.8/60.8 kB ? eta 0:00:00
Collecting typing (from -r requirements_demos.txt (line 6))
Downloading typing-3.7.4.3.tar.gz (78 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 78.6/78.6 kB ? eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting matplotlib>=3.0.0 (from -r requirements_demos.txt (line 7))
Obtaining dependency information for matplotlib>=3.0.0 from https://files.pythonhosted.org/packages/0a/d4/c0812c410de88e8646727a7c000741331875ae556018725ae169d206f0a2/matplotlib-3.9.1.post1-cp311-cp311-win_amd64.whl.metadata
Downloading matplotlib-3.9.1.post1-cp311-cp311-win_amd64.whl.metadata (11 kB)
Collecting sounddevice (from -r requirements_demos.txt (line 8))
Obtaining dependency information for sounddevice from https://files.pythonhosted.org/packages/bf/2a/58fa1704b5cf8041564337674790426d39d630e7407e54e17a1212332959/sounddevice-0.5.0-py3-none-win_amd64.whl.metadata
Downloading sounddevice-0.5.0-py3-none-win_amd64.whl.metadata (1.4 kB)
Collecting tqdm (from -r requirements_demos.txt (line 9))
Obtaining dependency information for tqdm from https://files.pythonhosted.org/packages/48/5d/acf5905c36149bbaec41ccf7f2b68814647347b72075ac0b1fe3022fdc73/tqdm-4.66.5-py3-none-any.whl.metadata
Downloading tqdm-4.66.5-py3-none-any.whl.metadata (57 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 57.6/57.6 kB ? eta 0:00:00
Collecting umap-learn (from -r requirements_demos.txt (line 10))
Obtaining dependency information for umap-learn from https://files.pythonhosted.org/packages/d1/1b/46802a050b1c55d10c4f59fc6afd2b45ac9b4f62b2e12092d3f599286f14/umap_learn-0.5.6-py3-none-any.whl.metadata
Downloading umap_learn-0.5.6-py3-none-any.whl.metadata (21 kB)
Collecting audioread>=2.1.9 (from librosa>=0.9.1->-r requirements_demos.txt (line 1))
Obtaining dependency information for audioread>=2.1.9 from https://files.pythonhosted.org/packages/57/8d/30aa32745af16af0a9a650115fbe81bde7c610ed5c21b381fca0196f3a7f/audioread-3.0.1-py3-none-any.whl.metadata
Downloading audioread-3.0.1-py3-none-any.whl.metadata (8.4 kB)
Collecting scikit-learn>=0.20.0 (from librosa>=0.9.1->-r requirements_demos.txt (line 1))
Obtaining dependency information for scikit-learn>=0.20.0 from https://files.pythonhosted.org/packages/5d/55/0403bf2031250ac982c8053397889fbc5a3a2b3798b913dae4f51c3af6a4/scikit_learn-1.5.1-cp311-cp311-win_amd64.whl.metadata
Downloading scikit_learn-1.5.1-cp311-cp311-win_amd64.whl.metadata (12 kB)
Collecting joblib>=0.14 (from librosa>=0.9.1->-r requirements_demos.txt (line 1))
Obtaining dependency information for joblib>=0.14 from https://files.pythonhosted.org/packages/91/29/df4b9b42f2be0b623cbd5e2140cafcaa2bef0759a00b7b70104dcfe2fb51/joblib-1.4.2-py3-none-any.whl.metadata
Downloading joblib-1.4.2-py3-none-any.whl.metadata (5.4 kB)
Collecting decorator>=4.3.0 (from librosa>=0.9.1->-r requirements_demos.txt (line 1))
Obtaining dependency information for decorator>=4.3.0 from https://files.pythonhosted.org/packages/d5/50/83c593b07763e1161326b3b8c6686f0f4b0f24d5526546bee538c89837d6/decorator-5.1.1-py3-none-any.whl.metadata
Downloading decorator-5.1.1-py3-none-any.whl.metadata (4.0 kB)
Collecting numba>=0.51.0 (from librosa>=0.9.1->-r requirements_demos.txt (line 1))
Obtaining dependency information for numba>=0.51.0 from https://files.pythonhosted.org/packages/79/89/2d924ca60dbf949f18a6fec223a2445f5f428d9a5f97a6b29c2122319015/numba-0.60.0-cp311-cp311-win_amd64.whl.metadata
Downloading numba-0.60.0-cp311-cp311-win_amd64.whl.metadata (2.8 kB)
Collecting soundfile>=0.12.1 (from librosa>=0.9.1->-r requirements_demos.txt (line 1))
Obtaining dependency information for soundfile>=0.12.1 from https://files.pythonhosted.org/packages/50/ff/26a4ee48d0b66625a4e4028a055b9f25bc9d7c7b2d17d21a45137621a50d/soundfile-0.12.1-py2.py3-none-win_amd64.whl.metadata
Downloading soundfile-0.12.1-py2.py3-none-win_amd64.whl.metadata (14 kB)
Collecting pooch>=1.1 (from librosa>=0.9.1->-r requirements_demos.txt (line 1))
Obtaining dependency information for pooch>=1.1 from https://files.pythonhosted.org/packages/a8/87/77cc11c7a9ea9fd05503def69e3d18605852cd0d4b0d3b8f15bbeb3ef1d1/pooch-1.8.2-py3-none-any.whl.metadata
Downloading pooch-1.8.2-py3-none-any.whl.metadata (10 kB)
Collecting soxr>=0.3.2 (from librosa>=0.9.1->-r requirements_demos.txt (line 1))
Obtaining dependency information for soxr>=0.3.2 from https://files.pythonhosted.org/packages/8a/29/3bbdf1417e5da6da3ed5e35e4b3290cfc605fbe06b8513452a9447516532/soxr-0.4.0-cp311-cp311-win_amd64.whl.metadata
Downloading soxr-0.4.0-cp311-cp311-win_amd64.whl.metadata (5.7 kB)
Collecting typing-extensions>=4.1.1 (from librosa>=0.9.1->-r requirements_demos.txt (line 1))
Obtaining dependency information for typing-extensions>=4.1.1 from https://files.pythonhosted.org/packages/26/9f/ad63fc0248c5379346306f8668cda6e2e2e9c95e01216d2b8ffd9ff037d0/typing_extensions-4.12.2-py3-none-any.whl.metadata
Downloading typing_extensions-4.12.2-py3-none-any.whl.metadata (3.0 kB)
Collecting lazy-loader>=0.1 (from librosa>=0.9.1->-r requirements_demos.txt (line 1))
Obtaining dependency information for lazy-loader>=0.1 from https://files.pythonhosted.org/packages/83/60/d497a310bde3f01cb805196ac61b7ad6dc5dcf8dce66634dc34364b20b4f/lazy_loader-0.4-py3-none-any.whl.metadata
Downloading lazy_loader-0.4-py3-none-any.whl.metadata (7.6 kB)
Collecting msgpack>=1.0 (from librosa>=0.9.1->-r requirements_demos.txt (line 1))
Obtaining dependency information for msgpack>=1.0 from https://files.pythonhosted.org/packages/33/e9/f450b8e1243704c0ab656dcd37f6146881d11bbb68588132d8ae673c455b/msgpack-1.0.8-cp311-cp311-win_amd64.whl.metadata
Downloading msgpack-1.0.8-cp311-cp311-win_amd64.whl.metadata (9.4 kB)
Collecting filelock (from torch>=1.0.1->-r requirements_demos.txt (line 4))
Obtaining dependency information for filelock from https://files.pythonhosted.org/packages/ae/f0/48285f0262fe47103a4a45972ed2f9b93e4c80b8fd609fa98da78b2a5706/filelock-3.15.4-py3-none-any.whl.metadata
Downloading filelock-3.15.4-py3-none-any.whl.metadata (2.9 kB)
Collecting sympy (from torch>=1.0.1->-r requirements_demos.txt (line 4))
Obtaining dependency information for sympy from https://files.pythonhosted.org/packages/c1/f9/6845bf8fca0eaf847da21c5d5bc6cd92797364662824a11d3f836423a1a5/sympy-1.13.2-py3-none-any.whl.metadata
Downloading sympy-1.13.2-py3-none-any.whl.metadata (12 kB)
Collecting networkx (from torch>=1.0.1->-r requirements_demos.txt (line 4))
Obtaining dependency information for networkx from https://files.pythonhosted.org/packages/38/e9/5f72929373e1a0e8d142a130f3f97e6ff920070f87f91c4e13e40e0fba5a/networkx-3.3-py3-none-any.whl.metadata
Downloading networkx-3.3-py3-none-any.whl.metadata (5.1 kB)
Collecting jinja2 (from torch>=1.0.1->-r requirements_demos.txt (line 4))
Obtaining dependency information for jinja2 from https://files.pythonhosted.org/packages/31/80/3a54838c3fb461f6fec263ebf3a3a41771bd05190238de3486aae8540c36/jinja2-3.1.4-py3-none-any.whl.metadata
Downloading jinja2-3.1.4-py3-none-any.whl.metadata (2.6 kB)
Collecting fsspec (from torch>=1.0.1->-r requirements_demos.txt (line 4))
Obtaining dependency information for fsspec from https://files.pythonhosted.org/packages/5e/44/73bea497ac69bafde2ee4269292fa3b41f1198f4bb7bbaaabde30ad29d4a/fsspec-2024.6.1-py3-none-any.whl.metadata
Downloading fsspec-2024.6.1-py3-none-any.whl.metadata (11 kB)
Collecting contourpy>=1.0.1 (from matplotlib>=3.0.0->-r requirements_demos.txt (line 7))
Obtaining dependency information for contourpy>=1.0.1 from https://files.pythonhosted.org/packages/d6/4f/76d0dd0bca417691918484c26c74dd9dd44fbf528bbfeb30d754886e2c54/contourpy-1.2.1-cp311-cp311-win_amd64.whl.metadata
Downloading contourpy-1.2.1-cp311-cp311-win_amd64.whl.metadata (5.8 kB)
Collecting cycler>=0.10 (from matplotlib>=3.0.0->-r requirements_demos.txt (line 7))
Obtaining dependency information for cycler>=0.10 from https://files.pythonhosted.org/packages/e7/05/c19819d5e3d95294a6f5947fb9b9629efb316b96de511b418c53d245aae6/cycler-0.12.1-py3-none-any.whl.metadata
Downloading cycler-0.12.1-py3-none-any.whl.metadata (3.8 kB)
Collecting fonttools>=4.22.0 (from matplotlib>=3.0.0->-r requirements_demos.txt (line 7))
Obtaining dependency information for fonttools>=4.22.0 from https://files.pythonhosted.org/packages/c8/e1/059700c154bd7170d1c37061239836d2e51ff608f47075450f06dd3c292a/fonttools-4.53.1-cp311-cp311-win_amd64.whl.metadata
Downloading fonttools-4.53.1-cp311-cp311-win_amd64.whl.metadata (165 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 165.9/165.9 kB 9.7 MB/s eta 0:00:00
Collecting kiwisolver>=1.3.1 (from matplotlib>=3.0.0->-r requirements_demos.txt (line 7))
Obtaining dependency information for kiwisolver>=1.3.1 from https://files.pythonhosted.org/packages/1e/37/d3c2d4ba2719059a0f12730947bbe1ad5ee8bff89e8c35319dcb2c9ddb4c/kiwisolver-1.4.5-cp311-cp311-win_amd64.whl.metadata
Downloading kiwisolver-1.4.5-cp311-cp311-win_amd64.whl.metadata (6.5 kB)
Collecting packaging>=20.0 (from matplotlib>=3.0.0->-r requirements_demos.txt (line 7))
Obtaining dependency information for packaging>=20.0 from https://files.pythonhosted.org/packages/08/aa/cc0199a5f0ad350994d660967a8efb233fe0416e4639146c089643407ce6/packaging-24.1-py3-none-any.whl.metadata
Downloading packaging-24.1-py3-none-any.whl.metadata (3.2 kB)
Collecting pillow>=8 (from matplotlib>=3.0.0->-r requirements_demos.txt (line 7))
Obtaining dependency information for pillow>=8 from https://files.pythonhosted.org/packages/c1/d0/5866318eec2b801cdb8c82abf190c8343d8a1cd8bf5a0c17444a6f268291/pillow-10.4.0-cp311-cp311-win_amd64.whl.metadata
Downloading pillow-10.4.0-cp311-cp311-win_amd64.whl.metadata (9.3 kB)
Collecting pyparsing>=2.3.1 (from matplotlib>=3.0.0->-r requirements_demos.txt (line 7))
Obtaining dependency information for pyparsing>=2.3.1 from https://files.pythonhosted.org/packages/9d/ea/6d76df31432a0e6fdf81681a895f009a4bb47b3c39036db3e1b528191d52/pyparsing-3.1.2-py3-none-any.whl.metadata
Downloading pyparsing-3.1.2-py3-none-any.whl.metadata (5.1 kB)
Collecting python-dateutil>=2.7 (from matplotlib>=3.0.0->-r requirements_demos.txt (line 7))
Obtaining dependency information for python-dateutil>=2.7 from https://files.pythonhosted.org/packages/ec/57/56b9bcc3c9c6a792fcbaf139543cee77261f3651ca9da0c93f5c1221264b/python_dateutil-2.9.0.post0-py2.py3-none-any.whl.metadata
Downloading python_dateutil-2.9.0.post0-py2.py3-none-any.whl.metadata (8.4 kB)
Collecting CFFI>=1.0 (from sounddevice->-r requirements_demos.txt (line 8))
Obtaining dependency information for CFFI>=1.0 from https://files.pythonhosted.org/packages/ca/42/74cb1e0f1b79cb64672f3cb46245b506239c1297a20c0d9c3aeb3929cb0c/cffi-1.17.0-cp311-cp311-win_amd64.whl.metadata
Downloading cffi-1.17.0-cp311-cp311-win_amd64.whl.metadata (1.6 kB)
Collecting colorama (from tqdm->-r requirements_demos.txt (line 9))
Obtaining dependency information for colorama from https://files.pythonhosted.org/packages/d1/d6/3965ed04c63042e047cb6a3e6ed1a63a35087b6a609aa3a15ed8ac56c221/colorama-0.4.6-py2.py3-none-any.whl.metadata
Downloading colorama-0.4.6-py2.py3-none-any.whl.metadata (17 kB)
Collecting pynndescent>=0.5 (from umap-learn->-r requirements_demos.txt (line 10))
Obtaining dependency information for pynndescent>=0.5 from https://files.pythonhosted.org/packages/d2/53/d23a97e0a2c690d40b165d1062e2c4ccc796be458a1ce59f6ba030434663/pynndescent-0.5.13-py3-none-any.whl.metadata
Downloading pynndescent-0.5.13-py3-none-any.whl.metadata (6.8 kB)
Collecting pycparser (from CFFI>=1.0->sounddevice->-r requirements_demos.txt (line 8))
Obtaining dependency information for pycparser from https://files.pythonhosted.org/packages/13/a3/a812df4e2dd5696d1f351d58b8fe16a405b234ad2886a0dab9183fb78109/pycparser-2.22-py3-none-any.whl.metadata
Downloading pycparser-2.22-py3-none-any.whl.metadata (943 bytes)
Collecting llvmlite<0.44,>=0.43.0dev0 (from numba>=0.51.0->librosa>=0.9.1->-r requirements_demos.txt (line 1))
Obtaining dependency information for llvmlite<0.44,>=0.43.0dev0 from https://files.pythonhosted.org/packages/20/ab/ed5ed3688c6ba4f0b8d789da19fd8e30a9cf7fc5852effe311bc5aefe73e/llvmlite-0.43.0-cp311-cp311-win_amd64.whl.metadata
Downloading llvmlite-0.43.0-cp311-cp311-win_amd64.whl.metadata (4.9 kB)
Collecting platformdirs>=2.5.0 (from pooch>=1.1->librosa>=0.9.1->-r requirements_demos.txt (line 1))
Obtaining dependency information for platformdirs>=2.5.0 from https://files.pythonhosted.org/packages/68/13/2aa1f0e1364feb2c9ef45302f387ac0bd81484e9c9a4c5688a322fbdfd08/platformdirs-4.2.2-py3-none-any.whl.metadata
Downloading platformdirs-4.2.2-py3-none-any.whl.metadata (11 kB)
Collecting requests>=2.19.0 (from pooch>=1.1->librosa>=0.9.1->-r requirements_demos.txt (line 1))
Obtaining dependency information for requests>=2.19.0 from https://files.pythonhosted.org/packages/f9/9b/335f9764261e915ed497fcdeb11df5dfd6f7bf257d4a6a2a686d80da4d54/requests-2.32.3-py3-none-any.whl.metadata
Downloading requests-2.32.3-py3-none-any.whl.metadata (4.6 kB)
Collecting six>=1.5 (from python-dateutil>=2.7->matplotlib>=3.0.0->-r requirements_demos.txt (line 7))
Obtaining dependency information for six>=1.5 from https://files.pythonhosted.org/packages/d9/5a/e7c31adbe875f2abbb91bd84cf2dc52d792b5a01506781dbcf25c91daf11/six-1.16.0-py2.py3-none-any.whl.metadata
Downloading six-1.16.0-py2.py3-none-any.whl.metadata (1.8 kB)
Collecting threadpoolctl>=3.1.0 (from scikit-learn>=0.20.0->librosa>=0.9.1->-r requirements_demos.txt (line 1))
Obtaining dependency information for threadpoolctl>=3.1.0 from https://files.pythonhosted.org/packages/4b/2c/ffbf7a134b9ab11a67b0cf0726453cedd9c5043a4fe7a35d1cefa9a1bcfb/threadpoolctl-3.5.0-py3-none-any.whl.metadata
Downloading threadpoolctl-3.5.0-py3-none-any.whl.metadata (13 kB)
Collecting MarkupSafe>=2.0 (from jinja2->torch>=1.0.1->-r requirements_demos.txt (line 4))
Obtaining dependency information for MarkupSafe>=2.0 from https://files.pythonhosted.org/packages/b7/a2/c78a06a9ec6d04b3445a949615c4c7ed86a0b2eb68e44e7541b9d57067cc/MarkupSafe-2.1.5-cp311-cp311-win_amd64.whl.metadata
Downloading MarkupSafe-2.1.5-cp311-cp311-win_amd64.whl.metadata (3.1 kB)
Collecting mpmath<1.4,>=1.1.0 (from sympy->torch>=1.0.1->-r requirements_demos.txt (line 4))
Obtaining dependency information for mpmath<1.4,>=1.1.0 from https://files.pythonhosted.org/packages/43/e3/7d92a15f894aa0c9c4b49b8ee9ac9850d6e63b03c9c32c0367a13ae62209/mpmath-1.3.0-py3-none-any.whl.metadata
Downloading mpmath-1.3.0-py3-none-any.whl.metadata (8.6 kB)
Collecting charset-normalizer<4,>=2 (from requests>=2.19.0->pooch>=1.1->librosa>=0.9.1->-r requirements_demos.txt (line 1))
Obtaining dependency information for charset-normalizer<4,>=2 from https://files.pythonhosted.org/packages/57/ec/80c8d48ac8b1741d5b963797b7c0c869335619e13d4744ca2f67fc11c6fc/charset_normalizer-3.3.2-cp311-cp311-win_amd64.whl.metadata
Downloading charset_normalizer-3.3.2-cp311-cp311-win_amd64.whl.metadata (34 kB)
Collecting idna<4,>=2.5 (from requests>=2.19.0->pooch>=1.1->librosa>=0.9.1->-r requirements_demos.txt (line 1))
Obtaining dependency information for idna<4,>=2.5 from https://files.pythonhosted.org/packages/e5/3e/741d8c82801c347547f8a2a06aa57dbb1992be9e948df2ea0eda2c8b79e8/idna-3.7-py3-none-any.whl.metadata
Downloading idna-3.7-py3-none-any.whl.metadata (9.9 kB)
Collecting urllib3<3,>=1.21.1 (from requests>=2.19.0->pooch>=1.1->librosa>=0.9.1->-r requirements_demos.txt (line 1))
Obtaining dependency information for urllib3<3,>=1.21.1 from https://files.pythonhosted.org/packages/ca/1c/89ffc63a9605b583d5df2be791a27bc1a42b7c32bab68d3c8f2f73a98cd4/urllib3-2.2.2-py3-none-any.whl.metadata
Downloading urllib3-2.2.2-py3-none-any.whl.metadata (6.4 kB)
Collecting certifi>=2017.4.17 (from requests>=2.19.0->pooch>=1.1->librosa>=0.9.1->-r requirements_demos.txt (line 1))
Obtaining dependency information for certifi>=2017.4.17 from https://files.pythonhosted.org/packages/1c/d5/c84e1a17bf61d4df64ca866a1c9a913874b4e9bdc131ec689a0ad013fb36/certifi-2024.7.4-py3-none-any.whl.metadata
Downloading certifi-2024.7.4-py3-none-any.whl.metadata (2.2 kB)
Downloading librosa-0.10.2.post1-py3-none-any.whl (260 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 260.1/260.1 kB 15.6 MB/s eta 0:00:00
Downloading numpy-2.0.1-cp311-cp311-win_amd64.whl (16.6 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 16.6/16.6 MB 17.2 MB/s eta 0:00:00
Downloading torch-2.4.0-cp311-cp311-win_amd64.whl (197.9 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 197.9/197.9 MB 16.4 MB/s eta 0:00:00
Downloading scipy-1.14.0-cp311-cp311-win_amd64.whl (44.7 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 44.7/44.7 MB 16.8 MB/s eta 0:00:00
Downloading matplotlib-3.9.1.post1-cp311-cp311-win_amd64.whl (8.0 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 8.0/8.0 MB 17.0 MB/s eta 0:00:00
Downloading sounddevice-0.5.0-py3-none-win_amd64.whl (189 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 189.8/189.8 kB 11.2 MB/s eta 0:00:00
Downloading tqdm-4.66.5-py3-none-any.whl (78 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 78.4/78.4 kB 4.3 MB/s eta 0:00:00
Downloading umap_learn-0.5.6-py3-none-any.whl (85 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 85.7/85.7 kB ? eta 0:00:00
Downloading audioread-3.0.1-py3-none-any.whl (23 kB)
Downloading cffi-1.17.0-cp311-cp311-win_amd64.whl (180 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 180.8/180.8 kB 10.7 MB/s eta 0:00:00
Downloading contourpy-1.2.1-cp311-cp311-win_amd64.whl (188 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 188.2/188.2 kB ? eta 0:00:00
Downloading cycler-0.12.1-py3-none-any.whl (8.3 kB)
Downloading decorator-5.1.1-py3-none-any.whl (9.1 kB)
Downloading fonttools-4.53.1-cp311-cp311-win_amd64.whl (2.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.2/2.2 MB 17.6 MB/s eta 0:00:00
Downloading joblib-1.4.2-py3-none-any.whl (301 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 301.8/301.8 kB 18.2 MB/s eta 0:00:00
Downloading kiwisolver-1.4.5-cp311-cp311-win_amd64.whl (56 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 56.1/56.1 kB ? eta 0:00:00
Downloading lazy_loader-0.4-py3-none-any.whl (12 kB)
Downloading msgpack-1.0.8-cp311-cp311-win_amd64.whl (75 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 75.2/75.2 kB ? eta 0:00:00
Downloading numba-0.60.0-cp311-cp311-win_amd64.whl (2.7 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.7/2.7 MB 15.6 MB/s eta 0:00:00
Downloading packaging-24.1-py3-none-any.whl (53 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 54.0/54.0 kB ? eta 0:00:00
Downloading pillow-10.4.0-cp311-cp311-win_amd64.whl (2.6 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.6/2.6 MB 18.2 MB/s eta 0:00:00
Downloading pooch-1.8.2-py3-none-any.whl (64 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 64.6/64.6 kB ? eta 0:00:00
Downloading pynndescent-0.5.13-py3-none-any.whl (56 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 56.9/56.9 kB ? eta 0:00:00
Downloading pyparsing-3.1.2-py3-none-any.whl (103 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 103.2/103.2 kB ? eta 0:00:00
Downloading python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 229.9/229.9 kB 14.6 MB/s eta 0:00:00
Downloading scikit_learn-1.5.1-cp311-cp311-win_amd64.whl (11.0 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.0/11.0 MB 17.2 MB/s eta 0:00:00
Downloading soundfile-0.12.1-py2.py3-none-win_amd64.whl (1.0 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.0/1.0 MB 16.1 MB/s eta 0:00:00
Downloading soxr-0.4.0-cp311-cp311-win_amd64.whl (184 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 184.7/184.7 kB ? eta 0:00:00
Downloading typing_extensions-4.12.2-py3-none-any.whl (37 kB)
Downloading colorama-0.4.6-py2.py3-none-any.whl (25 kB)
Downloading filelock-3.15.4-py3-none-any.whl (16 kB)
Downloading fsspec-2024.6.1-py3-none-any.whl (177 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 177.6/177.6 kB ? eta 0:00:00
Downloading jinja2-3.1.4-py3-none-any.whl (133 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.3/133.3 kB 7.7 MB/s eta 0:00:00
Downloading networkx-3.3-py3-none-any.whl (1.7 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.7/1.7 MB 15.5 MB/s eta 0:00:00
Downloading sympy-1.13.2-py3-none-any.whl (6.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.2/6.2 MB 16.5 MB/s eta 0:00:00
Downloading llvmlite-0.43.0-cp311-cp311-win_amd64.whl (28.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 28.1/28.1 MB 17.2 MB/s eta 0:00:00
Downloading MarkupSafe-2.1.5-cp311-cp311-win_amd64.whl (17 kB)
Downloading mpmath-1.3.0-py3-none-any.whl (536 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 536.2/536.2 kB 16.4 MB/s eta 0:00:00
Downloading platformdirs-4.2.2-py3-none-any.whl (18 kB)
Downloading requests-2.32.3-py3-none-any.whl (64 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 64.9/64.9 kB 3.4 MB/s eta 0:00:00
Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
Downloading threadpoolctl-3.5.0-py3-none-any.whl (18 kB)
Downloading pycparser-2.22-py3-none-any.whl (117 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 117.6/117.6 kB ? eta 0:00:00
Downloading certifi-2024.7.4-py3-none-any.whl (162 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 163.0/163.0 kB ? eta 0:00:00
Downloading charset_normalizer-3.3.2-cp311-cp311-win_amd64.whl (99 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 99.9/99.9 kB ? eta 0:00:00
Downloading idna-3.7-py3-none-any.whl (66 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 66.8/66.8 kB ? eta 0:00:00
Downloading urllib3-2.2.2-py3-none-any.whl (121 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 121.4/121.4 kB ? eta 0:00:00
Building wheels for collected packages: webrtcvad, typing
Building wheel for webrtcvad (pyproject.toml) ... done
Created wheel for webrtcvad: filename=webrtcvad-2.0.10-cp311-cp311-win_amd64.whl size=18863 sha256=d79693f1272d061ac7cc4825bedd2a03093e233f511c657198f80cd8a025fb83
Stored in directory: C:\Users\Bradley\AppData\Local\Temp\pip-ephem-wheel-cache-9bdci5tl\wheels\94\65\3f\292d0b656be33d1c801831201c74b5f68f41a2ae465ff2ee2f
Building wheel for typing (pyproject.toml) ... done
Created wheel for typing: filename=typing-3.7.4.3-py3-none-any.whl size=26327 sha256=f3de29afd5528526c1a6ffb3f11c732012dcaf2995a0ace40c7be80b52fc0ee5
Stored in directory: C:\Users\Bradley\AppData\Local\Temp\pip-ephem-wheel-cache-9bdci5tl\wheels\9d\67\2f\53e3ef32ec48d11d7d60245255e2d71e908201d20c880c08ee
Successfully built webrtcvad typing
Installing collected packages: webrtcvad, mpmath, urllib3, typing-extensions, typing, threadpoolctl, sympy, six, pyparsing, pycparser, platformdirs, pillow, packaging, numpy, networkx, msgpack, MarkupSafe, llvmlite, kiwisolver, joblib, idna, fsspec, fonttools, filelock, decorator, cycler, colorama, charset-normalizer, certifi, audioread, tqdm, soxr, scipy, requests, python-dateutil, numba, lazy-loader, jinja2, contourpy, CFFI, torch, soundfile, sounddevice, scikit-learn, pooch, matplotlib, pynndescent, librosa, umap-learn
Successfully installed CFFI-1.17.0 MarkupSafe-2.1.5 audioread-3.0.1 certifi-2024.7.4 charset-normalizer-3.3.2 colorama-0.4.6 contourpy-1.2.1 cycler-0.12.1 decorator-5.1.1 filelock-3.15.4 fonttools-4.53.1 fsspec-2024.6.1 idna-3.7 jinja2-3.1.4 joblib-1.4.2 kiwisolver-1.4.5 lazy-loader-0.4 librosa-0.10.2.post1 llvmlite-0.43.0 matplotlib-3.9.1.post1 mpmath-1.3.0 msgpack-1.0.8 networkx-3.3 numba-0.60.0 numpy-2.0.1 packaging-24.1 pillow-10.4.0 platformdirs-4.2.2 pooch-1.8.2 pycparser-2.22 pynndescent-0.5.13 pyparsing-3.1.2 python-dateutil-2.9.0.post0 requests-2.32.3 scikit-learn-1.5.1 scipy-1.14.0 six-1.16.0 sounddevice-0.5.0 soundfile-0.12.1 soxr-0.4.0 sympy-1.13.2 threadpoolctl-3.5.0 torch-2.4.0 tqdm-4.66.5 typing-3.7.4.3 typing-extensions-4.12.2 umap-learn-0.5.6 urllib3-2.2.2 webrtcvad-2.0.10

[notice] A new release of pip is available: 23.2.1 -> 24.2
[notice] To update, run: python.exe -m pip install --upgrade pip

(resemblyzer-env) (base) C:\Users\Bradley\Downloads\Resemblyzer-master\resembler>pip install requirements_package.txt
Looking in indexes: https://pypi.org/simple, https://pypi.ngc.nvidia.com
ERROR: Could not find a version that satisfies the requirement requirements_package.txt (from versions: none)
ERROR: No matching distribution found for requirements_package.txt

[notice] A new release of pip is available: 23.2.1 -> 24.2
[notice] To update, run: python.exe -m pip install --upgrade pip

(resemblyzer-env) (base) C:\Users\Bradley\Downloads\Resemblyzer-master\resembler>pip install -r requirements_package.txt

Looking in indexes: https://pypi.org/simple, https://pypi.ngc.nvidia.com
Requirement already satisfied: librosa>=0.9.1 in c:\users\bradley\downloads\resemblyzer-master\resembler\resemblyzer-env\lib\site-packages (from -r requirements_package.txt (line 1)) (0.10.2.post1)
Requirement already satisfied: numpy>=1.20.0 in c:\users\bradley\downloads\resemblyzer-master\resembler\resemblyzer-env\lib\site-packages (from -r requirements_package.txt (line 2)) (2.0.1)
Requirement already satisfied: webrtcvad>=2.0.10 in c:\users\bradley\downloads\resemblyzer-master\resembler\resemblyzer-env\lib\site-packages (from -r requirements_package.txt (line 3)) (2.0.10)
Requirement already satisfied: torch>=1.0.1 in c:\users\bradley\downloads\resemblyzer-master\resembler\resemblyzer-env\lib\site-packages (from -r requirements_package.txt (line 4)) (2.4.0)
Requirement already satisfied: scipy>=1.2.1 in c:\users\bradley\downloads\resemblyzer-master\resembler\resemblyzer-env\lib\site-packages (from -r requirements_package.txt (line 5)) (1.14.0)
Requirement already satisfied: typing in c:\users\bradley\downloads\resemblyzer-master\resembler\resemblyzer-env\lib\site-packages (from -r requirements_package.txt (line 6)) (3.7.4.3)
Requirement already satisfied: audioread>=2.1.9 in c:\users\bradley\downloads\resemblyzer-master\resembler\resemblyzer-env\lib\site-packages (from librosa>=0.9.1->-r requirements_package.txt (line 1)) (3.0.1)
Requirement already satisfied: scikit-learn>=0.20.0 in c:\users\bradley\downloads\resemblyzer-master\resembler\resemblyzer-env\lib\site-packages (from librosa>=0.9.1->-r requirements_package.txt (line 1)) (1.5.1)
Requirement already satisfied: joblib>=0.14 in c:\users\bradley\downloads\resemblyzer-master\resembler\resemblyzer-env\lib\site-packages (from librosa>=0.9.1->-r requirements_package.txt (line 1)) (1.4.2)
Requirement already satisfied: decorator>=4.3.0 in c:\users\bradley\downloads\resemblyzer-master\resembler\resemblyzer-env\lib\site-packages (from librosa>=0.9.1->-r requirements_package.txt (line 1)) (5.1.1)
Requirement already satisfied: numba>=0.51.0 in c:\users\bradley\downloads\resemblyzer-master\resembler\resemblyzer-env\lib\site-packages (from librosa>=0.9.1->-r requirements_package.txt (line 1)) (0.60.0)
Requirement already satisfied: soundfile>=0.12.1 in c:\users\bradley\downloads\resemblyzer-master\resembler\resemblyzer-env\lib\site-packages (from librosa>=0.9.1->-r requirements_package.txt (line 1)) (0.12.1)
Requirement already satisfied: pooch>=1.1 in c:\users\bradley\downloads\resemblyzer-master\resembler\resemblyzer-env\lib\site-packages (from librosa>=0.9.1->-r requirements_package.txt (line 1)) (1.8.2)
Requirement already satisfied: soxr>=0.3.2 in c:\users\bradley\downloads\resemblyzer-master\resembler\resemblyzer-env\lib\site-packages (from librosa>=0.9.1->-r requirements_package.txt (line 1)) (0.4.0)
Requirement already satisfied: typing-extensions>=4.1.1 in c:\users\bradley\downloads\resemblyzer-master\resembler\resemblyzer-env\lib\site-packages (from librosa>=0.9.1->-r requirements_package.txt (line 1)) (4.12.2)
Requirement already satisfied: lazy-loader>=0.1 in c:\users\bradley\downloads\resemblyzer-master\resembler\resemblyzer-env\lib\site-packages (from librosa>=0.9.1->-r requirements_package.txt (line 1)) (0.4)
Requirement already satisfied: msgpack>=1.0 in c:\users\bradley\downloads\resemblyzer-master\resembler\resemblyzer-env\lib\site-packages (from librosa>=0.9.1->-r requirements_package.txt (line 1)) (1.0.8)
Requirement already satisfied: filelock in c:\users\bradley\downloads\resemblyzer-master\resembler\resemblyzer-env\lib\site-packages (from torch>=1.0.1->-r requirements_package.txt (line 4)) (3.15.4)
Requirement already satisfied: sympy in c:\users\bradley\downloads\resemblyzer-master\resembler\resemblyzer-env\lib\site-packages (from torch>=1.0.1->-r requirements_package.txt (line 4)) (1.13.2)
Requirement already satisfied: networkx in c:\users\bradley\downloads\resemblyzer-master\resembler\resemblyzer-env\lib\site-packages (from torch>=1.0.1->-r requirements_package.txt (line 4)) (3.3)
Requirement already satisfied: jinja2 in c:\users\bradley\downloads\resemblyzer-master\resembler\resemblyzer-env\lib\site-packages (from torch>=1.0.1->-r requirements_package.txt (line 4)) (3.1.4)
Requirement already satisfied: fsspec in c:\users\bradley\downloads\resemblyzer-master\resembler\resemblyzer-env\lib\site-packages (from torch>=1.0.1->-r requirements_package.txt (line 4)) (2024.6.1)
Requirement already satisfied: packaging in c:\users\bradley\downloads\resemblyzer-master\resembler\resemblyzer-env\lib\site-packages (from lazy-loader>=0.1->librosa>=0.9.1->-r requirements_package.txt (line 1)) (24.1)
Requirement already satisfied: llvmlite<0.44,>=0.43.0dev0 in c:\users\bradley\downloads\resemblyzer-master\resembler\resemblyzer-env\lib\site-packages (from numba>=0.51.0->librosa>=0.9.1->-r requirements_package.txt (line 1)) (0.43.0)
Requirement already satisfied: platformdirs>=2.5.0 in c:\users\bradley\downloads\resemblyzer-master\resembler\resemblyzer-env\lib\site-packages (from pooch>=1.1->librosa>=0.9.1->-r requirements_package.txt (line 1)) (4.2.2)
Requirement already satisfied: requests>=2.19.0 in c:\users\bradley\downloads\resemblyzer-master\resembler\resemblyzer-env\lib\site-packages (from pooch>=1.1->librosa>=0.9.1->-r requirements_package.txt (line 1)) (2.32.3)
Requirement already satisfied: threadpoolctl>=3.1.0 in c:\users\bradley\downloads\resemblyzer-master\resembler\resemblyzer-env\lib\site-packages (from scikit-learn>=0.20.0->librosa>=0.9.1->-r requirements_package.txt (line 1)) (3.5.0)
Requirement already satisfied: cffi>=1.0 in c:\users\bradley\downloads\resemblyzer-master\resembler\resemblyzer-env\lib\site-packages (from soundfile>=0.12.1->librosa>=0.9.1->-r requirements_package.txt (line 1)) (1.17.0)
Requirement already satisfied: MarkupSafe>=2.0 in c:\users\bradley\downloads\resemblyzer-master\resembler\resemblyzer-env\lib\site-packages (from jinja2->torch>=1.0.1->-r requirements_package.txt (line 4)) (2.1.5)
Requirement already satisfied: mpmath<1.4,>=1.1.0 in c:\users\bradley\downloads\resemblyzer-master\resembler\resemblyzer-env\lib\site-packages (from sympy->torch>=1.0.1->-r requirements_package.txt (line 4)) (1.3.0)
Requirement already satisfied: pycparser in c:\users\bradley\downloads\resemblyzer-master\resembler\resemblyzer-env\lib\site-packages (from cffi>=1.0->soundfile>=0.12.1->librosa>=0.9.1->-r requirements_package.txt (line 1)) (2.22)
Requirement already satisfied: charset-normalizer<4,>=2 in c:\users\bradley\downloads\resemblyzer-master\resembler\resemblyzer-env\lib\site-packages (from requests>=2.19.0->pooch>=1.1->librosa>=0.9.1->-r requirements_package.txt (line 1)) (3.3.2)
Requirement already satisfied: idna<4,>=2.5 in c:\users\bradley\downloads\resemblyzer-master\resembler\resemblyzer-env\lib\site-packages (from requests>=2.19.0->pooch>=1.1->librosa>=0.9.1->-r requirements_package.txt (line 1)) (3.7)
Requirement already satisfied: urllib3<3,>=1.21.1 in c:\users\bradley\downloads\resemblyzer-master\resembler\resemblyzer-env\lib\site-packages (from requests>=2.19.0->pooch>=1.1->librosa>=0.9.1->-r requirements_package.txt (line 1)) (2.2.2)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\bradley\downloads\resemblyzer-master\resembler\resemblyzer-env\lib\site-packages (from requests>=2.19.0->pooch>=1.1->librosa>=0.9.1->-r requirements_package.txt (line 1)) (2024.7.4)

[notice] A new release of pip is available: 23.2.1 -> 24.2
[notice] To update, run: python.exe -m pip install --upgrade pip

(resemblyzer-env) (base) C:\Users\Bradley\Downloads\Resemblyzer-master\resembler>python demo01_similarity.py

A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.0.1 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.

If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.

Traceback (most recent call last): File "C:\Users\Bradley\Downloads\Resemblyzer-master\resembler\demo01_similarity.py", line 1, in
from resemblyzer import preprocess_wav, VoiceEncoder
File "C:\Users\Bradley\Downloads\Resemblyzer-master\resembler\resemblyzer_init_.py", line 6, in
from resemblyzer.voice_encoder import VoiceEncoder
File "C:\Users\Bradley\Downloads\Resemblyzer-master\resembler\resemblyzer\voice_encoder.py", line 5, in
from torch import nn
File "C:\Users\Bradley\Downloads\Resemblyzer-master\resembler\resemblyzer-env\Lib\site-packages\torch_init_.py", line 2120, in
from torch.higher_order_ops import cond
File "C:\Users\Bradley\Downloads\Resemblyzer-master\resembler\resemblyzer-env\Lib\site-packages\torch_higher_order_ops_init
.py", line 1, in
from .cond import cond
File "C:\Users\Bradley\Downloads\Resemblyzer-master\resembler\resemblyzer-env\Lib\site-packages\torch_higher_order_ops\cond.py", line 5, in
import torch._subclasses.functional_tensor
File "C:\Users\Bradley\Downloads\Resemblyzer-master\resembler\resemblyzer-env\Lib\site-packages\torch_subclasses\functional_tensor.py", line 42, in
class FunctionalTensor(torch.Tensor):
File "C:\Users\Bradley\Downloads\Resemblyzer-master\resembler\resemblyzer-env\Lib\site-packages\torch_subclasses\functional_tensor.py", line 258, in FunctionalTensor
cpu = _conversion_method_template(device=torch.device("cpu"))
C:\Users\Bradley\Downloads\Resemblyzer-master\resembler\resemblyzer-env\Lib\site-packages\torch_subclasses\functional_tensor.py:258: UserWarning: Failed to initialize NumPy: _ARRAY_API not found (Triggered internally at C:\actions-runner_work\pytorch\pytorch\builder\windows\pytorch\torch\csrc\utils\tensor_numpy.cpp:84.)
cpu = _conversion_method_template(device=torch.device("cpu"))
C:\Users\Bradley\Downloads\Resemblyzer-master\resembler\resemblyzer\voice_encoder.py:43: FutureWarning: You are using torch.load with weights_only=False (the current default value), which uses the default pickle module implicitly. It is possible to construct malicious pickle data which will execute arbitrary code during unpickling (See https://github.com/pytorch/pytorch/blob/main/SECURITY.md#untrusted-models for more details). In a future release, the default value for weights_only will be flipped to True. This limits the functions that could be executed during unpickling. Arbitrary objects will no longer be allowed to be loaded via this mode unless they are explicitly allowlisted by the user via torch.serialization.add_safe_globals. We recommend you start setting weights_only=True for any use case where you don't have full control of the loaded file. Please open an issue on GitHub for any issues related to this experimental feature.
checkpoint = torch.load(weights_fpath, map_location="cpu")
Loaded the voice encoder model on cpu in 0.01 seconds.
Preprocessing wavs: 100%|█████████████████████████████████████████████████████████| 100/100 [00:12<00:00, 8.02wavs/s]
Traceback (most recent call last):
File "C:\Users\Bradley\Downloads\Resemblyzer-master\resembler\demo01_similarity.py", line 37, in
embeds_a = np.array([encoder.embed_utterance(wavs[0]) for wavs in speaker_wavs.values()])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Bradley\Downloads\Resemblyzer-master\resembler\demo01_similarity.py", line 37, in
embeds_a = np.array([encoder.embed_utterance(wavs[0]) for wavs in speaker_wavs.values()])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Bradley\Downloads\Resemblyzer-master\resembler\resemblyzer\voice_encoder.py", line 155, in embed_utterance
mels = torch.from_numpy(mels).to(self.device)
^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: Numpy is not available

(resemblyzer-env) (base) C:\Users\Bradley\Downloads\Resemblyzer-master\resembler>pip install Numpy
Looking in indexes: https://pypi.org/simple, https://pypi.ngc.nvidia.com
Requirement already satisfied: Numpy in c:\users\bradley\downloads\resemblyzer-master\resembler\resemblyzer-env\lib\site-packages (2.0.1)

(resemblyzer-env) (base) C:\Users\Bradley\Downloads\Resemblyzer-master\resembler>
any help would be appreciated :)
i saw this in the code however so maybe this will give leads: A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.0.1 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.

@natashafreda
Copy link

did u fix this ? i hve the same problem as u

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants