Ask Your Question

BMeyer's profile - activity

2019-10-20 17:12:41 -0600 commented question New Sage user on Windows - Module not found

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

2019-10-20 17:12:41 -0600 asked a question New Sage user on Windows - Module not found

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