-
Notifications
You must be signed in to change notification settings - Fork 819
Open
Labels
bugSomething isn't workingSomething isn't workingfunctionsIssues tied to the functions categoryIssues tied to the functions categoryops-errorsOperational theme: centralized error messagingOperational theme: centralized error messagingp3
Description
How did you install the Amplify CLI?
npm
If applicable, what version of Node.js are you using?
8.19.2
Amplify CLI Version
12.8.2
What operating system are you using?
Mac
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
No
Describe the bug
The following error message is incorrect. You can't install virtualenv by using pip install venv. venv has been built into python since python 3.3, so maybe that should be used instead.
https://docs.python.org/3/library/venv.html
If you want to use virtualenv instead, it can be installed with pip install virtualenv.
You must have virtualenv installed and available on your PATH as "venv". It can be installed by running "pip3 install venv".
Expected behavior
Expecting to get a useful and accurate error message or none at all.
Reproduction steps
- Have Python installed, but without virtualenv on your system
- Set up a Python API with the Amplify CLI https://docs.amplify.aws/guides/api-rest/python-api/q/platform/js/
- Notice during
amplify pushstep, that the inaccurate error message is displayed.
Project Identifier
No response
Log output
Details
# Put your logs below this line
Additional information
No response
Before submitting, please confirm:
- I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
- I have removed any sensitive information from my code snippets and submission.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingfunctionsIssues tied to the functions categoryIssues tied to the functions categoryops-errorsOperational theme: centralized error messagingOperational theme: centralized error messagingp3