mandaw2014 / mandaw_openworld

An Open World Game Made With The Ursina Game Engine
GNU General Public License v3.0
16 stars 8 forks source link

AttributeError: module 'PIL.Image' has no attribute 'ANTIALIAS' #3

Open ShivamKR12 opened 5 months ago

ShivamKR12 commented 5 months ago

PS C:\Users\Shivam\Desktop\voxel 3d\mandaw_openworld-master> & C:/Users/Shivam/AppData/Local/Programs/Python/Python312/python.exe "c:/Users/Shivam/Desktop/voxel 3d/mandaw_openworld-master/main.py" package_folder: C:\Users\Shivam\AppData\Local\Programs\Python\Python312\Lib\site-packages\ursina asset_folder: c:\Users\Shivam\Desktop\voxel 3d\mandaw_openworld-master screen resolution: (1366, 768) Known pipe types: wglGraphicsPipe (3 aux display modules not yet loaded.) :pnmimage:png(warning): iCCP: known incorrect sRGB profile Traceback (most recent call last): File "c:\Users\Shivam\Desktop\voxel 3d\mandaw_openworld-master\main.py", line 20, in map = Map() ^^^^^ File "c:\Users\Shivam\Desktop\voxel 3d\mandaw_openworld-master\map.py", line 8, in init self.terrain = Entity(model = Terrain("heightmap", skip = 8), texture = "colour", scale = 2000, scale_y = 1000, collider = "mesh", tag = "terrain") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "c:\Users\Shivam\Desktop\voxel 3d\mandaw_openworld-master\terrain.py", line 24, in init img = img.resize([self.width, self.depth], Image.ANTIALIAS) ^^^^^^^^^^^^^^^ AttributeError: module 'PIL.Image' has no attribute 'ANTIALIAS'

ShivamKR12 commented 5 months ago

@mandaw2014