Load data when running Sage from a VM in Windows
Hi, is there a way to load data into Sage when I´m running it from a virtual machine in VirtualBox and the data is in Windows? Thanks.
asked 2013-12-16 16:43:00 +0100
This post is a wiki. Anyone with karma >750 is welcome to improve it.
Hi, is there a way to load data into Sage when I´m running it from a virtual machine in VirtualBox and the data is in Windows? Thanks.
answered 2013-12-17 00:26:34 +0100
This post is a wiki. Anyone with karma >750 is welcome to improve it.
It isn't easy. In fact it is a daunting task. Why? You have the overcome the difficulties of matching two operating systems.
If files are small <<1Mb, I use the "Data" option which you find at the top. For larger sizes, I found this commend helpfull to understand the issues, and you find detailed instructions here.
If it works, it works, but it took me months ... Success!
Thanks, your answer helped me a lot!! in fact it is a lot easier than what you made it sound. The only thing you have to do is create a shared folder in the VirtualBox VM and that is it!! I was not sure how to do that but your link was useful. After creating the shared folder, I just used standard python code to read the file from that folder and voilá!!
Please start posting anonymously - your entry will be published after you log in or create a new account.
Asked: 2013-12-16 16:43:00 +0100
Seen: 479 times
Last updated: Dec 17 '13