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

Server is not running - Linux ubuntu 22.04 problem in virtual Enviroment venv #231

Open
mont13 opened this issue Jun 9, 2024 · 0 comments

Comments

@mont13
Copy link

mont13 commented Jun 9, 2024

I found a problem with installation via venv on Linux Ubuntu 22.04.

After installing Python 3.10, I used setup.py from GitHub to install it in a virtual environment.

First, there is no path for libnccl.so.2. You have to add it manually, for example:

export LD_LIBRARY_PATH=/home/xxxx/Documents/python/whisperlive/lib/python3.10/site-packages/nvidia_nccl_cu12-2.20.5-py3.10-linux-x86_64.egg/nvidia/nccl/lib:$LD_LIBRARY_PATH

The second problem is the NumPy version. It is necessary to uninstall the old version with pip uninstall numpy and install a specific version, for example, pip install numpy==1.23.5.

These changes can be added to the script setup.py, for example.
After these changes, the server is running.

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

No branches or pull requests

1 participant