Notifications
Clear all

issues with importing openai in python

4 Posts
3 Users
0 Likes
236 Views
(@e-danil)
Member
Joined: 4 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: 4 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: 3 years ago
Posts: 493
 

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: 3 years ago
Posts: 6982
 

@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, and 360, fairly knowledge in PC plus numerous MPU's and 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.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.


   
ReplyQuote