Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

loading a worksheet

I have a worksheet that stores a number of functions that I want to use. I'm having trouble importing it on the sage math cloud. I followed this guide. I'm still having trouble. My file is "NPS_lib.sagews."

Anytime I try to do something like:

os.path.abspath('.') %load /projects/1fb765dd-blah-blah-blah/NPS_lib.sagews

I get the following error:

IOError: [Errno 2] No such file or directory: u'/projects/1fb765dd-blah-blah-blah/NPS_library.sagews.sobj'

I've tried using load('/path/file') format as well and still get the same error. In particular it always seems to be appending "sobj" to the end of my string, which doesn't look right. What is going on here?

click to hide/show revision 2
retagged

loading a worksheet

I have a worksheet that stores a number of functions that I want to use. I'm having trouble importing it on the sage math cloud. I followed this guide. I'm still having trouble. My file is "NPS_lib.sagews."

Anytime I try to do something like:

os.path.abspath('.') %load /projects/1fb765dd-blah-blah-blah/NPS_lib.sagews

I get the following error:

IOError: [Errno 2] No such file or directory: u'/projects/1fb765dd-blah-blah-blah/NPS_library.sagews.sobj'

I've tried using load('/path/file') format as well and still get the same error. In particular it always seems to be appending "sobj" to the end of my string, which doesn't look right. What is going on here?

loading a worksheet

I have a worksheet that stores a number of functions that I want to use. I'm having trouble importing it on the sage math cloud. I followed this guide. guide. I'm still having trouble. My file is "NPS_lib.sagews."

Anytime I try to do something like:

os.path.abspath('.') %load /projects/1fb765dd-blah-blah-blah/NPS_lib.sagews

I get the following error:

IOError: [Errno 2] No such file or directory: u'/projects/1fb765dd-blah-blah-blah/NPS_library.sagews.sobj'

I've tried using load('/path/file') format as well and still get the same error. In particular it always seems to be appending "sobj" to the end of my string, which doesn't look right. What is going on here?

In the guide link, it looks like changing the extension to .sage makes it work however if I try this it messes up some of the code, particularly comments.

click to hide/show revision 4
retagged

loading a worksheet

I have a worksheet that stores a number of functions that I want to use. I'm having trouble importing it on the sage math cloud. I followed this guide. I'm still having trouble. My file is "NPS_lib.sagews."

Anytime I try to do something like:

os.path.abspath('.') %load /projects/1fb765dd-blah-blah-blah/NPS_lib.sagews

I get the following error:

IOError: [Errno 2] No such file or directory: u'/projects/1fb765dd-blah-blah-blah/NPS_library.sagews.sobj'

I've tried using load('/path/file') format as well and still get the same error. In particular it always seems to be appending "sobj" to the end of my string, which doesn't look right. What is going on here?

In the guide link, it looks like changing the extension to .sage makes it work however if I try this it messes up some of the code, particularly comments.