Skip to content

AttributeError: 'Namespace' object has no attribute 'from_name'. Did you mean: 'from_lang'? #525

Description

@shazoo1

I keep getting this error above, though I don't pass anything with 'name' in it:
argos-translate --from de --to en "ich hasse Computers"
results in:

Traceback (most recent call last):
  File "C:\Users\...\.conda\envs\argos-env\Scripts\argos-translate.py", line 5, in <module>
    cli.main()
  File "C:\Users\...\.conda\envs\argos-env\lib\site-packages\argostranslate\cli.py", line 57, in main
    f"No translation installed from {args.from_name} to {args.to_name}"
AttributeError: 'Namespace' object has no attribute 'from_name'. Did you mean: 'from_lang'?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions