Selur's Little Message Board

Full Version: Numpy wrong version in Hybrid 2022.11.28.1
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
After having installed the last version of Hybrid 2022.11.28.1.
When I run the comparison preview I got the following error:

Code:
Failed to evaluate the script: Python exception: IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE! Importing the numpy C-extensions failed. This error can happen for many reasons, often due to issues with your setup or how NumPy was installed. We have compiled some common reasons and troubleshooting tips at: https://numpy.org/devdocs/user/troubleshooting-importerror.html Please note and check the following: * The Python version is: Python3.10 from "D:\Programs\Hybrid\64bit\Vapoursynth\vsViewer.exe" * The NumPy version is: "1.22.3" and make sure that they are the versions you expect. Please carefully study the documentation linked above for further help. Original error was: No module named 'numpy.core._multiarray_umath' Traceback (most recent call last): File "D:\Programs\Hybrid\64bit\Vapoursynth\Lib\site-packages\numpy\core\__init__.py", line 23, in from . import multiarray File "D:\Programs\Hybrid\64bit\Vapoursynth\Lib\site-packages\numpy\core\multiarray.py", line 10, in from . import overrides File "D:\Programs\Hybrid\64bit\Vapoursynth\Lib\site-packages\numpy\core\overrides.py", line 6, in from numpy.core._multiarray_umath import ( ModuleNotFoundError: No module named 'numpy.core._multiarray_umath' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "src\cython\vapoursynth.pyx", line 2819, in vapoursynth._vpy_evaluate File "src\cython\vapoursynth.pyx", line 2820, in vapoursynth._vpy_evaluate File "E:\MEGAsync Downloads\20.000 leghe sotto i mari (2004)\tempPreviewVapoursynthFile21_57_43_847.vpy", line 27, in from vsrealesrgan import RealESRGAN File "D:\Programs\Hybrid\64bit\Vapoursynth\Lib\site-packages\vsrealesrgan\__init__.py", line 4, in import numpy as np File "D:\Programs\Hybrid\64bit\Vapoursynth\Lib\site-packages\numpy\__init__.py", line 144, in from . import core File "D:\Programs\Hybrid\64bit\Vapoursynth\Lib\site-packages\numpy\core\__init__.py", line 49, in raise ImportError(msg) ImportError: IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE! Importing the numpy C-extensions failed. This error can happen for many reasons, often due to issues with your setup or how NumPy was installed. We have compiled some common reasons and troubleshooting tips at: https://numpy.org/devdocs/user/troubleshooting-importerror.html Please note and check the following: * The Python version is: Python3.10 from "D:\Programs\Hybrid\64bit\Vapoursynth\vsViewer.exe" * The NumPy version is: "1.22.3" and make sure that they are the versions you expect. Please carefully study the documentation linked above for further help. Original error was: No module named 'numpy.core._multiarray_umath'
read sticky, share details.
I performed a clean installation and the problem was solved.

But doing this I lost RealESRGAN, how I can reinstall it ?
Hello Selur,

  I this guide still applicable ?

    [INFO] Portable Vapoursynth (Windows) with pytorch&co

Hello Selur!
 
   after having installed the packages described in the guide above a was able to get all my previous tools

Code:
Detected NVIDIA PureVideo compatible cards: NVIDIA GeForce RTX 3060 Detected vfwDecoders with 32bit:  VIDC.FFDS  VIDC.LAGS  VIDC.X264  VIDC.XVID  vidc.cvid  vidc.i420  vidc.iyuv  vidc.mrle  vidc.msvc  vidc.uyvy  vidc.yuy2  vidc.yvu9  vidc.yvyu Detected vfw64BitDecoders:  VIDC.FFDS  VIDC.LAGS  VIDC.X264  VIDC.XVID  vidc.cvid  vidc.i420  vidc.iyuv  vidc.mrle  vidc.msvc  vidc.uyvy  vidc.yuy2  vidc.yvu9  vidc.yvyu   Avisynth+ is available,..     DGDecNV available,..   Vapoursynth is available,..     DGDecNV available,..     vsDPIR available,..     vsRIFE (torch) available,..     vsBasicVSR++ available,..     vsRealESRGAN available,..     vsSwinIR available,..     vsHINet available,..

Thanks again for your smart and clever tool !
Quote: I this guide still applicable ?
in basics: yes
I had to make some small changes last time when I adjusted to latest RIFE changes and ended up with an additional 'torch_dependencies' folder.

I usually got a drop-in addon with all the stuff.
I simply don't offer a public download for it since traffic for it would be too much. Smile
dev installer ~1GB
torchAddon ~5GB
vsgan_models 7.5GB
In case you run into problems let me know and I can send you links to the download.

Cu Selur