-
Notifications
You must be signed in to change notification settings - Fork 4
Troubleshooting Tips
Hello! Here we collect some common troubleshooting tips when Batchalign doesn't work.
First, to confirm your error, run Batchalign in debug mode:
batchalign -vvvv [verb] [arguments]
for instance:
batchalign -vvvv align ~/ba_data/input ~/ba_data/output
If you encounter an error, identify the last line of the Batchalign error output. It should usually be some coloured text placed after the big red box outlining the error location. It usually is shaped [Something]Error: [error message]
.
Once you have done this, scroll down to the matching error type to learn more.
ConnectionTimeout: (MaxRetryError("HTTPSConnectionPool(host='[some website]')")
where some website
is usually huggingface.co
or api.rev.ai
.
This means we cannot reach the servers—the former, Huggingface, for model serving and the latter, Rev.AI, for ASR. Ensure those websites are accessible from the device where you are running Batchalign + also for your institution.
It is unfortunately difficult for us to provide a general command for installation that works across all systems. If your system reports either pip
or pip3
as not found, and you are sure Python below 3.11 and above 3.8 is installed, try the other pip
command. For instance, if you used pip
, try using pip3
.
Try using
py -m batchalign [verb] [args]
like:
py -m batchalign align ~/ba_data/input ~/ba_data/output
Run the following commands:
curl https://bootstrap.pypa.io/ez_setup.py | python
curl https://bootstrap.pypa.io/get-pip.py | python
Optionally, you can additionally add the path to your environment so that you can use pip
anywhere. It's somewhere like C:\Python33\Scripts
.