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

Installation Fails: Missing 'zope-interface' and RuntimeError for GENTLE_RESOURCES_ROOT #339

Open
janksmap opened this issue Nov 23, 2024 · 2 comments

Comments

@janksmap
Copy link

When following these instructions:

git clone https://github.com/lowerquality/gentle.git
cd gentle
./install.sh

everything downloads fine until the very end when I get this error:

error: The 'zope-interface>=5' distribution was not found and is required by twisted

When I run the following command, it breaks.
python3 align.py audio.mp3 words.txt

Traceback (most recent call last):
  File "<user>/gentle/align.py", line 49, in <module>
    resources = gentle.Resources()
  File "<user>/gentle/gentle/resources.py", line 19, in __init__
    require_dir(self.proto_langdir)
  File "<user>/gentle/gentle/resources.py", line 16, in require_dir
    raise RuntimeError("No resource directory %s.  Check %s environment variable?" % (path, ENV_VAR))
RuntimeError: No resource directory <user>/gentle/exp.  Check GENTLE_RESOURCES_ROOT environment variable?
@bd0ug
Copy link

bd0ug commented Nov 26, 2024

Same issue here

@00siddhant00
Copy link

U can still run it using docker... if ur not familiar with it, its not really that hard, just few click away, below are the instructions:

Installation Steps for Running Gentle via Docker Desktop

Follow these steps to set up and run Gentle using Docker Desktop:

Step 1: Install Docker Desktop

  • Download and install Docker Desktop from the official Docker website: Docker Desktop.
  • Launch Docker Desktop and ensure it's running properly.

Step 2: Search for the Gentle Docker Image

  • Open Docker Desktop.
  • Open Image section.
  • In the search bar, type lowerquality/gentle.
  • Select the image from the search results and click Pull to download the image.

Step 3: Configure Advanced Settings

  • After the image is pulled, navigate to Advanced Settings in Docker Desktop.
  • Give a related name to container if u want.
  • Set the host port to 8765. This ensures the server will listen on http://localhost:8765.

Step 4: Run the Docker Container

  • Start the container using the downloaded image.
  • Docker Desktop will automatically start the server and map the required ports.

Step 5: Access the Gentle Interface

You should see the graphical interface for Gentle. You can now transcribe audio, view results, or download data.

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

3 participants