comes up with the errors below in terminal any help would be much appreciated.(using PI 3B+)
pi@raspberrypi:~/Desktop/PiCycle $ ./PiCycle.sh
setterm: terminal xterm-256color does not support --blank
setterm: cannot (un)set powersave mode: Inappropriate ioctl for device
pi@raspberrypi:~/Desktop/PiCycle $ pygame 1.9.6
Hello from the pygame community. https://www.pygame.org/contribute.html
/home/pi/Desktop/PiCycle/./PiCycle.py:256: DeprecationWarning: Seeding based on hashing is deprecated
since Python 3.9 and will be removed in a subsequent version. The only
supported seed types are: None, int, float, str, bytes, and bytearray.
random.seed(time.gmtime())
Traceback (most recent call last):
File "/home/pi/Desktop/PiCycle/./PiCycle.py", line 267, in
ThisDisplay = Display.Display(ThisSurface, MAX_CYCLES)
File "/home/pi/Desktop/PiCycle/Display.py", line 90, in init
self.LargeFont = pygame.font.Font(None, self.LargeFontSize)
TypeError: integer argument expected, got float
comes up with the errors below in terminal any help would be much appreciated.(using PI 3B+)
pi@raspberrypi:~/Desktop/PiCycle $ ./PiCycle.sh
setterm: terminal xterm-256color does not support --blank
setterm: cannot (un)set powersave mode: Inappropriate ioctl for device
pi@raspberrypi:~/Desktop/PiCycle $ pygame 1.9.6
Hello from the pygame community. https://www.pygame.org/contribute.html
/home/pi/Desktop/PiCycle/./PiCycle.py:256: DeprecationWarning: Seeding based on hashing is deprecated
since Python 3.9 and will be removed in a subsequent version. The only
supported seed types are: None, int, float, str, bytes, and bytearray.
random.seed(time.gmtime())
Traceback (most recent call last):
File "/home/pi/Desktop/PiCycle/./PiCycle.py", line 267, in
ThisDisplay = Display.Display(ThisSurface, MAX_CYCLES)
File "/home/pi/Desktop/PiCycle/Display.py", line 90, in init
self.LargeFont = pygame.font.Font(None, self.LargeFontSize)
TypeError: integer argument expected, got float