generator-flask-api
generator-flask-api copied to clipboard
Error Initiating the Generator: `You don't appear to have Python installed.` - Python 3.7
Error
I attempted to follow the quickstart example running inside a pipenv shell.
I DO have Python 3.7 installed.
# yo flask-api my-cool-api
_-----_ ╭──────────────────────────╮
| | │ Welcome to the most │
|--(o)--| │ cromulent Flask REST API │
`---------´ │ generator! │
( _´U`_ ) ╰──────────────────────────╯
/___A___\ /
| ~ |
__'.___.'__
´ ` |° ´ Y `
? Which flavor of database will you be using with your API?
Make sure you've got it installed first, of course! (Use arrow keys)
> PostgreSQL
MySQL
SQLite
None / Other
You don't appear to have Python installed. You should fix that post-haste! Try running me again when you have that sorted out.
Error flask-api my-cool-api
Aborting generation.
Environment Info
OS: Windows10
Python: 3.7.0
NPM Version:
{ npm: '6.2.0',
ares: '1.10.1-DEV',
cldr: '32.0',
http_parser: '2.8.0',
icu: '60.1',
modules: '57',
napi: '3',
nghttp2: '1.32.0',
node: '8.11.3',
openssl: '1.0.2o',
tz: '2017c',
unicode: '10.0',
uv: '1.19.1',
v8: '6.2.414.54',
zlib: '1.2.11' }
Python 3.7 Environment
Package Version
------------ -------
click 6.7
flake8 3.5.0
Flask 1.0.2
itsdangerous 0.24
Jinja2 2.10
MarkupSafe 1.0
mccabe 0.6.1
pip 10.0.1
pycodestyle 2.3.1
pyflakes 1.6.0
setuptools 40.0.0
Werkzeug 0.14.1
wheel 0.31.1

Did you fix it? I am having the same problem.
I was attempting to run this in a container. The container does not have "which" installed. I got around this error by a) making sure I had /usr/bin links to python & pip b) making sure I had which installed (the app uses which to find python)
pls fix