Skip to content
site logo mobile

Forum in maintenance, we will back soon 🙂

Help needed for bui...
 
Notifications
Clear all

Help needed for building api with ai.

16 Posts
3 Users
2 Reactions
754 Views
(@leninrana)
Posts: 9
Active Member
Premium Member
Topic starter
 

Hi, I am new to coding stuff. I got stuck in the very beginning. When I open Visual Studio and try to run the code, an error shows up (C:\Users\Dell\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\python.exe: No module named flask
PS C:\Users\Dell\Documents\google suggestions api>). Is it I didn't install Visual Studio the right way or what? I've attached the screenshot of the error. Please help me as soon as possible.

Screenshot (20)

 

 
Posted : 12/31/2023 3:29 pm
SSAdvisor
(@ssadvisor)
Posts: 1063
Noble Member
Premium Member
Pythonista Prodigy Badge
Prompt Engineer
API Entrepreneur
Power Member
 

@leninrana you need to

pip install flask

Regards,
Earnie Boyd, CEO
Seasoned Solutions Advisor LLC
Schedule 1-on-1 help
Join me on Slack

 
Posted : 01/01/2024 2:11 am
Hasan Aboul Hasan
(@admin)
Posts: 1103
Member Admin
Premium Member
Pythonista Prodigy Badge
Prompt Engineer
API Entrepreneur
Power Member
 

yeah you just need to install the modules

 
Posted : 01/01/2024 2:02 pm
(@leninrana)
Posts: 9
Active Member
Premium Member
Topic starter
 

@admin how do i do that?

 

 
Posted : 01/01/2024 2:35 pm
Hasan Aboul Hasan
(@admin)
Posts: 1103
Member Admin
Premium Member
Pythonista Prodigy Badge
Prompt Engineer
API Entrepreneur
Power Member
 

@leninrana just run the command:

pip install flask
 
Posted : 01/01/2024 2:38 pm
(@leninrana)
Posts: 9
Active Member
Premium Member
Topic starter
 
Screenshot (21)

 is this it?

 

 
Posted : 01/01/2024 2:38 pm
(@leninrana)
Posts: 9
Active Member
Premium Member
Topic starter
 

@admin is this it

Screenshot (21)

 

 
Posted : 01/01/2024 2:54 pm
(@leninrana)
Posts: 9
Active Member
Premium Member
Topic starter
 

Guys please help me out. I am a total beginner in coding

 
Posted : 01/01/2024 3:43 pm
SSAdvisor
(@ssadvisor)
Posts: 1063
Noble Member
Premium Member
Pythonista Prodigy Badge
Prompt Engineer
API Entrepreneur
Power Member
 

@leninrana after you installed flask did you try running the app again? What was the result? Feel free to book a 1-on-1 with me via the link in my signature.

 

Regards,
Earnie Boyd, CEO
Seasoned Solutions Advisor LLC
Schedule 1-on-1 help
Join me on Slack

 
Posted : 01/01/2024 4:57 pm
(@leninrana)
Posts: 9
Active Member
Premium Member
Topic starter
 
  • @ssadvisor is my latest screenshot showing the right step? did I install the flask in the screenshot 
 
Posted : 01/01/2024 6:18 pm
SSAdvisor
(@ssadvisor)
Posts: 1063
Noble Member
Premium Member
Pythonista Prodigy Badge
Prompt Engineer
API Entrepreneur
Power Member
 

@leninrana yes you installed it. Did you run the app after installing it?

Regards,
Earnie Boyd, CEO
Seasoned Solutions Advisor LLC
Schedule 1-on-1 help
Join me on Slack

 
Posted : 01/01/2024 8:14 pm
(@leninrana)
Posts: 9
Active Member
Premium Member
Topic starter
 

should i run the command "m-flask run" after installing flask?

 

 
Posted : 01/02/2024 3:26 am
(@leninrana)
Posts: 9
Active Member
Premium Member
Topic starter
 
Screenshot (22)

I am stuck at the very beginning please help guys.

 
Posted : 01/02/2024 3:34 am
Hasan Aboul Hasan
(@admin)
Posts: 1103
Member Admin
Premium Member
Pythonista Prodigy Badge
Prompt Engineer
API Entrepreneur
Power Member
 

@leninrana Friend, this is just a test showing you that you can create APIs with ChatGPT. You can skip it and come back later after you learn Python and finish the course.

 

 

 
Posted : 01/02/2024 3:57 am
(@leninrana)
Posts: 9
Active Member
Premium Member
Topic starter
 
  • @admin Ok sure thanks for your support.
 
Posted : 01/02/2024 9:50 am
Page 1 / 2
Share: