savbell / whisper-writer

💬📝 A small dictation app using OpenAI's Whisper speech recognition model.
GNU General Public License v3.0
327 stars 52 forks source link

Possible incompatibility with other AI installations? #50

Open NoMansPC opened 4 months ago

NoMansPC commented 4 months ago

I tried installing Whisper before through another Github project and it completely destroyed my TextWebUI (for LLMs) and A1111 (for Stable Diffusion). If I'm not mistaken, they use Python 3.10. This project needs Python 3.11. Is it okay to install it or should I take some precautions first?

savbell commented 4 months ago

Hi, thanks for your question!

You're correct that this project requires Python 3.11. I believe that if you use a virtual environment as directed in the Readme, you should be able to avoid any potential conflicts with your existing installations. Just be extra sure you are using the right Python version when creating the virtual environment and that you activate it before installing the packages.

To do this, instead of running python -m venv venv to make the virtual environment, run specific\path\to\python3.11 -m venv venv. After activating (source venv/bin/activate on Linux/macOS or venv\Scripts\activate on Windows), when you run pip install -r requirements.txt, the packages should be installed only on the virtual environment and not globally. This should keep the dependencies separate.

Hope that helps!

Cheers, Sav

NoMansPC commented 3 months ago

Hi, thanks for your question!

You're correct that this project requires Python 3.11. I believe that if you use a virtual environment as directed in the Readme, you should be able to avoid any potential conflicts with your existing installations. Just be extra sure you are using the right Python version when creating the virtual environment and that you activate it before installing the packages.

To do this, instead of running python -m venv venv to make the virtual environment, run specific\path\to\python3.11 -m venv venv. After activating (source venv/bin/activate on Linux/macOS or venv\Scripts\activate on Windows), when you run pip install -r requirements.txt, the packages should be installed only on the virtual environment and not globally. This should keep the dependencies separate.

Hope that helps!

Cheers, Sav

Sorry, Savbell, it's been a while. Do you mean that I should install Python 3.11 after activating the virtual environment?