Forums

newbee help needed to install openai and underatand what environnement is

Everything is in the title, I would like make a task. I've written a script in py but the import openai gives me an error. On the fourm I've seen that it might be an environnement problem. I've tried to make an environnement but also with syntax and didn't succeed So I'm blocked... Can you help me to understand step by step ? thank you

I've already found something the batch at the bottom of a new file to install new packages.

Why don't I see this batch when import a file form my computer ?

Have a thorough read of these to get you started

  • https://help.pythonanywhere.com/pages/VirtualenvsExplained
  • https://help.pythonanywhere.com/pages/InstallingNewModules/

thank you for your help. I've managed to make it working