negdo / Sound_Nodes

Unleash the power of sound in your Blender animations with Sound Nodes! Easily analyze audio, harness its features in Geometry Nodes, and create stunning audio-visual masterpieces.
GNU General Public License v3.0
23 stars 3 forks source link

never installs #3

Open RiceWitch opened 1 year ago

RiceWitch commented 1 year ago

says it installed but no option to enable it is to be found. Please fix it, I am using 3.5 so I have no idea how it would be broken.

negdo commented 1 year ago

I cannot seem to reproduce your issue. Could you please provide more details on where exactly you downloaded the file and what steps you took during installation?

You should download the .zip file directly from GitHub or Blender Market. It should not be unzipped before installing.

Can you search for the addon in edit>preferences>addons and check, if it is already installed? What message does blender display on the bottom bar, when you click install?

genesis2303 commented 1 year ago

I'm having issue installing this librosa dependencies. Tried in 3.5.1 and latest, so far I only managed to install it on 3.4 when it was 1.0.0 version yet. over 3.4 I get pretty much this in both 3.5 and 3.6

Looking in links: c:\Users\Gamer\AppData\Local\Temp\tmp4e41tviu Requirement already satisfied: setuptools in c:\blender alpha\daily\blender-3.6.0-alpha+daily.521e79b86912\3.6\python\lib\site-packages (67.7.2) Requirement already satisfied: pip in c:\blender alpha\daily\blender-3.6.0-alpha+daily.521e79b86912\3.6\python\lib\site-packages (23.1.2) installing to site-packages Collecting librosa==0.9.2 Using cached librosa-0.9.2-py3-none-any.whl (214 kB) Collecting audioread>=2.1.9 (from librosa==0.9.2) Using cached audioread-3.0.0-py3-none-any.whl Collecting numpy>=1.17.0 (from librosa==0.9.2) Using cached numpy-1.24.3-cp310-cp310-win_amd64.whl (14.8 MB) Collecting scipy>=1.2.0 (from librosa==0.9.2) Using cached scipy-1.10.1-cp310-cp310-win_amd64.whl (42.5 MB) Collecting scikit-learn>=0.19.1 (from librosa==0.9.2) Using cached scikit_learn-1.2.2-cp310-cp310-win_amd64.whl (8.3 MB) Collecting joblib>=0.14 (from librosa==0.9.2) Using cached joblib-1.2.0-py3-none-any.whl (297 kB) Collecting decorator>=4.0.10 (from librosa==0.9.2) Using cached decorator-5.1.1-py3-none-any.whl (9.1 kB) Collecting resampy>=0.2.2 (from librosa==0.9.2) Using cached resampy-0.4.2-py3-none-any.whl (3.1 MB) Collecting numba>=0.45.1 (from librosa==0.9.2) Using cached numba-0.57.0-cp310-cp310-win_amd64.whl (2.6 MB) Collecting soundfile>=0.10.2 (from librosa==0.9.2) Using cached soundfile-0.12.1-py2.py3-none-win_amd64.whl (1.0 MB) Collecting pooch>=1.0 (from librosa==0.9.2) Using cached pooch-1.7.0-py3-none-any.whl (60 kB) Collecting packaging>=20.0 (from librosa==0.9.2) Using cached packaging-23.1-py3-none-any.whl (48 kB) Collecting llvmlite<0.41,>=0.40.0dev0 (from numba>=0.45.1->librosa==0.9.2) Using cached llvmlite-0.40.0-cp310-cp310-win_amd64.whl (27.7 MB) Collecting platformdirs>=2.5.0 (from pooch>=1.0->librosa==0.9.2) Using cached platformdirs-3.5.0-py3-none-any.whl (15 kB) Collecting requests>=2.19.0 (from pooch>=1.0->librosa==0.9.2) Using cached requests-2.30.0-py3-none-any.whl (62 kB) Collecting threadpoolctl>=2.0.0 (from scikit-learn>=0.19.1->librosa==0.9.2) Using cached threadpoolctl-3.1.0-py3-none-any.whl (14 kB) Collecting cffi>=1.0 (from soundfile>=0.10.2->librosa==0.9.2) Using cached cffi-1.15.1-cp310-cp310-win_amd64.whl (179 kB) Collecting pycparser (from cffi>=1.0->soundfile>=0.10.2->librosa==0.9.2) Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB) Collecting charset-normalizer<4,>=2 (from requests>=2.19.0->pooch>=1.0->librosa==0.9.2) Using cached charset_normalizer-3.1.0-cp310-cp310-win_amd64.whl (97 kB) Collecting idna<4,>=2.5 (from requests>=2.19.0->pooch>=1.0->librosa==0.9.2) Using cached idna-3.4-py3-none-any.whl (61 kB) Collecting urllib3<3,>=1.21.1 (from requests>=2.19.0->pooch>=1.0->librosa==0.9.2) Using cached urllib3-2.0.2-py3-none-any.whl (123 kB) Collecting certifi>=2017.4.17 (from requests>=2.19.0->pooch>=1.0->librosa==0.9.2) Using cached certifi-2023.5.7-py3-none-any.whl (156 kB) Installing collected packages: urllib3, threadpoolctl, pycparser, platformdirs, packaging, numpy, llvmlite, joblib, idna, decorator, charset-normalizer, certifi, audioread, scipy, requests, numba, cffi, soundfile, scikit-learn, resampy, pooch, librosa Successfully installed audioread-3.0.0 certifi-2023.5.7 cffi-1.15.1 charset-normalizer-3.1.0 decorator-5.1.1 idna-3.4 joblib-1.2.0 librosa-0.9.2 llvmlite-0.40.0 numba-0.57.0 numpy-1.24.3 packaging-23.1 platformdirs-3.5.0 pooch-1.7.0 pycparser-2.21 requests-2.30.0 resampy-0.4.2 scikit-learn-1.2.2 scipy-1.10.1 soundfile-0.12.1 threadpoolctl-3.1.0 urllib3-2.0.2WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.521e79b86912\3.6\python\lib\site-packages\audioread already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.521e79b86912\3.6\python\lib\site-packages\certifi already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.521e79b86912\3.6\python\lib\site-packages\certifi-2023.5.7.dist-info already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.521e79b86912\3.6\python\lib\site-packages\cffi already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.521e79b86912\3.6\python\lib\site-packages\cffi-1.15.1.dist-info already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.521e79b86912\3.6\python\lib\site-packages\charset_normalizer already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.521e79b86912\3.6\python\lib\site-packages\charset_normalizer-3.1.0.dist-info already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.521e79b86912\3.6\python\lib\site-packages\decorator-5.1.1.dist-info already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.521e79b86912\3.6\python\lib\site-packages\decorator.py already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.521e79b86912\3.6\python\lib\site-packages\idna already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.521e79b86912\3.6\python\lib\site-packages\idna-3.4.dist-info already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.521e79b86912\3.6\python\lib\site-packages\joblib already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.521e79b86912\3.6\python\lib\site-packages\joblib-1.2.0.dist-info already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.521e79b86912\3.6\python\lib\site-packages\llvmlite already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.521e79b86912\3.6\python\lib\site-packages\llvmlite-0.40.0.dist-info already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.521e79b86912\3.6\python\lib\site-packages\numba already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.521e79b86912\3.6\python\lib\site-packages\numba-0.57.0.dist-info already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.521e79b86912\3.6\python\lib\site-packages\numpy already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.521e79b86912\3.6\python\lib\site-packages\numpy-1.24.3.dist-info already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.521e79b86912\3.6\python\lib\site-packages\packaging already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.521e79b86912\3.6\python\lib\site-packages\packaging-23.1.dist-info already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.521e79b86912\3.6\python\lib\site-packages\platformdirs already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.521e79b86912\3.6\python\lib\site-packages\platformdirs-3.5.0.dist-info already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.521e79b86912\3.6\python\lib\site-packages\pooch already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.521e79b86912\3.6\python\lib\site-packages\pooch-1.7.0.dist-info already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.521e79b86912\3.6\python\lib\site-packages\pycparser already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.521e79b86912\3.6\python\lib\site-packages\pycparser-2.21.dist-info already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.521e79b86912\3.6\python\lib\site-packages\requests already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.521e79b86912\3.6\python\lib\site-packages\requests-2.30.0.dist-info already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.521e79b86912\3.6\python\lib\site-packages\resampy already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.521e79b86912\3.6\python\lib\site-packages\resampy-0.4.2.dist-info already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.521e79b86912\3.6\python\lib\site-packages\scikit_learn-1.2.2.dist-info already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.521e79b86912\3.6\python\lib\site-packages\scipy already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.521e79b86912\3.6\python\lib\site-packages\scipy-1.10.1-cp310-cp310-win_amd64.whl already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.521e79b86912\3.6\python\lib\site-packages\scipy-1.10.1.dist-info already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.521e79b86912\3.6\python\lib\site-packages\scipy.libs already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.521e79b86912\3.6\python\lib\site-packages\sklearn already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.521e79b86912\3.6\python\lib\site-packages\soundfile-0.12.1.dist-info already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.521e79b86912\3.6\python\lib\site-packages\soundfile.py already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.521e79b86912\3.6\python\lib\site-packages\threadpoolctl-3.1.0.dist-info already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.521e79b86912\3.6\python\lib\site-packages\threadpoolctl.py already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.521e79b86912\3.6\python\lib\site-packages\urllib3 already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.521e79b86912\3.6\python\lib\site-packages\urllib3-2.0.2.dist-info already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.521e79b86912\3.6\python\lib\site-packages\_cffi_backend.cp310-win_amd64.pyd already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.521e79b86912\3.6\python\lib\site-packages\_soundfile.py already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.521e79b86912\3.6\python\lib\site-packages\_soundfile_data already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.521e79b86912\3.6\python\lib\site-packages\__pycache__ already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.521e79b86912\3.6\python\lib\site-packages\bin already exists. Specify --upgrade to force replacement.

