Skip to content

Cannot import "words" #113

@czardoz

Description

@czardoz

I installed aws-shell globally (not in a virtual env), and I get this error in the first run (as well as any subsequent runs):

aniket [~] -> aws-shell             
Creating doc index in the background. It will be a few minutes before all documentation is available.
Traceback (most recent call last):
  File "/usr/local/bin/aws-shell", line 9, in <module>
    load_entry_point('aws-shell==0.1.0', 'console_scripts', 'aws-shell')()
  File "/usr/local/lib/python2.7/dist-packages/awsshell/__init__.py", line 70, in main
    shell.run()
  File "/usr/local/lib/python2.7/dist-packages/awsshell/app.py", line 275, in run
    document = self.cli.run()
  File "/usr/local/lib/python2.7/dist-packages/awsshell/app.py", line 268, in cli
    self._cli = self.create_cli_interface(self.show_completion_columns)
  File "/usr/local/lib/python2.7/dist-packages/awsshell/app.py", line 452, in create_cli_interface
    display_completions_in_columns)
  File "/usr/local/lib/python2.7/dist-packages/awsshell/app.py", line 412, in create_application
    layout=self.create_layout(display_completions_in_columns, toolbar),
  File "/usr/local/lib/python2.7/dist-packages/awsshell/app.py", line 320, in create_layout
    from awsshell.lexer import ShellLexer
  File "/usr/local/lib/python2.7/dist-packages/awsshell/lexer.py", line 14, in <module>
    from pygments.lexer import words
ImportError: cannot import name words

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions