Giter Club home page Giter Club logo

Comments (4)

bmaltais avatar bmaltais commented on July 28, 2024

It is probably that the 1st version found in the path is still 10.12… because this is what the GUI scripts are seeing. I suspect you might need to fiddle with the path search order and make sure python 3.10.x comes 1st. This is really annoying and bugging me. I wish there was an easy way to specify the version but alas I have not found one that would work reliably.

from kohya_ss.

bmaltais avatar bmaltais commented on July 28, 2024

@srinoom OK... I might have a solution... not sure if it will work for everyone on windows...

Before running setup.bat make sure to delete the existing venv folder. Then try to run:

py -3.10 -m venv venv

Then run setup.bat... does it work?

from kohya_ss.

bmaltais avatar bmaltais commented on July 28, 2024

OK... I actually have implemented it in the dev branch... if you want to try it:

Delete the current venv folder then:

git fetch origin
git checkout dev
git pull
./setup-3.10.bat

from kohya_ss.

daniel-farina avatar daniel-farina commented on July 28, 2024

Using the python version manager works for me:

git clone https://github.com/pyenv-win/pyenv-win.git "$HOME/.pyenv"

Git bash, add the paths

nano ~/.bashrc
export PYENV="$HOME/.pyenv/pyenv-win"
export PATH="$PYENV/bin:$PYENV/shims:$PATH"
pyenv install 3.10.9
pyenv global 3.10.9
rm -rf venv
/.setup.bat

from kohya_ss.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.