negdo commented 1 year ago

First try removing librosa by clicking the remove button in the preferences to uninstall librosa, then also remove the addon. Then try running the following script inside Blender's script editor. (It should remove librosa and also its cached version from your system)

import sys
import os
import subprocess
python_exe = os.path.join(sys.executable)
subprocess.call([python_exe, "-m", "pip", "cache", "remove", "*"])
subprocess.call([python_exe, "-m", "pip", "uninstall", "-y", "librosa"])

Restart Blender and download the newest version of the addon (currently 1.0.1). Install the addon the normal way and install dependencies and restart Blender for good measure.

I hope this works for you.

genesis2303 commented 1 year ago

Trying to run script gives me this: Error: Python: File "\Text.001", line 1 import sys import os import subprocess python_exe = os.path.join(sys.executable) site_packages = os.path.join(sys.prefix, 'lib', 'site-packages') subprocess.call([python_exe, "-m", "pip", "cache", "remove", "*"]) subprocess.call([python_exe, "-m", "pip", "uninstall", "-y", "librosa"]) ^^^^^^ SyntaxError: invalid syntax

(in 3.6)

and this: Python: File "\Text", line 1 import sys import os import subprocess python_exe = os.path.join(sys.executable) site_packages = os.path.join(sys.prefix, 'lib', 'site-packages') subprocess.call([python_exe, "-m", "pip", "cache", "remove", "*"]) subprocess.call([python_exe, "-m", "pip", "uninstall", "-y", "librosa"]) ^^^^^^ SyntaxError: invalid syntax in Blender 3.5

