Jump to content

SageMath9.0 in Fedora32 and Python3.8 - Error


Recommended Posts

I have a problem with SageMath 9.0 - after upgrading to F32, there are errors in the Jupyter notebook:
sage -n jupyter
SageMath version 9.0, Release Date: 2020-01-01
Using Python 3.8.2.
An example of a simple function:
f (x) = x ^ 2
after run i get:
TypeError Traceback (most recent call last)
/usr/lib64/python3.8/codeop.py in __call __ (self, source, filename, symbol)
     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

There is a clear incompatibility of Python 3.8 with SageMath!
Can you do anything about it? Please help.
Link to comment
Share on other sites

  • 4 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...