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, 29 Jan 2013 17:09:33 -0600Using PyDev (eclipse) and Sage (on Virtual Box) on Windows 7?https://ask.sagemath.org/question/9521/using-pydev-eclipse-and-sage-on-virtual-box-on-windows-7/Hi there,
I am asking an old question (http://ask.sagemath.org/question/668/using-pydev-eclipse-and-sage) with a different flavour. I need to write a long sage project. I use Windows 7, Eclipse (pyDev) under Windows 7 for my python programming and I have sage 4.8 installed on Windows 7 via a VM Virtual Box. Also, I know very little of Linux.
I wonder if it is possible to write a sage project on Eclipse (pyDev) under Windows 7 using the sage interpreter (and commands, etc). To begin with, I can't even find the location where the sage 4.8 folder is on my laptop, so I can't follow any of the instructions available on the web.
I would appreciate any help in this regard as I have spent a lot of time googling an asnwer.
Thanks, and cheers,
Guillermo
Sat, 10 Nov 2012 16:49:29 -0600https://ask.sagemath.org/question/9521/using-pydev-eclipse-and-sage-on-virtual-box-on-windows-7/Answer by sage-intro for <p>Hi there,</p>
<p>I am asking an old question (<a href="http://ask.sagemath.org/question/668/using-pydev-eclipse-and-sage">http://ask.sagemath.org/question/668/...</a>) with a different flavour. I need to write a long sage project. I use Windows 7, Eclipse (pyDev) under Windows 7 for my python programming and I have sage 4.8 installed on Windows 7 via a VM Virtual Box. Also, I know very little of Linux.</p>
<p>I wonder if it is possible to write a sage project on Eclipse (pyDev) under Windows 7 using the sage interpreter (and commands, etc). To begin with, I can't even find the location where the sage 4.8 folder is on my laptop, so I can't follow any of the instructions available on the web.</p>
<p>I would appreciate any help in this regard as I have spent a lot of time googling an asnwer.</p>
<p>Thanks, and cheers,
Guillermo</p>
https://ask.sagemath.org/question/9521/using-pydev-eclipse-and-sage-on-virtual-box-on-windows-7/?answer=14251#post-id-14251The location of the sage files, are in the virtual hard drive of the Virtual Machine. You can look at the preferences of your "virtualbox" in your virtualbox VM manager to find out where that hard drive lives, but knowing that may be of no help. If you are running Windows 7 use the handy dandy search feature to locate the "sage" file inside the Windows 7 VM.
Hope that points you in the right direction.
Sun, 11 Nov 2012 13:07:01 -0600https://ask.sagemath.org/question/9521/using-pydev-eclipse-and-sage-on-virtual-box-on-windows-7/?answer=14251#post-id-14251Comment by Guillermo Pineda-Villavicencio for <p>The location of the sage files, are in the virtual hard drive of the Virtual Machine. You can look at the preferences of your "virtualbox" in your virtualbox VM manager to find out where that hard drive lives, but knowing that may be of no help. If you are running Windows 7 use the handy dandy search feature to locate the "sage" file inside the Windows 7 VM.
Hope that points you in the right direction.</p>
https://ask.sagemath.org/question/9521/using-pydev-eclipse-and-sage-on-virtual-box-on-windows-7/?comment=18718#post-id-18718Thanks for your response. Unfortunately, Virtual Box VM seems to manage everything like a black box. I can see files Sage-4.8.vbox and Sage-4.8-disk1.vmdk but not the file sage.exe. I imagine it is embedded in the latter. Mon, 12 Nov 2012 22:07:07 -0600https://ask.sagemath.org/question/9521/using-pydev-eclipse-and-sage-on-virtual-box-on-windows-7/?comment=18718#post-id-18718Answer by assadabbasi for <p>Hi there,</p>
<p>I am asking an old question (<a href="http://ask.sagemath.org/question/668/using-pydev-eclipse-and-sage">http://ask.sagemath.org/question/668/...</a>) with a different flavour. I need to write a long sage project. I use Windows 7, Eclipse (pyDev) under Windows 7 for my python programming and I have sage 4.8 installed on Windows 7 via a VM Virtual Box. Also, I know very little of Linux.</p>
<p>I wonder if it is possible to write a sage project on Eclipse (pyDev) under Windows 7 using the sage interpreter (and commands, etc). To begin with, I can't even find the location where the sage 4.8 folder is on my laptop, so I can't follow any of the instructions available on the web.</p>
<p>I would appreciate any help in this regard as I have spent a lot of time googling an asnwer.</p>
<p>Thanks, and cheers,
Guillermo</p>
https://ask.sagemath.org/question/9521/using-pydev-eclipse-and-sage-on-virtual-box-on-windows-7/?answer=14497#post-id-14497Hi,
Have you found any solution to configure Sage in Eclipse? if yes please reply me, I am also a new user of Sage and Eclipse.
ThanksTue, 29 Jan 2013 17:09:33 -0600https://ask.sagemath.org/question/9521/using-pydev-eclipse-and-sage-on-virtual-box-on-windows-7/?answer=14497#post-id-14497Answer by ppurka for <p>Hi there,</p>
<p>I am asking an old question (<a href="http://ask.sagemath.org/question/668/using-pydev-eclipse-and-sage">http://ask.sagemath.org/question/668/...</a>) with a different flavour. I need to write a long sage project. I use Windows 7, Eclipse (pyDev) under Windows 7 for my python programming and I have sage 4.8 installed on Windows 7 via a VM Virtual Box. Also, I know very little of Linux.</p>
<p>I wonder if it is possible to write a sage project on Eclipse (pyDev) under Windows 7 using the sage interpreter (and commands, etc). To begin with, I can't even find the location where the sage 4.8 folder is on my laptop, so I can't follow any of the instructions available on the web.</p>
<p>I would appreciate any help in this regard as I have spent a lot of time googling an asnwer.</p>
<p>Thanks, and cheers,
Guillermo</p>
https://ask.sagemath.org/question/9521/using-pydev-eclipse-and-sage-on-virtual-box-on-windows-7/?answer=14264#post-id-14264You probably need to mount the virtual disk on Windows. Maybe [this forum post](http://https://forums.virtualbox.org/viewtopic.php?t=4748) helps.
Then, going by the [developer instructions](http://wiki.sagemath.org/SageAppliance#How_to_become_a_Sage_developer) in the Sage wiki, I would presume (I haven't tried myself) that you can get access to the sage sources by going to the `<drive letter>:\\home\sage\sage\devel\sage\sage\` directory. Essentially, `<drive letter>:\\home\sage\sage` should be the root folder of the Sage installation.
EDIT: Just make sure you/Windows doesn't try to write to the mounted directory.Mon, 12 Nov 2012 22:22:09 -0600https://ask.sagemath.org/question/9521/using-pydev-eclipse-and-sage-on-virtual-box-on-windows-7/?answer=14264#post-id-14264