negdo commented 1 year ago

Sorry, the script wasn't formated correctly. I edited the message, you should try again.

genesis2303 commented 1 year ago

Modules Installed (SoundNodes-Lite) from 'E:\Blender things\ADDONS\SoundNodes-Lite.zip' into 'C:\Users\Gamer\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons' Looking in links: c:\Users\Gamer\AppData\Local\Temp\tmpbt3wp0xm Requirement already satisfied: setuptools in c:\blender alpha\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages (63.2.0) Requirement already satisfied: pip in c:\blender alpha\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages (22.3.1) installing to site-packages Collecting librosa==0.9.2 Downloading librosa-0.9.2-py3-none-any.whl (214 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 214.3/214.3 kB 2.6 MB/s eta 0:00:00 Collecting packaging>=20.0 Downloading packaging-23.1-py3-none-any.whl (48 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.9/48.9 kB 495.7 kB/s eta 0:00:00 Collecting audioread>=2.1.9 Downloading audioread-3.0.0.tar.gz (377 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 377.0/377.0 kB 2.9 MB/s eta 0:00:00 Preparing metadata (setup.py) ... done Collecting joblib>=0.14 Downloading joblib-1.2.0-py3-none-any.whl (297 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 298.0/298.0 kB 2.6 MB/s eta 0:00:00 Collecting scikit-learn>=0.19.1 Downloading scikit_learn-1.2.2-cp310-cp310-win_amd64.whl (8.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 8.3/8.3 MB 2.6 MB/s eta 0:00:00 Collecting decorator>=4.0.10 Downloading decorator-5.1.1-py3-none-any.whl (9.1 kB) Collecting numba>=0.45.1 Downloading numba-0.57.0-cp310-cp310-win_amd64.whl (2.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.6/2.6 MB 2.6 MB/s eta 0:00:00 Collecting soundfile>=0.10.2 Downloading soundfile-0.12.1-py2.py3-none-win_amd64.whl (1.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.0/1.0 MB 2.6 MB/s eta 0:00:00 Collecting pooch>=1.0 Downloading pooch-1.7.0-py3-none-any.whl (60 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 60.9/60.9 kB ? eta 0:00:00 Collecting scipy>=1.2.0 Downloading scipy-1.10.1-cp310-cp310-win_amd64.whl (42.5 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 42.5/42.5 MB 2.5 MB/s eta 0:00:00 Collecting resampy>=0.2.2 Downloading resampy-0.4.2-py3-none-any.whl (3.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.1/3.1 MB 2.6 MB/s eta 0:00:00 Collecting numpy>=1.17.0 Downloading numpy-1.24.3-cp310-cp310-win_amd64.whl (14.8 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 14.8/14.8 MB 2.6 MB/s eta 0:00:00 Collecting llvmlite<0.41,>=0.40.0dev0 Downloading llvmlite-0.40.0-cp310-cp310-win_amd64.whl (27.7 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 27.7/27.7 MB 2.6 MB/s eta 0:00:00 Collecting requests>=2.19.0 Downloading requests-2.30.0-py3-none-any.whl (62 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.5/62.5 kB 1.7 MB/s eta 0:00:00 Collecting platformdirs>=2.5.0 Downloading platformdirs-3.5.0-py3-none-any.whl (15 kB) Collecting threadpoolctl>=2.0.0 Downloading threadpoolctl-3.1.0-py3-none-any.whl (14 kB) Collecting cffi>=1.0 Downloading cffi-1.15.1-cp310-cp310-win_amd64.whl (179 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 179.1/179.1 kB 2.7 MB/s eta 0:00:00 Collecting pycparser Downloading pycparser-2.21-py2.py3-none-any.whl (118 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 118.7/118.7 kB 2.3 MB/s eta 0:00:00 Collecting urllib3<3,>=1.21.1 Downloading urllib3-2.0.2-py3-none-any.whl (123 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 123.2/123.2 kB 2.4 MB/s eta 0:00:00 Collecting certifi>=2017.4.17 Downloading certifi-2023.5.7-py3-none-any.whl (156 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 157.0/157.0 kB 2.4 MB/s eta 0:00:00 Collecting charset-normalizer<4,>=2 Downloading charset_normalizer-3.1.0-cp310-cp310-win_amd64.whl (97 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 97.1/97.1 kB 1.8 MB/s eta 0:00:00 Collecting idna<4,>=2.5 Downloading idna-3.4-py3-none-any.whl (61 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.5/61.5 kB 3.4 MB/s eta 0:00:00 Installing collected packages: urllib3, threadpoolctl, pycparser, platformdirs, packaging, numpy, llvmlite, joblib, idna, decorator, charset-normalizer, certifi, audioread, scipy, requests, numba, cffi, soundfile, scikit-learn, resampy, pooch, librosa DEPRECATION: audioread is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559 Running setup.py install for audioread ... done Successfully installed audioread-3.0.0 certifi-2023.5.7 cffi-1.15.1 charset-normalizer-3.1.0 decorator-5.1.1 idna-3.4 joblib-1.2.0 librosa-0.9.2 llvmlite-0.40.0 numba-0.57.0 numpy-1.24.3 packaging-23.1 platformdirs-3.5.0 pooch-1.7.0 pycparser-2.21 requests-2.30.0 resampy-0.4.2 scikit-learn-1.2.2 scipy-1.10.1 soundfile-0.12.1 threadpoolctl-3.1.0 urllib3-2.0.2 WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\audioread already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\audioread-3.0.0-py3.10.egg-info already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\certifi already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\certifi-2023.5.7.dist-info already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\cffi already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\cffi-1.15.1.dist-info already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\charset_normalizer already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\charset_normalizer-3.1.0.dist-info already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\decorator-5.1.1.dist-info already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\decorator.py already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\idna already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\idna-3.4.dist-info already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\joblib already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\joblib-1.2.0.dist-info already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\llvmlite already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\llvmlite-0.40.0.dist-info already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\numba already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\numba-0.57.0.dist-info already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\numpy already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\numpy-1.24.3.dist-info already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\packaging already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\packaging-23.1.dist-info already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\platformdirs already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\platformdirs-3.5.0.dist-info already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\pooch already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\pooch-1.7.0.dist-info already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\pycparser already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\pycparser-2.21.dist-info already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\requests already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\requests-2.30.0.dist-info already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\resampy already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\resampy-0.4.2.dist-info already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\scikit_learn-1.2.2.dist-info already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\scipy already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\scipy-1.10.1-cp310-cp310-win_amd64.whl already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\scipy-1.10.1.dist-info already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\scipy.libs already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\sklearn already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\soundfile-0.12.1.dist-info already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\soundfile.py already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\threadpoolctl-3.1.0.dist-info already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\threadpoolctl.py already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\urllib3 already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\urllib3-2.0.2.dist-info already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages_cffi_backend.cp310-win_amd64.pyd already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages_soundfile.py already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages_soundfile_data already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages__pycache__ already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\bin already exists. Specify --upgrade to force replacement.

[notice] A new release of pip available: 22.3.1 -> 23.1.2 [notice] To update, run: C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\bin\python.exe -m pip install --upgrade pip

Still missing requirements even after restart.

negdo commented 1 year ago

Interesting, I am currently unsure what could be causing the problem, but I few more Ideas to try.

Let's first try upgrading your pip package manager inside Blender. Run this script:

import sys
import os
import subprocess
python_exe = os.path.join(sys.executable)
subprocess.call([python_exe, "-m", "pip", "install", "--upgrade", "pip"])

Uninstall librosa with previusly mentioned process. And to make sure it is really deleted. Check C:\Users\<username>\AppData\Roaming\Python\Python310\site-packages. If there is a folder named librosa, you should delete it.

Restart Blender and install librosa through the addon again. Make sure you also click Check Installation, it might help.

genesis2303 commented 1 year ago

Folder was empty, still similar resoult:

`Requirement already satisfied: pip in c:\blender alpha\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages (22.3.1) Collecting pip Downloading pip-23.1.2-py3-none-any.whl (2.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.1/2.1 MB 2.4 MB/s eta 0:00:00 Installing collected packages: pip Attempting uninstall: pip Found existing installation: pip 22.3.1 Uninstalling pip-22.3.1: Successfully uninstalled pip-22.3.1 WARNING: The scripts pip.exe, pip3.10.exe and pip3.exe are installed in 'C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\Scripts' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location. Successfully installed pip-23.1.2 Traceback (most recent call last): File "C:\Users\Gamer\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\sverchok-master\core\tasks.py", line 161, in tree_event_loop def tree_event_loop(delay): KeyboardInterrupt Traceback (most recent call last): File "C:\Users\Gamer\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\TexTools-Blender-master\t3dn_bip\previews.py", line 144, in _timer def _timer(self): KeyboardInterrupt Traceback (most recent call last): File "C:\Users\Gamer\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\poliigon-addon-blender\toolbox.py", line 4078, in f_download_handler def f_download_handler() -> int: KeyboardInterrupt Found existing installation: librosa 0.9.2 Uninstalling librosa-0.9.2: Successfully uninstalled librosa-0.9.2 fake_module: addon missing 'bl_info' gives bad performance!: 'C:\Users\Gamer\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\main.py' fake_module: addon missing 'bl_info' gives bad performance!: 'C:\Users\Gamer\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\main.py' addon_utils.disable: SoundNodes-Lite not loaded fake_module: addon missing 'bl_info' gives bad performance!: 'C:\Users\Gamer\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\main.py' Files removed: 46 WARNING: Skipping librosa as it is not installed.

addon_utils.disable: SoundNodes-Lite not disabled Modules Installed (SoundNodes-Lite) from 'E:\Blender things\ADDONS\SoundNodes-Lite.zip' into 'C:\Users\Gamer\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons' Looking in links: c:\Users\Gamer\AppData\Local\Temp\tmppqqhxzi7 Requirement already satisfied: setuptools in c:\blender alpha\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages (63.2.0) Requirement already satisfied: pip in c:\blender alpha\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages (23.1.2) installing to site-packages Collecting librosa==0.9.2 Downloading librosa-0.9.2-py3-none-any.whl (214 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 214.3/214.3 kB 2.2 MB/s eta 0:00:00 Collecting audioread>=2.1.9 (from librosa==0.9.2) Downloading audioread-3.0.0.tar.gz (377 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 377.0/377.0 kB 2.9 MB/s eta 0:00:00 Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Collecting numpy>=1.17.0 (from librosa==0.9.2) Downloading numpy-1.24.3-cp310-cp310-win_amd64.whl (14.8 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 14.8/14.8 MB 2.6 MB/s eta 0:00:00 Collecting scipy>=1.2.0 (from librosa==0.9.2) Downloading scipy-1.10.1-cp310-cp310-win_amd64.whl (42.5 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 42.5/42.5 MB 2.5 MB/s eta 0:00:00 Collecting scikit-learn>=0.19.1 (from librosa==0.9.2) Downloading scikit_learn-1.2.2-cp310-cp310-win_amd64.whl (8.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 8.3/8.3 MB 2.6 MB/s eta 0:00:00 Collecting joblib>=0.14 (from librosa==0.9.2) Downloading joblib-1.2.0-py3-none-any.whl (297 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 298.0/298.0 kB 2.6 MB/s eta 0:00:00 Collecting decorator>=4.0.10 (from librosa==0.9.2) Downloading decorator-5.1.1-py3-none-any.whl (9.1 kB) Collecting resampy>=0.2.2 (from librosa==0.9.2) Downloading resampy-0.4.2-py3-none-any.whl (3.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.1/3.1 MB 2.6 MB/s eta 0:00:00 Collecting numba>=0.45.1 (from librosa==0.9.2) Downloading numba-0.57.0-cp310-cp310-win_amd64.whl (2.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.6/2.6 MB 2.6 MB/s eta 0:00:00 Collecting soundfile>=0.10.2 (from librosa==0.9.2) Downloading soundfile-0.12.1-py2.py3-none-win_amd64.whl (1.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.0/1.0 MB 2.6 MB/s eta 0:00:00 Collecting pooch>=1.0 (from librosa==0.9.2) Downloading pooch-1.7.0-py3-none-any.whl (60 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 60.9/60.9 kB ? eta 0:00:00 Collecting packaging>=20.0 (from librosa==0.9.2) Downloading packaging-23.1-py3-none-any.whl (48 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.9/48.9 kB 2.4 MB/s eta 0:00:00 Collecting llvmlite<0.41,>=0.40.0dev0 (from numba>=0.45.1->librosa==0.9.2) Downloading llvmlite-0.40.0-cp310-cp310-win_amd64.whl (27.7 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 27.7/27.7 MB 2.5 MB/s eta 0:00:00 Collecting platformdirs>=2.5.0 (from pooch>=1.0->librosa==0.9.2) Downloading platformdirs-3.5.0-py3-none-any.whl (15 kB) Collecting requests>=2.19.0 (from pooch>=1.0->librosa==0.9.2) Downloading requests-2.30.0-py3-none-any.whl (62 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.5/62.5 kB 3.3 MB/s eta 0:00:00 Collecting threadpoolctl>=2.0.0 (from scikit-learn>=0.19.1->librosa==0.9.2) Downloading threadpoolctl-3.1.0-py3-none-any.whl (14 kB) Collecting cffi>=1.0 (from soundfile>=0.10.2->librosa==0.9.2) Downloading cffi-1.15.1-cp310-cp310-win_amd64.whl (179 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 179.1/179.1 kB 2.2 MB/s eta 0:00:00 Collecting pycparser (from cffi>=1.0->soundfile>=0.10.2->librosa==0.9.2) Downloading pycparser-2.21-py2.py3-none-any.whl (118 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 118.7/118.7 kB 3.5 MB/s eta 0:00:00 Collecting charset-normalizer<4,>=2 (from requests>=2.19.0->pooch>=1.0->librosa==0.9.2) Downloading charset_normalizer-3.1.0-cp310-cp310-win_amd64.whl (97 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 97.1/97.1 kB 1.8 MB/s eta 0:00:00 Collecting idna<4,>=2.5 (from requests>=2.19.0->pooch>=1.0->librosa==0.9.2) Downloading idna-3.4-py3-none-any.whl (61 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.5/61.5 kB ? eta 0:00:00 Collecting urllib3<3,>=1.21.1 (from requests>=2.19.0->pooch>=1.0->librosa==0.9.2) Downloading urllib3-2.0.2-py3-none-any.whl (123 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 123.2/123.2 kB 2.4 MB/s eta 0:00:00 Collecting certifi>=2017.4.17 (from requests>=2.19.0->pooch>=1.0->librosa==0.9.2) Downloading certifi-2023.5.7-py3-none-any.whl (156 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 157.0/157.0 kB 2.4 MB/s eta 0:00:00 Building wheels for collected packages: audioread Building wheel for audioread (pyproject.toml) ... done Created wheel for audioread: filename=audioread-3.0.0-py3-none-any.whl size=23738 sha256=9f552b8782ee50464f57549e8b55e17df3b6a8d35dbb84397bd3d267d47ab899 Stored in directory: c:\users\gamer\appdata\local\pip\cache\wheels\da\4b\39\c5f6c4ee93b43281dda4dab5ac5f2bdf9d11074d427493cd55 Successfully built audioread Installing collected packages: urllib3, threadpoolctl, pycparser, platformdirs, packaging, numpy, llvmlite, joblib, idna, decorator, charset-normalizer, certifi, audioread, scipy, requests, numba, cffi, soundfile, scikit-learn, resampy, pooch, librosa Successfully installed audioread-3.0.0 certifi-2023.5.7 cffi-1.15.1 charset-normalizer-3.1.0 decorator-5.1.1 idna-3.4 joblib-1.2.0 librosa-0.9.2 llvmlite-0.40.0 numba-0.57.0 numpy-1.24.3 packaging-23.1 platformdirs-3.5.0 pooch-1.7.0 pycparser-2.21 requests-2.30.0 resampy-0.4.2 scikit-learn-1.2.2 scipy-1.10.1 soundfile-0.12.1 threadpoolctl-3.1.0 urllib3-2.0.2 WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\audioread already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\certifi already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\certifi-2023.5.7.dist-info already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\cffi already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\cffi-1.15.1.dist-info already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\charset_normalizer already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\charset_normalizer-3.1.0.dist-info already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\decorator-5.1.1.dist-info already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\decorator.py already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\idna already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\idna-3.4.dist-info already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\joblib already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\joblib-1.2.0.dist-info already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\llvmlite already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\llvmlite-0.40.0.dist-info already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\numba already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\numba-0.57.0.dist-info already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\numpy already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\numpy-1.24.3.dist-info already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\packaging already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\packaging-23.1.dist-info already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\platformdirs already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\platformdirs-3.5.0.dist-info already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\pooch already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\pooch-1.7.0.dist-info already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\pycparser already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\pycparser-2.21.dist-info already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\requests already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\requests-2.30.0.dist-info already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\resampy already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\resampy-0.4.2.dist-info already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\scikit_learn-1.2.2.dist-info already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\scipy already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\scipy-1.10.1-cp310-cp310-win_amd64.whl already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\scipy-1.10.1.dist-info already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\scipy.libs already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\sklearn already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\soundfile-0.12.1.dist-info already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\soundfile.py already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\threadpoolctl-3.1.0.dist-info already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\threadpoolctl.py already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\urllib3 already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\urllib3-2.0.2.dist-info already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages_cffi_backend.cp310-win_amd64.pyd already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages_soundfile.py already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages_soundfile_data already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages__pycache__ already exists. Specify --upgrade to force replacement. WARNING: Target directory C:\BLENDER ALPHA\daily\blender-3.6.0-alpha+daily.8612dfea444a\3.6\python\lib\site-packages\bin already exists. Specify --upgrade to force replacement. Missing requirements`

negdo commented 1 year ago

I think I might see the reason now. Your blender installation might not be on its standard place, so it should be added to Blender's path.

Seems like librosa does install and remove everytime, just Blender isn't able to find it. Please run the following. This should output the path to the place where librosa is installed.

import sys
import os
import subprocess
python_exe = os.path.join(sys.executable)

subprocess.call([python_exe, "-m", "pip", "show", "librosa"])

The following code should add it to the path

import sys
loc = "insert the location here and use \\ instead of \"
sys.path.insert(0, loc)
genesis2303 commented 1 year ago

If that would be a problem, than why I can install it flawlessly in the same "BLENDER ALPHA" folder when I download 3.4.1 stable (with Blender Louncher), but I can't install it to standard 3.5 location (3.5 I got installed via steam)? I mean, I will try it, but the hypothesis makes no sense to me. 3.4 works 3.5&3.6 don't.

Taken output path from first piece of code, pasted to next piece of code and now when I pressed check installation blender hangs on infinite loading cursor is this expected?

genesis2303 commented 1 year ago

Tried it again, now it's just old missing requirements, but I noticed second piece of code didn't got me any response in system console. Edit: tried it also on 3.5 checking path gets this error, also didn't expect path to be in substance add-on: Error: Python: File "\Text.001", line 2 loc = "C:\Users\Gamer\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\Substance3DInBlender\thread_ops.py" ^ SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \UXXXXXXXX escape

negdo commented 1 year ago

The problem is not really the unstandard folder of installation, but more likely that some of your Blender installation share some of the python libraries and Substance addon doesn't seem to be helping here. They are installed in different places and some of the links are pointing the wrong way.

Blender is not expected to stop working, maybe just for few seconds at worst.

I think you should make an installation of librosa with specified target directory. Use the bottom script and change the target path so it matches your desired Blender installation.

import sys
import os
import subprocess
python_exe = os.path.join(sys.executable)
target = "C:\\Program Files\\Blender Foundation\\Blender 3.5\\3.5\\python\lib\site-packages"
subprocess.call([python_exe, "-m", "pip", "install", "--target="+target, "librosa"])
genesis2303 commented 1 year ago
Missing requirements
Found existing installation: librosa 0.9.2
Uninstalling librosa-0.9.2:
  Successfully uninstalled librosa-0.9.2
Collecting librosa
  Using cached librosa-0.10.0.post2-py3-none-any.whl (253 kB)
Collecting audioread>=2.1.9 (from librosa)
  Using cached audioread-3.0.0-py3-none-any.whl
Collecting numpy!=1.22.0,!=1.22.1,!=1.22.2,>=1.20.3 (from librosa)
  Using cached numpy-1.24.3-cp310-cp310-win_amd64.whl (14.8 MB)
Collecting scipy>=1.2.0 (from librosa)
  Using cached scipy-1.10.1-cp310-cp310-win_amd64.whl (42.5 MB)
Collecting scikit-learn>=0.20.0 (from librosa)
  Using cached scikit_learn-1.2.2-cp310-cp310-win_amd64.whl (8.3 MB)
Collecting joblib>=0.14 (from librosa)
  Using cached joblib-1.2.0-py3-none-any.whl (297 kB)
Collecting decorator>=4.3.0 (from librosa)
  Using cached decorator-5.1.1-py3-none-any.whl (9.1 kB)
Collecting numba>=0.51.0 (from librosa)
  Using cached numba-0.57.0-cp310-cp310-win_amd64.whl (2.6 MB)
Collecting soundfile>=0.12.1 (from librosa)
  Using cached soundfile-0.12.1-py2.py3-none-win_amd64.whl (1.0 MB)
Collecting pooch<1.7,>=1.0 (from librosa)
  Using cached pooch-1.6.0-py3-none-any.whl (56 kB)
Collecting soxr>=0.3.2 (from librosa)
  Using cached soxr-0.3.5-cp310-cp310-win_amd64.whl (184 kB)
Collecting typing-extensions>=4.1.1 (from librosa)
  Using cached typing_extensions-4.5.0-py3-none-any.whl (27 kB)
Collecting lazy-loader>=0.1 (from librosa)
  Using cached lazy_loader-0.2-py3-none-any.whl (8.6 kB)
Collecting msgpack>=1.0 (from librosa)
  Using cached msgpack-1.0.5-cp310-cp310-win_amd64.whl (61 kB)
Collecting llvmlite<0.41,>=0.40.0dev0 (from numba>=0.51.0->librosa)
  Using cached llvmlite-0.40.0-cp310-cp310-win_amd64.whl (27.7 MB)
Collecting appdirs>=1.3.0 (from pooch<1.7,>=1.0->librosa)
  Using cached appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting packaging>=20.0 (from pooch<1.7,>=1.0->librosa)
  Using cached packaging-23.1-py3-none-any.whl (48 kB)
Collecting requests>=2.19.0 (from pooch<1.7,>=1.0->librosa)
  Using cached requests-2.30.0-py3-none-any.whl (62 kB)
Collecting threadpoolctl>=2.0.0 (from scikit-learn>=0.20.0->librosa)
  Using cached threadpoolctl-3.1.0-py3-none-any.whl (14 kB)
Collecting cffi>=1.0 (from soundfile>=0.12.1->librosa)
  Using cached cffi-1.15.1-cp310-cp310-win_amd64.whl (179 kB)
Collecting pycparser (from cffi>=1.0->soundfile>=0.12.1->librosa)
  Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB)
Collecting charset-normalizer<4,>=2 (from requests>=2.19.0->pooch<1.7,>=1.0->librosa)
  Using cached charset_normalizer-3.1.0-cp310-cp310-win_amd64.whl (97 kB)
Collecting idna<4,>=2.5 (from requests>=2.19.0->pooch<1.7,>=1.0->librosa)
  Using cached idna-3.4-py3-none-any.whl (61 kB)
Collecting urllib3<3,>=1.21.1 (from requests>=2.19.0->pooch<1.7,>=1.0->librosa)
  Using cached urllib3-2.0.2-py3-none-any.whl (123 kB)
Collecting certifi>=2017.4.17 (from requests>=2.19.0->pooch<1.7,>=1.0->librosa)
  Using cached certifi-2023.5.7-py3-none-any.whl (156 kB)
Installing collected packages: msgpack, appdirs, urllib3, typing-extensions, threadpoolctl, pycparser, packaging, numpy, llvmlite, lazy-loader, joblib, idna, decorator, charset-normalizer, certifi, audioread, soxr, scipy, requests, numba, cffi, soundfile, scikit-learn, pooch, librosa
Successfully installed appdirs-1.4.4 audioread-3.0.0 certifi-2023.5.7 cffi-1.15.1 charset-normalizer-3.1.0 decorator-5.1.1 idna-3.4 joblib-1.2.0 lazy-loader-0.2 librosa-0.10.0.post2 llvmlite-0.40.0 msgpack-1.0.5 numba-0.57.0 numpy-1.24.3 packaging-23.1 pooch-1.6.0 pycparser-2.21 requests-2.30.0 scikit-learn-1.2.2 scipy-1.10.1 soundfile-0.12.1 soxr-0.3.5 threadpoolctl-3.1.0 typing-extensions-4.5.0 urllib3-2.0.2
ERROR: Exception:
Traceback (most recent call last):
  File "C:\Program Files (x86)\Steam\steamapps\common\Blender\3.5\python\lib\site-packages\pip\_internal\cli\base_command.py", line 169, in exc_logging_wrapper
    status = run_func(*args)
  File "C:\Program Files (x86)\Steam\steamapps\common\Blender\3.5\python\lib\site-packages\pip\_internal\cli\req_command.py", line 248, in wrapper
    return func(self, options, args)
  File "C:\Program Files (x86)\Steam\steamapps\common\Blender\3.5\python\lib\site-packages\pip\_internal\commands\install.py", line 507, in run
    self._handle_target_dir(
  File "C:\Program Files (x86)\Steam\steamapps\common\Blender\3.5\python\lib\site-packages\pip\_internal\commands\install.py", line 517, in _handle_target_dir
    ensure_dir(target_dir)
  File "C:\Program Files (x86)\Steam\steamapps\common\Blender\3.5\python\lib\site-packages\pip\_internal\utils\misc.py", line 107, in ensure_dir
    os.makedirs(path)
  File "C:\Program Files (x86)\Steam\steamapps\common\Blender\3.5\python\lib\os.py", line 215, in makedirs
    makedirs(head, exist_ok=exist_ok)
  File "C:\Program Files (x86)\Steam\steamapps\common\Blender\3.5\python\lib\os.py", line 215, in makedirs
    makedirs(head, exist_ok=exist_ok)
  File "C:\Program Files (x86)\Steam\steamapps\common\Blender\3.5\python\lib\os.py", line 215, in makedirs
    makedirs(head, exist_ok=exist_ok)
  [Previous line repeated 2 more times]
  File "C:\Program Files (x86)\Steam\steamapps\common\Blender\3.5\python\lib\os.py", line 225, in makedirs
    mkdir(name, mode)
PermissionError: [WinError 5] Access is denied: 'C:\\Program Files\\Blender Foundation'
negdo commented 1 year ago

Please run Blender in Administrator mode, to give it editing access to the folder.

genesis2303 commented 11 months ago

Sorry to come back after quite a while but I lost my patience with it, now I managed to get librosa installed with this last script, but when I try to analyze song it gives me this: Python: Traceback (most recent call last): File "C:\Users\Gamer\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\SoundNodes-Lite\compute.py", line 59, in execute y, sr = librosa.load(properties.audio_source) File "C:\Program Files (x86)\Steam\steamapps\common\Blender\3.6\python\lib\site-packages\lazy_loader\__init__.py", line 78, in __getattr__ attr = getattr(submod, name) File "C:\Program Files (x86)\Steam\steamapps\common\Blender\3.6\python\lib\site-packages\lazy_loader\__init__.py", line 77, in __getattr__ submod = importlib.import_module(submod_path) File "C:\Program Files (x86)\Steam\steamapps\common\Blender\3.6\python\lib\importlib\__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1050, in _gcd_import File "<frozen importlib._bootstrap>", line 1027, in _find_and_load File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 688, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 883, in exec_module File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "C:\Program Files (x86)\Steam\steamapps\common\Blender\3.6\python\lib\site-packages\librosa\core\audio.py", line 17, in <module> from numba import jit, stencil, guvectorize File "C:\Users\Gamer\AppData\Roaming\Python\Python310\site-packages\numba\__init__.py", line 206, in <module> _ensure_critical_deps() File "C:\Users\Gamer\AppData\Roaming\Python\Python310\site-packages\numba\__init__.py", line 146, in _ensure_critical_deps raise ImportError("Numba needs NumPy 1.22 or less") ImportError: Numba needs NumPy 1.22 or less