Hi guys, I had a similar problem.
Maybe you'll be interested in how I fixed it. I also got from __future__ import annotations ^ SyntaxError: future feature annotations is not defined But, mine happened after root$ aptitude reinstall python3-numpy with version 3.11.2-1 of the python3.11 package installed. I fixed it by upgrading package old new ------------------------------------------------ pypy3 7.3.3+dfsg-4 7.3.11+dfsg-2 pypy3-lib 7.3.3+dfsg-4 7.3.11+dfsg-2 python3-virtualenv 20.13.0+ds-1 20.17.1+ds-1 I hope that helps! Best wishes, Kingsley -- Time is the fire in which we all burn.