bes-dev / stable_diffusion.openvino

Apache License 2.0
1.54k stars 206 forks source link

Anyone have any clever solutions for compatability with Python 3.10.0? #133

Open ghost opened 1 year ago

ghost commented 1 year ago

I've just had a few messy errors with running a Python 3.9 virtualenv (Ubuntu, CPU based)

I will continue to troubleshoot my issues, but I figured I'd reach out to see if anyone else found an approach accommodating the current Python version.

Thanks!

espio999 commented 1 year ago

Hi. Although this is the Windows case, "stable_diffusion.openvino" is running fine with Python 3.10.10 . My arrangement is

  1. use the latest version of numpy
  2. use scipy older than version 1.9.0 See my "requirements.txt" at the site below. https://impsbl.hatenablog.jp/entry/StableDiffusionOnWindowsPCwith8GB-RAM_en
oscarnevarezleal commented 1 year ago

It worked for me

ghost commented 1 year ago

I actually submitted a PR for this (https://github.com/bes-dev/stable_diffusion.openvino/pull/125), which updates the numpy version to 1.23.4 and thus allows SD to work on Python 3.10. Sadly the team has been pretty slow on accepting PRs recently.