Executing python scripts between Windows and Sage VM

asked 2014-01-31 07:24:29 -0600

I'm trying to execute python scripts from a webpage that include sage commands. I cannot get this to work on any Linux distro, regardless of how many different install instructions I've read. So I decided I'd load the VM OVA of Sage and see if there was a way to communicate with it.

I see it exists on port 8000, and that's grand, but I don't want the Notebook. What I need to do is import the sage library into my python scripts from the VM that exist on my Windows 7 machine, or execute them from the VM and return the data to my Windows 7 machine. (Windows 7 is a WAMP server)

Sagecell is impossible to get working on Linux unless you're a prodigy or realllllly lucky after a build or it's start over (5+ hours per build). It would be fantastic if there was a sagecell OVA for use on the VM for Windows, there's just too many bad install suggestions and even those who know it inside and out have been unable to help me getting it up and running.

Any suggestions would be awesome. Even if it's "You simply cannot do what you want to do." and I'll find an alternative.

Thanks a ton guys! Love the product btw.

edit retag flag offensive close merge delete

Comments

Just found two images posted for KVM by Jason, going to give those a shot. https://groups.google.com/forum/#!topic/sage-support/xXdBK9dJQA4 Hopefully this will be the answer to my problems. Doesn't matter which OS I run my webserver on, I write all my code for portability. Just want to get it running! Pretty excited about the product overall, academia owes you guys a huge favor!

poppadog gravatar imagepoppadog ( 2014-01-31 09:39:19 -0600 )edit