title: Error occurred after updating and changing PYTHONHOME variable
body: <p>After changing some environmental variable for PYTHONHOME and updating pycharm and python my console kept spitting out this error:</p>
  <pre><code>def __new__(mcls, name, bases, namespace, /, **kwargs)
                                            ^ 
  SyntaxError: invalid syntax
  </code></pre>
  <p>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: <a href="https://stackoverflow.com/questions/42512817/fatal-python-error-on-windows-10-modulenotfounderror-no-module-named-encodings">Fatal Python error on Windows 10 ModuleNotFoundError: No module named &#39;encodings&#39;</a>.</p>
  <p>Then i tried the solution in this question: <a href="https://stackoverflow.com/questions/51950533/fatal-python-error-init-sys-streams-cant-initialize-sys-standard-streams-attr">Fatal Python error: init_sys_streams: can&#39;t initialize sys standard streams AttributeError: module &#39;io&#39; has no attribute &#39;OpenWrapper&#39;</a></p>
  <p>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 <strong>new</strong> and perhaps found the error in there but so far no good.</p>
  <p>Edit 1: Removed a / from _py_abc.py and it now says ImportError: cannot import name 'open_code'</p>