# SageMath on Fedora32 works with errors!

You cannot define a function! for example: after f (x) = x ^ 2 + 1 we get the error:

```
TypeError Traceback (most recent call last)
/usr/lib64/python3.8/codeop.py in __call __ (self, source, filename, symbol)
134
135 def __call __ (self, source, filename, symbol):
-> 136 codeob = compile (source, filename, symbol, self.flags, 1)
137 for feature in _features:
138 if codeob.co_flags & feature.compiler_flag:
TypeError: required field "type_ignores" missing from Module
```

Sage is not yet compatible with Python 3.8. That might be the problem.

Thanks for the answer. Is there a workaround for this problem? I hope this will be fixed soon.

Please check the environment variables in a fresh session. Best do not set any python path when starting the terminal starting the ipyton session. In my case, for instance:

Thanks for your suggestion. Here is my environment: environ variable SAGE_PYTHON3 -> yes ..... environ variable SAGE_ETC -> /usr/share/sagemath/etc environ variable DOT_SAGE -> /home/aszanti/.sage

In terminal the ipyton session all is well. The problem and the described error occur in the Jupyter notebook. $ sage -n jupyter

It's already great. After updating the application, everything works well in the notebook. SAGE is good! Thx