ASKSAGE: Sage Q&A Forum - Individual question feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Tue, 22 Oct 2019 02:45:26 -0500New Sage user on Windows - Module not foundhttps://ask.sagemath.org/question/48445/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
Sun, 20 Oct 2019 16:14:43 -0500https://ask.sagemath.org/question/48445/new-sage-user-on-windows-module-not-found/Comment by ortollj for <p>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</p>
<p>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....</p>
<p>Is there a simple "hello world" sage script to test and see if everything's working?</p>
<h1>??? and thanks.</h1>
<p>ImportError Traceback (most recent call last)
<ipython-input-27-2681e1283492> in <module>()
----> 1 load('aes.sage')</p>
<p>/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</p>
<p>/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:</p>
<p><string> in <module>()</p>
<p><string> in AES()</p>
<p>ImportError: No module named finite_field</p>
https://ask.sagemath.org/question/48445/new-sage-user-on-windows-module-not-found/?comment=48456#post-id-48456Hi 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](https://ask.sagemath.org/question/48422/how-do-i-write-and-implement-a-program-in-sage-for-windows/)Tue, 22 Oct 2019 02:45:26 -0500https://ask.sagemath.org/question/48445/new-sage-user-on-windows-module-not-found/?comment=48456#post-id-48456Comment by BMeyer for <p>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</p>
<p>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....</p>
<p>Is there a simple "hello world" sage script to test and see if everything's working?</p>
<h1>??? and thanks.</h1>
<p>ImportError Traceback (most recent call last)
<ipython-input-27-2681e1283492> in <module>()
----> 1 load('aes.sage')</p>
<p>/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</p>
<p>/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:</p>
<p><string> in <module>()</p>
<p><string> in AES()</p>
<p>ImportError: No module named finite_field</p>
https://ask.sagemath.org/question/48445/new-sage-user-on-windows-module-not-found/?comment=48447#post-id-48447I did find /opt....so it appears the files are there. Anyway, do I need to put my source file someplace else?Sun, 20 Oct 2019 16:22:48 -0500https://ask.sagemath.org/question/48445/new-sage-user-on-windows-module-not-found/?comment=48447#post-id-48447