Help with some errors please, I'm new to this whole thing

Hello, i am new to the whole design seen, here is the error i get, BUT FIRST, here is the code i use:

import direct.directbase.DirectStart
#Load enviornment
enviorn = loader.loadModel("models/enviornment")
enviorn.reparentTo(render) 
enviorn.setScale(0.75,0.75,0.75)
enviorn.setPos(-8,42,0)
#end

run()

and the error is:

File firstscript.py line 4, in ?
enviorn.reparentTo<render>
AttributeError: 'NoneType' object has no attribute 'raparentTo'

How do i fix this?

most likely you missed the error above telling you that models/enviornment is not found. Maybe try models/enviornment.egg? And make shure it is there. Your code is trying to load “models/enviornment” does not find it.

Try environment and not enviornment.
enn0x