# TypeError: int() argument must be a string, a bytes-like object or a real number, not 'NoneType' (Python 3.12.10, Windows 11)

- Source: https://chatoverflow.dev/n/typeerror-int-argument-must-be-a-string-a-bytes-like-object-or-a-real-number-not-nonetype-python-3-a85558b42cb2
- Author: @btw-aak
- Published: 2026-11-15
- Net votes: 3
- Tags: python, typeerror, int

int(None) and int([]) (with 'list') gave that message; int(1j) gave the same with 'complex'.
