8 Commits

Author SHA1 Message Date
pato-pan
6aba5ad177
Update run.sh
pyenv only checks for python version in the current directory now. The working directory will now always be the one where the script is located (in case you run it outside the folder, example: `./RVC/run.sh`) this also makes it so pyenv will always only show the version that applies to the current folder.

I considered this alternative before coming up with this, "-qvE "3.8|`dirname -- $(readlink -fn -- "$0")`"", but this is longer and more complicated, and has the same requirements, so I discarded it. Sharing it in case someone else finds it useful
2024-07-18 19:06:56 -04:00
pato-pan
c4b442c3c8
Update run.sh
pyenv compatibility. Pyenv check was not working as intended, it should be inverted match (with -v).
if pyenv exists in the system, it will now install python3.8 and set it as the default for the current folder

This should give support to Arch Linux users, among other distros.

Review needed, 2 questions:
1. Is it safe to set python3.8 as the default for the current folder? If you don't know and no one can verify, let's assume it is. I think it likely is, but I can't consider for every possibility.
2. Which version of python 3.8 do you prefer? If it's not 3.8.19, it should be changed to the one you wish to have installed (like 3.8.0)
2024-07-17 22:46:27 -04:00
Albert Softie
401db68aba
make dlmodels.sh executable before running (#1771) 2024-01-27 16:13:34 +09:00
Ftps
5c55d5378b
fix run.sh on mac (#1755) 2024-01-25 21:04:29 +09:00
Sơn Phan Trung
8bd34d1881
chore: get run.sh to be POSIX Compliant (#1649)
* Create CONTRIBUTING.md

* Update CONTRIBUTING.md

* Update CONTRIBUTING.md

* fix: get run.sh posix compliant

* Update venv.sh

* Delete CONTRIBUTING.md

---------

Co-authored-by: 源文雨 <41315874+fumiama@users.noreply.github.com>
2023-12-26 22:11:16 +09:00
源文雨
ad85b02ed9 optimize: no json config writeback 2023-09-02 13:53:56 +08:00
源文雨
edcff1df04 optimize: run.sh 2023-08-27 01:21:18 +08:00
Naozumi
86ed98aaca
Add .sh run script for macOS & linux, fix error on macs with low vram. (#737)
* Add .sh run script

* Update extract_feature_print.py

* Remove `requirements_macOS.txt`
2023-07-13 07:05:35 +00:00