我在启动和运行localstack时遇到了一些麻烦。我可以使用“ pip install localstack”相对容易地安装localstack。这对我没有问题。安装后,我尝试使用“ localstack start”启动localstack,但随后Windows告诉我找不到本地stack。
命令“ localstack”拼写错误或找不到。
我进行了很多搜索,发现存在一些类似的问题。在一个问题中,我发现了一些最终对我有用的东西。在这个问题上。因为我从未使用过python,所以这让我有些困惑。我尝试了这个答案。我切换到python scripts文件夹并运行命令“ py localstack start”。有趣的是,我再次遇到错误,但是这次Windows能够识别localstack。
这是错误
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'
如何仅通过键入“ localstack start”来启动localstack?