Notifications
Clear all

issues with importing openai in python

4 Posts
3 Users
0 Reactions
1,286 Views
(@e-danil)
Member
Joined: 5 years ago
Posts: 18
Topic starter  
image

I am beginner when it comes to python programing. I am trying to create chatgpt based chatbot for my project. For this we need to openai libary. Although, I have installed the libary using pip command. As you can see it is showing that it is installed. But in the code it says that 'import "openai" could not be resolved'.  



   
Quote
(@e-danil)
Member
Joined: 5 years ago
Posts: 18
Topic starter  

i solved the issue it just was in restricted mode. i don't know how to delete this topic



   
ReplyQuote
(@yurkshirelad)
Member
Joined: 5 years ago
Posts: 498
 

Posted by: @e-danil

i solved the issue it just was in restricted mode. i don't know how to delete this topic

 

Leave the topic for someone else in case they hit the same problem.

 



   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 5 years ago
Posts: 8047
 

@yurkshirelad @e-danil But the original poster can mark it as SOLVED


First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, 360, fairly knowledge in PC plus numerous MPU's & MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.


   
ReplyQuote