在ubuntu 18.04.1 LTS中安装EB的问题

时间:2019-01-14 06:00:01

标签: python python-3.x aws-cli eb

我通过以下命令尝试安装EB。

  1. sudo apt安装awscli
  2. aws --version(它返回= aws-cli/1.14.44 Python/3.6.7 Linux/4.15.0-43-generic botocore/1.8.48
  3. aws configure

在第3步之后,我通过命令提示符检查EB。它返回

  from pkg_resources import load_entry_point
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3088, in <module>
    @_call_aside
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3072, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3101, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 574, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 892, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 778, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'awsebcli==3.12.1' distribution was not found and is required by the application

0 个答案:

没有答案