Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Python by (19.9k points)

I have some trouble to start and run localstack. I can install localstack relatively easy with "pip install localstack". This worked for me without problems. After the installation I tried to start localstack with "localstack start" but then windows tells me it can't find localstack.

The command "localstack" is either misspelled or could not be found.

I searched a lot and found out there are some similar problems. In one issue I found something that could eventually work for me. In this question. Because I never worked with python this is a little bit confusing for me. I tried this answer. I switched into the python scripts folder and run the command "py localstack start". Here it is interesting, that I get an error again, but this time windows recognizes localstack.

This here is the error

Traceback (most recent call last):

  File "localstack", line 31, in <module>

    from localstack.utils import cli

  File "c:\users\gion rubitschung\appdata\local\programs\python\python37\lib\site-packages\localstack\utils\cli.py", line 4, in <module>

    from localstack.services import infra

  File "c:\users\gion rubitschung\appdata\local\programs\python\python37\lib\site-packages\localstack\services\infra.py", line 20, in <module>

    from localstack.utils import common, persistence

  File "c:\users\gion rubitschung\appdata\local\programs\python\python37\lib\site-packages\localstack\utils\common.py", line 5, in <module>

    import pty

  File "c:\users\gion rubitschung\appdata\local\programs\python\python37\lib\pty.py", line 11, in <module>

    import tty

  File "c:\users\gion rubitschung\appdata\local\programs\python\python37\lib\tty.py", line 5, in <module>

    from termios import *

ModuleNotFoundError: No module named 'termios'

How can I start localstack just by typing "localstack start"?

1 Answer

0 votes
by (25.1k points)

You need to install localstack version 0.9.0

Firstly, uninstall localstack from your machine

Then install version 0.9.0 using this command:

python -m pip install localstack==0.9.0

Related questions

Browse Categories

...