I'm try to run flask-sqlacodegen on my command line, but i keep getting this error:
flask-sqlacodegen is not recognized as an external or internal command
Here is what i did:
py -3.8 -m pip install flask-sqlacodegen
Which installed the library without any problem. But then, when i try to run a command from my command line, i'll get the error. Here is what i tried:
py -3.8 flask-sqlacodegen mysql://username:password@host:port/db_name --schema yourschema --tables table1,table2 --flask
py -3.8 -m flask-sqlacodegen mysql://username:password@host:port/db_name --schema yourschema --tables table1,table2 --flask
flask-sqlacodegen mysql://username:password@host:port/db_name --schema yourschema --tables table1,table2 --flask
All of them gave me the same error. I tried the same with sqlacodegen and still got the same error. Can anyone help me out on this?