Skip to content
New issue

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

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

Already on GitHub? # to your account

Script is not working #3

Open
antonsatskyi opened this issue Apr 18, 2022 · 0 comments
Open

Script is not working #3

antonsatskyi opened this issue Apr 18, 2022 · 0 comments

Comments

@antonsatskyi
Copy link

Hello there i tried diff env
but it doesn't work
Example:
1-i use - docker pull python:latest
with Python 3.10.4 in there
2- install all dep using pip install command
3-git clone repo
4- chmod a+x ts-to-word.py
5- RUN
OUTPUT
root@848258ebcfda:/amazon-transcribe-output-word-document/python# ./ts-to-word.py --inputFile asrOutput.json
./ts-to-word.py: line 15:
This sample, non-production-ready application will produce Word Document transcriptions using automatic speech
recognition from Amazon Transcribe, and handles all processing modes of Amazon Transcribe in terms of diarization:
speaker-separated audio, channel-separated audio, or Call Analytics audio. The application requires the following
non-standard python libraries to be installed:

  • python-docx
  • scipy
  • matplotlib

© 2021 Amazon Web Services, Inc. or its affiliates. All Rights Reserved.
This AWS Content is provided subject to the terms of the AWS Customer Agreement available at
http://aws.amazon.com/agreement or other written agreement between Customer and either
Amazon Web Services, Inc. or Amazon Web Services EMEA SARL or both.
: File name too long
./ts-to-word.py: line 17: from: command not found
./ts-to-word.py: line 18: from: command not found
./ts-to-word.py: line 19: from: command not found
./ts-to-word.py: line 20: from: command not found
./ts-to-word.py: line 21: from: command not found
./ts-to-word.py: line 22: from: command not found
./ts-to-word.py: line 23: from: command not found
./ts-to-word.py: line 24: from: command not found
./ts-to-word.py: line 25: from: command not found
./ts-to-word.py: line 26: from: command not found
./ts-to-word.py: line 27: from: command not found
import-im6.q16: unable to open X server ' @ error/import.c/ImportImageCommand/346. import-im6.q16: unable to open X server ' @ error/import.c/ImportImageCommand/346.
import-im6.q16: unable to open X server ' @ error/import.c/ImportImageCommand/346. import-im6.q16: unable to open X server ' @ error/import.c/ImportImageCommand/346.
import-im6.q16: unable to open X server ' @ error/import.c/ImportImageCommand/346. import-im6.q16: unable to open X server ' @ error/import.c/ImportImageCommand/346.
import-im6.q16: unable to open X server ' @ error/import.c/ImportImageCommand/346. import-im6.q16: unable to open X server ' @ error/import.c/ImportImageCommand/346.
import-im6.q16: unable to open X server ' @ error/import.c/ImportImageCommand/346. import-im6.q16: unable to open X server ' @ error/import.c/ImportImageCommand/346.
./ts-to-word.py: line 38: from: command not found
./ts-to-word.py: line 42: CUSTOM_STYLE_HEADER: command not found
./ts-to-word.py: line 43: TABLE_STYLE_STANDARD: command not found
./ts-to-word.py: line 44: CATEGORY_TRANSCRIPT_BG_COLOUR: command not found
./ts-to-word.py: line 45: syntax error near unexpected token (' ./ts-to-word.py: line 45: CATEGORY_TRANSCRIPT_FG_COLOUR = RGBColor(0, 128, 255)'

any advice appreciated
Regards

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

No branches or pull requests

1 participant