[GH-ISSUE #2065] Cannot open.venv/bin/activate : No such file #1400

Closed
opened 2026-10-20 10:08:49 +00:00 by bsakaguchi · 11 comments
Owner

Originally created by @maepopi on GitHub (May 18, 2024).
Original GitHub issue: https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/issues/2065

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!

Originally created by @maepopi on GitHub (May 18, 2024). Original GitHub issue: https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/issues/2065 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!
bsakaguchi 2026-10-20 10:08:49 +00:00
Author
Owner

@fumiama commented on GitHub (May 26, 2024):

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.

<!-- gh-comment-id:2132078535 --> @fumiama commented on GitHub (May 26, 2024): 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.
Author
Owner

@flowen commented on GitHub (Aug 23, 2024):

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.

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

<!-- gh-comment-id:2306859969 --> @flowen commented on GitHub (Aug 23, 2024): > 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. 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
Author
Owner

@maepopi commented on GitHub (Aug 23, 2024):

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.

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

<!-- gh-comment-id:2307142361 --> @maepopi commented on GitHub (Aug 23, 2024): > 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. 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
Author
Owner

@fumiama commented on GitHub (Aug 23, 2024):

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.

<!-- gh-comment-id:2307438957 --> @fumiama commented on GitHub (Aug 23, 2024): > 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.
Author
Owner

@flowen commented on GitHub (Aug 23, 2024):

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

<!-- gh-comment-id:2307712980 --> @flowen commented on GitHub (Aug 23, 2024): 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
Author
Owner

@maepopi commented on GitHub (Aug 23, 2024):

Ah yes that certainly explains it!

<!-- gh-comment-id:2307731113 --> @maepopi commented on GitHub (Aug 23, 2024): Ah yes that certainly explains it!
Author
Owner

@flowen commented on GitHub (Aug 23, 2024):

what was the issue exactly? was downloading the zip the mistake I made?

<!-- gh-comment-id:2307773329 --> @flowen commented on GitHub (Aug 23, 2024): what was the issue exactly? was downloading the zip the mistake I made?
Author
Owner

@maepopi commented on GitHub (Aug 23, 2024):

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

<!-- gh-comment-id:2307778323 --> @maepopi commented on GitHub (Aug 23, 2024): 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
Author
Owner

@flowen commented on GitHub (Aug 23, 2024):

I downloaded it today.. so don't think thats the issue

<!-- gh-comment-id:2307781562 --> @flowen commented on GitHub (Aug 23, 2024): I downloaded it today.. so don't think thats the issue
Author
Owner

@maepopi commented on GitHub (Aug 23, 2024):

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

<!-- gh-comment-id:2307803753 --> @maepopi commented on GitHub (Aug 23, 2024): 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
Author
Owner

@RVC-Boss commented on GitHub (Jul 20, 2026):

You can update the code to the latest main branch, where this issue has already been resolved.

<!-- gh-comment-id:5019782165 --> @RVC-Boss commented on GitHub (Jul 20, 2026): You can update the code to the latest `main` branch, where this issue has already been resolved.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
RVC-Project/Retrieval-based-Voice-Conversion-WebUI#1400
No description provided.