首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法在新格式化的ubuntu 18.04上安装localstack?

无法在新格式化的ubuntu 18.04上安装localstack?
EN

Stack Overflow用户
提问于 2018-11-21 03:27:24
回答 2查看 1K关注 0票数 0

我在安装本地堆栈时遇到了困难。这是在一台新格式化的ubuntu个人电脑上。我一直收到这个错误:

代码语言:javascript
复制
(test which virtualenv || pip install --user virtualenv) && 
(test -e .venv || virtualenv .venv) && 
(test ! -e requirements.txt || (. .venv/bin/activate; pip -q install -r requirements.txt) && 
. .venv/bin/activate; PYTHONPATH=. exec python localstack/services/install.py testlibs)
Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f13119c7910>: Failed to establish a new connection: [Errno -3] Try again',)': /simple/airspeed/
Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f13119c7b90>: Failed to establish a new connection: [Errno -3] Try again',)': /simple/airspeed/
Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f13119c7cd0>: Failed to establish a new connection: [Errno -3] Try again',)': /simple/airspeed/
Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f13119c7e10>: Failed to establish a new connection: [Errno -3] Try again',)': /simple/airspeed/
Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f13119c7f50>: Failed to establish a new connection: [Errno -3] Try again',)': /simple/airspeed/
Could not find a version that satisfies the requirement airspeed==0.5.5.dev20160812 (from -r requirements.txt (line 4)) (from versions: )
No matching distribution found for airspeed==0.5.5.dev20160812 (from -r requirements.txt (line 4))

有人有解决这个问题的办法吗?

EN

回答 2

Stack Overflow用户

发布于 2018-11-22 21:49:10

经过多次挖掘,我终于能够让它工作了。我关注这个tutorial真的很有帮助!

因此,我决定使用docker,而不是直接安装到我的电脑上。

代码语言:javascript
复制
git clone https://github.com/localstack/localstack.git
cd path/to/localstack
docker-compose up
票数 2
EN

Stack Overflow用户

发布于 2020-06-01 16:22:23

我看得出来,你是想跑

代码语言:javascript
复制
$> localstack start

这需要docker和docker-compose。

要以本机方式运行,您需要使用:

代码语言:javascript
复制
$> localstack start --host

我已经一步一步地写了博客来安装和运行。你可以参考:https://medium.com/@baksh12shad/how-to-install-localstack-natively-on-ubuntu-18-04-step-by-step-ca344b7b7d78

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/53400189

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档