I am trying to delete sage from my computer to prepare to give it away to a relative, but it says it is in use when I try to empty the garbage. How do I quit sage, and then uninstall it?
I have mac osx 10.6.8
asked Jun 17 '12
This post is a wiki. Anyone with karma >150 is welcome to improve it.
I've had this problem with "ghost Python processes" before as well when trying to delete old copies of Sage. There is something weird with how Terminal finishes certain processes. Here's how I've dealt with it.
I can't guarantee that this will be your process, but on a Mac the process ID should be something five digits, so this is quite likely it.
It won't format right if I don't put it here - here is a piece of what
posted Jun 18 '12kcrisman
7427 ● 17 ● 76 ● 166
I think the application Activity Monitor is the easiest way to track down rogue processes. It's in the utilities folder in the applications folder. Open that, and then take kcrisman's advice of killing python processes. Do that by selecting the process, and clicking the stop sign at the top left. You can normally just quit, but sometimes you need to force quit (which is like the kill -9 that kcrisman suggests.)
posted Jun 18 '12ooglyboogly
101 ● 1 ● 7
1) I suggest using Command-Option-Esc to see a list of what is currently running. Then, you can "Force Quit" Sage, if it is running. Dragging the sage folder to the trash should do it after that.
2) You might need to restart or just log out and log back in before emptying the trash. At times, I have had to do this with my Mac to make sure all processes are closed that might be related to what I was deleting. What you are encountering sounds more like a Mac issue than a Sage issue to me based on what you've written. (And it seems like an issue that I've seen before with other items.)
Asked: Jun 17 '12
Seen: 189 times
Last updated: Jun 18 '12
powered by ASKBOT version 0.7.22
Copyright Sage, 2010. Some rights reserved under creative commons license.