:util(error): Unable to open config/conf.prc

Hello,
I am new to the panda3d scene and have been trying to get started.
However when I attempt to load the config file I receive the following error;

:util(error): Unable to open config/conf.prc
Known pipe types:
wglGraphicsPipe
(all display modules loaded.)

//This is what my code looks like;

from panda3d.core import loadPrcFile
loadPrcFile(“config/conf.prc”)

from direct.showbase.ShowBase import ShowBase

class MyGame(ShowBase):
def init(self):
super().init()

game = MyGame()
game.run()

//This is the code that the config file contains;
win-size 300 400
window-title My Game

//What am I doing incorrectly?

Well, where is “conf.prc” located? Specifically, where is it located relative to the folder from which you’re running the above code?

it is in the same folder

I take it that you’re having the same problem as the original poster?

If so, then I’ll note that in the case of the original poster, they were trying to load the file “config/conf.prc”. That indicates a file in a sub-folder of the folder from which the code is being run, rather than in the same one. (Specifically, a sub-folder named “config”.)

Thus what I’d be inclined to suggest there, I believe, would be to either change the file-path given in the code to omit the initial “config/”, or to add to the main program-folder a sub-folder named “config” and then place the file “conf.prc” in that sub-folder.