derrian-distro / LoRA_Easy_Training_Scripts

A UI made in Pyside6 to make training LoRA/LoCon and other LoRA type models in sd-scripts easy
GNU General Public License v3.0
998 stars 101 forks source link

Numpy 2.0 issue #220

Open Geel713 opened 4 weeks ago

Geel713 commented 4 weeks ago

I'm new on github sorry if this is not belong to here.

Last week I was able to use it now it says from shioboken6 import Shioboken line 27 raising an error. The first line of the command line is: A module that was compiled using NumPy 1.x cannot be run in. I checked last week there was a numpy 2 release so its probably it. I don't know if the issue is on my end or not, I added the whole error in attachment

numpy2error

Jelosus2 commented 3 weeks ago

Yea, we probably will need to pin the version of numpy. As hotfix you can activate the venv (virtual environment) and run pip install numpy<2, answer with y the prompt and done, should be fixed.