I am getting this error when trying to call align.py from the command line on Mac OS 10.12.6 Sierra, Python 3.11:
$ python3 align.py /Volumes/.../5077_FINAL.WAV /Volumes/.../RAY15077_cleaned.txt
Traceback (most recent call last):
File "/Users/.../gentle/align.py", line 49, in
resources = gentle.Resources()
^^^^^^^^^^^^^^^^^^
File "/Users/.../gentle/gentle/resources.py", line 19, in init
require_dir(self.proto_langdir)
File "/Users/.../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 /Users/.../gentle/exp. Check GENTLE_RESOURCES_ROOT environment variable?
It looks like the issue is that the gentle.Resources() method is looking for a path that ends in "gentle/exp", but that folder isn't in the directory structure.
Does anyone have any suggestions to run this from the command line on a Mac? I don't currently have access to Docker.
I am getting this error when trying to call align.py from the command line on Mac OS 10.12.6 Sierra, Python 3.11:
$ python3 align.py /Volumes/.../5077_FINAL.WAV /Volumes/.../RAY15077_cleaned.txt Traceback (most recent call last): File "/Users/.../gentle/align.py", line 49, in
resources = gentle.Resources()
^^^^^^^^^^^^^^^^^^
File "/Users/.../gentle/gentle/resources.py", line 19, in init
require_dir(self.proto_langdir)
File "/Users/.../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 /Users/.../gentle/exp. Check GENTLE_RESOURCES_ROOT environment variable?
It looks like the issue is that the gentle.Resources() method is looking for a path that ends in "gentle/exp", but that folder isn't in the directory structure.
Does anyone have any suggestions to run this from the command line on a Mac? I don't currently have access to Docker.