New Sage user on Windows - Module not found

asked 2019-10-20 23:14:43 +0100

BMeyer gravatar image

Installed Sage 8.9 on Windows but am a brand new user. I loaded the source file I need to interpret/run (aes.sage) but when it begins to load, I get the below. The aes.sage file is open source code, so I suspect it's fine. Is something wrong with my environment? I can't seem to find any good help files on running Sage in Windows

Directly related - I cannot find the paths below (starting with "/opt...") in my install path for sage (C:/users/meyer/.sage) It appears these are there someplace....

Is there a simple "hello world" sage script to test and see if everything's working?

??? and thanks.

ImportError Traceback (most recent call last) <ipython-input-27-2681e1283492> in <module>() ----> 1 load('aes.sage')

/opt/sagemath-8.9/local/lib/python2.7/site-packages/sage/misc/persist.pyx in sage.misc.persist.load (build/cythonized/sage/misc/persist.c:2483)() 143 144 if sage.repl.load.is_loadable_filename(filename): --> 145 sage.repl.load.load(filename, globals()) 146 return 147

/opt/sagemath-8.9/local/lib/python2.7/site-packages/sage/repl/load.pyc in load(filename, globals, attach) 270 add_attached_file(fpath) 271 with open(fpath) as f: --> 272 exec(preparse_file(f.read()) + "\n", globals) 273 elif ext == '.spyx' or ext == '.pyx': 274 if attach:

<string> in <module>()

<string> in AES()

ImportError: No module named finite_field

edit retag flag offensive close merge delete

Comments

I did find /opt....so it appears the files are there. Anyway, do I need to put my source file someplace else?

BMeyer gravatar imageBMeyer ( 2019-10-20 23:22:48 +0100 )edit

Hi BMeyer

I think you need to be more precise so that we can help you. did you install Sagemath 8.9 without encountering any problems? then when you click on the notebook icon on your desktop what happens to you?

see this post

ortollj gravatar imageortollj ( 2019-10-22 09:45:26 +0100 )edit