Cannot open.venv/bin/activate : No such file
Hey there,
I'm a bit confused by the installation process on Linux. I'm using conda, as advised in the readme, but when I type "sh ./run.sh" in the cloned repo, I have this message :
Activate venv...
./run.sh: 11: .: cannot open .venv/bin/activate: No such file
I've gone and see into the ".venv" folder, and indeed there are no scripts in the activate folder. I'm not very familiar with python Venv's, so I don't understand what I'm supposed to do to configure it and then run the sh command.
Can someone help? Thanks!
If you're using conda, then you should not use the run.sh directly but run pip install and then launch the infer-web.py manually.
If you're using conda, then you should not use the
run.shdirectly but runpip installand then launch theinfer-web.pymanually.
Have a similar issue as @maepopi
when i run pip install:
ERROR: You must give at least one requirement to install (see "pip help install")
So my guess is you meant the pip install torch torchvision torchaudio ?
I did install this, but can't manually launch infer-web.py.
❯ python3 infer-web.py
Traceback (most recent call last):
File "/Retrieval-based-Voice-Conversion-WebUI-main/infer-web.py", line 3, in <module>
from dotenv import load_dotenv
ModuleNotFoundError: No module named 'dotenv'
So I'm still missing some module(s).
I did all the other steps and am completely stuck here. Assistance is highly appreciated
If you're using conda, then you should not use the
run.shdirectly but runpip installand then launch theinfer-web.pymanually.
Hey @fumiama, @flowen,
Thank you for your answers and sorry for the delay, I didn't see your messages. Indeed I could launch it manually, I forgot to close my post here.
Flowen, what did you do exactly? Can you run us through your whole installation process? I'll make a fresh environment and try to reproduce your problem if I can help
No module named 'dotenv'
The file requirements.txt contains the whole depends you need. Also, the package dotenv has been dropped in the latest main branch. Please update the code to the newest commit.
ugghh too much to describe tbh..
went through whole processes of reinstalling python.. pyenv, etc etc etc
just to now discover that I downloaded a folder called
Retrieval-based-Voice-Conversion-WebUI-main
I think I downloaded the zip from the git instead of cloning locally
so I just cloned locally and sh ./run.sh now works... but I already installed it using pinokio
Ah yes that certainly explains it!
what was the issue exactly? was downloading the zip the mistake I made?
Mmh, at second glance I'm not sure. I thought the ZIP was sort of a "quick" way to launch the program for example for Windows but it's really just the repo in zip Have you seen this message by fumiama?
The file requirements.txt contains the whole depends you need. Also, the package dotenv has been dropped in the latest main branch. Please update the code to the newest commit.
As you've recloned locally I would guess that is what solved your problem
I downloaded it today.. so don't think thats the issue
Mmmmh....Wouldn't Pinokio be messing stuff around? I had to uninstall it on Windows because it was messing up my environment paths. That's far fetched though