41
submitted 1 week ago* (last edited 1 week ago) by Erika3sis@hexbear.net to c/technology@hexbear.net

The story thus far by my recollection:

I'm trying to get Retrieval-based Voice Conversion (RVC) โ€” a program for making voice "deepfakes" using audio-to-audio conversion โ€” working on my Linux Mint Xfce machine. To this end, I've had to...

(everything I've done thus far + the Pyenv stuff highlighted)First get Git and ffmpeg, then git clone RVC and then create a virtual environment ("venv") in that folder, then activate that venv, and I also had to get Pip, and use Pip to install torch, torchvision, and torchaudio, then I had to install Poetry, then I had to install RVC's dependencies using Poetry, exceeeeept two of those dependencies refuse to install, so I've ended up a bit stuck. At least one of these dependencies is apparently refusing to install because it's not compatible with my version of Python, which means that I also have to install Pyenv in order to change the Python version in the venv, and so I've installed Pyenv's dependencies and run the command to install Pyenv itself...

...But then the terminal spat out a message about "adding 'pyenv' to the load path", ~/.bash_profile vs ~/.profile vs ~/.bashrc, and restarting my shell? After consulting a tutorial about this message, and installing Vim because it seemed like I might need that, I was still confused about what I was supposed to do, so I decided to take another break rather than continue to exhaust myself.

And this isn't to mention how every single step of this process has also had its own hiccups and confusions, as I'm "diving in the deep end" with basically no knowledge of anything I'm doing.

Put simply, it feels like all the forces of the universe are conspiring against me, trying to keep me from installing this one simple program onto my computer.

Compare this to another form of machine learning technology: large language models. Those things are everywhere nowadays! They're practically inescapable! They're in Google and DuckDuckGo. Firefox even on Linux has an LLM feature now. Several mainstream social media apps have them. Windows has its Copilot, phones are getting "AI" features left and right, yadda yadda. And I'm sure you all know everything wrong with the mass adoption of LLMs already.

Put simply, it feels like all the forces of the universe are conspiring against me, trying to make it impossible for me to stay away from this crap I absolutely don't want.

And this raises the question of why, if both of these things are popularly called "AI", do they differ so much in this regard?

The answer to me seems to just be money. RVC has no subscription fee nor gathering of my personal data, certainly not on a privacy-friendly OS; contrarily RVC makes me more private by letting me mask my voice. RVC is also literally incapable of even attempting to influence my opinions or dull my mind; it does not rely on overseas server farms whose water use is leaving surrounding communities without tap water; and I could even swap out RVC's training material if I objected to it. And without these "features", it's basically impossible for anyone to make a profit from RVC. And if it's impossible to make a profit from RVC, then there's no money being put into making this incredibly useful program accessible for laypeople โ€” certainly no money being put into forcing it on people!

And I just think that's some glorpshit.

you are viewing a single comment's thread
view the rest of the comments
[-] CommunistCuddlefish@hexbear.net 7 points 1 week ago

But then the terminal spat out a message about "adding 'pyenv' to the load path", ~/.bash_profile vs ~/.profile vs ~/.bashrc, and restarting my shell? After consulting a tutorial about this message, and installing Vim because it seemed like I might need that, I was still confused about what I was supposed to do, so I decided to take another break rather than continue to exhaust myself.

The good news is that's easy, the bad news is I don't remember the specifics, but I think you're getting close!

Is this the github repo you used? https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/blob/main/docs/en/README.en.md

[-] Erika3sis@hexbear.net 5 points 1 week ago
[-] kleeon@hexbear.net 8 points 1 week ago

You might have skipped these steps:

spoiler

Stock Bash startup files vary widely between distributions in which of them source which, under what circumstances, in what order and what additional configuration they perform. As such, the most reliable way to get Pyenv in all environments is to append Pyenv configuration commands to both .bashrc (for interactive shells) and the profile file that Bash would use (for login shells).

  1. First, add the commands to ~/.bashrc by running the following in your terminal:

    echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bashrc
    echo '[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bashrc
    echo 'eval "$(pyenv init - bash)"' >> ~/.bashrc
    
  2. Then, if you have ~/.profile, ~/.bash_profile or ~/.bash_login, add the commands there as well. If you have none of these, create a ~/.profile and add the commands there.

    • to add to ~/.profile:
      echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.profile
      echo '[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.profile
      echo 'eval "$(pyenv init - bash)"' >> ~/.profile
      
    • to add to ~/.bash_profile:
      echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bash_profile
      echo '[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bash_profile
      echo 'eval "$(pyenv init - bash)"' >> ~/.bash_profile
      

Bash warning: There are some systems where the BASH_ENV variable is configured to point to .bashrc. On such systems, you should almost certainly put the eval "$(pyenv init - bash)" line into .bash_profile, and not into .bashrc. Otherwise, you may observe strange behaviour, such as pyenv getting into an infinite loop. See #264 for details.

Also, use docker

this post was submitted on 02 Oct 2025
41 points (100.0% liked)

technology

24040 readers
297 users here now

On the road to fully automated luxury gay space communism.

Spreading Linux propaganda since 2020

Rules:

founded 5 years ago
MODERATORS