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.
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.
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á!!
Asked: 11 years ago
Seen: 499 times
Last updated: Dec 17 '13