Forum in maintenance, we will back soon 🙂
Connecting Openai to Python
 Hi,
Â
I have just started the course, I'm new Python and have been following your steps.
I'm trying to connect Openai to Python.
Â
It shows this error, I downloaded the windows visual studio but it's a file of 20GB.
Â
Is there a simpler way to connect Openai to Python without having to download the Windows building tools?
Now I have two visual studios, one like yours and one from Windows.
Â
Thank you
no need for visual studio (the big one)Â
we are using VS code.
@nuno-lobato the course gives you instructions for the tools you need. You can delete the large download if you wish. Here is what you are instructed to install: https://code.visualstudio.com/
Regards,
Earnie Boyd, CEO
Seasoned Solutions Advisor LLC
Schedule 1-on-1 help
Join me on Slack
Thanks guys. How do I get the "Mricrosoft C++ Build Tools" for visual studio? Can you please check the screenshot and let me know what can I do to fix it?
Â
I followed the steps and these errors came up (please check screenshot)
Â
@nuno-lobato the compiler executable is installed. It cannot find the common library files to build an object file. You either need to set an environment variable to your library location or install the development library for C++.
Regards,
Earnie Boyd, CEO
Seasoned Solutions Advisor LLC
Schedule 1-on-1 help
Join me on Slack
I've tried that. I think it has to do with Python latest version.Â
Got it fixed. Downgraded my Python version to Python 3.11.
Â
New people might face the issue. I had to read a few forums from people who tried to install openai recently.
Â
Thank you.Â
@nuno-lobato I haven't used anything beyond 3.9.2 as my Linux Ubuntu hasn't approved anything else for distribution. While newer versions with their improvements might be good, one thing to watch out for is its usability in projects that haven't developed with the newest versions.
@Hasan, you should declare what version of Python you suggest to use.
Regards,
Earnie Boyd, CEO
Seasoned Solutions Advisor LLC
Schedule 1-on-1 help
Join me on Slack
@ssadvisor I use the latest version without problems, I need to investigate this issue