I'm following the steps to configure the project on this page: https://graphacademy.neo4j.com/courses/app-python/0-setup/1-setup/
I have got as far as modifying the .env file with no problem, but I can't start the project with FLASK_APP=api flask run
. I'm running Windows and found a suggestion to use python -m flask run
but that doesn't work either.
What am I missing?
Hey @stevematk2 , welcome to the community!
Could you share any error messages you get when you try to run the above commands? What OS are you trying to run it on and which version of Python?
I'm running Windows 10 and Python 3.10. I read up a little about how to deactivate and remove a virtual environment, did that, and started over. Now everything is working OK, so I guess I made a mistake somewhere in following the directions.
The only thing that I did differently (that I'm aware of) was that in my first attempt I set everything in my users/steve/anaconda3 folder. This time I set it at the users/steve folder level. I wouldn't expect that to have made any difference, but at least I'm unblocked now.
OK great, I'm glad you got through it. Out of interest, would it be easier to complete the challenges in an online IDE? I have done this for the Node.js & TypeScript courses and I'm contemplating doing it for the other courses too
https://gitpod.io/#https://github.com/neo4j-graphacademy/app-python
Hi Adam,
That seems like it would be easier and would keep the focus on the main body of the coursework - especially for those of us who aren't from a CS background and are more interested in how the platform addresses business challenges. It would probably be more representative of how the system is used in the real world, too.