Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible incompatibility with other AI installations? #50

Open
NoMansPC opened this issue Jun 7, 2024 · 2 comments
Open

Possible incompatibility with other AI installations? #50

NoMansPC opened this issue Jun 7, 2024 · 2 comments

Comments

@NoMansPC
Copy link

NoMansPC commented Jun 7, 2024

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
Copy link
Owner

savbell commented Jun 7, 2024

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
Copy link
Author

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants