ImportError: cannot import name 'unit_square' from netgen.occ


I’m trying to run boundary_conditions.ipynb given in iTutorials on my jupyter notebook. I get an error while importing unit_square from netgen.occ module (image attached).

So, I’ve tried to replace the “netgen.occ” with “netgen.geom2d” to import unit_square. The code didn’t throw an error but while visualizing the “gfu” on web gui it is having some rendering issues (image attached). Can anyone please let me know if this is issue with my unit_square import or it has to do with any other import I have. I’m using the exact code what the tutorial provided. and installed ngsolve from the given download instructions.