After changing some environmental variable for PYTHONHOME and updating pycharm and python my console kept spitting out this error:
def __new__(mcls, name, bases, namespace, /, **kwargs)
^
SyntaxError: invalid syntax
I've search through some similar problems and tried to reinstall python and let it set the path but the problem still occurred. For reference my first error that lead to this was akin to what happened int his question: Fatal Python error on Windows 10 ModuleNotFoundError: No module named 'encodings'.
Then i tried the solution in this question: Fatal Python error: init_sys_streams: can't initialize sys standard streams AttributeError: module 'io' has no attribute 'OpenWrapper'
And now i found myself with the above error of which am at a standstill. Ive tried looking for the syntax one would use for this new and perhaps found the error in there but so far no good.
Edit 1: Removed a / from _py_abc.py and it now says ImportError: cannot import name 'open_code'