aws / aws/aws-elastic-beanstalk-cli-setup
SyntaxError: future feature annotations is not defined
- Dominant language
- Python
- Stars
- 537
- Forks
- 226
- PR merge metrics
- No merged PRs in 30d
Description
**1. Please specify the following:**
- OS: Ubuntu 20.04
- Shell: Bash
**2. Description**
After successfully installing `eb` and running `eb` in bash it returns:
```bash
root@me:~# eb
Traceback (most recent call last):
File "/root/.ebcli-virtual-env/executables/eb", line 41, in
execfile(activate_this, dict(__file__=activate_this))
File "/root/.ebcli-virtual-env/bin/activate_this.py", line 7
from __future__ import annotations
SyntaxError: future feature annotations is not defined
```
Contributor guide
Research direction
Reproduce the installation on Ubuntu 20.04 with Bash, then inspect the generated /root/.ebcli-virtual-env/bin/activate_this.py and /root/.ebcli-virtual-env/executables/eb paths shown in the traceback. Done means invoking eb starts successfully without the Python SyntaxError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, python
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100