Ask Your Question

Install sage in mac os 10.6.8

asked 2011-09-12 13:58:17 +0200

anonymous user


Hello, I am trying to install SAGE in a mac with os 10.6.8 without success so far. I get the following message:

'/Users/fernandocukierman/Desktop/'/sage --notebook You have mail. 214-235-16-190:~ fernandocukierman$ '/Users/fernandocukierman/Desktop/'/sage --notebook /Users/fernandocukierman/Desktop/ line 607: sage-notebook: command not found

Thanks for your help. Yours, Fernando

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted

answered 2011-09-12 14:59:57 +0200

kcrisman gravatar image

updated 2011-09-12 22:48:53 +0200

What happens if you open a Terminal window (it's in Utilities) and do the following command?


This should start a command-line session.

Update after feedback:

Okay, it sounds like you do not have permissions for some reason. It's trying to set up your .sage folder, and your system is not allowing this. Can you now try the following, then try everything again?

  1. Open Terminal
  2. Do chmod a+w .sage/ (I think this is correct syntax)
  3. Try starting Sage from command line
  4. If all goes well, try the app again
edit flag offensive delete link more

answered 2011-09-12 20:41:06 +0200

Fernando gravatar image

updated 2011-09-13 05:42:47 +0200

niles gravatar image

Hello, thanks for your answer. When I enter the command you suggested I get the following:

| Sage Version 4.7.1, Release Date: 2011-08-11                       |
| Type notebook() for the GUI, and license() for information.        |
mkdir: /Users/fernandocukierman/.sage: Permission denied
cp: /Users/fernandocukierman/.sage: Permission denied
cp: /Users/fernandocukierman/Desktop/ unable to copy extended attributes to /Users/fernandocukierman/.sage: Permission denied
cp: /Users/fernandocukierman/.sage/ No such file or directory
cp: /Users/fernandocukierman/.sage/ No such file or directory
cp: /Users/fernandocukierman/.sage/ipythonrc: No such file or directory
cp: /Users/fernandocukierman/.sage/ipythonrc-math: No such file or directory
cp: /Users/fernandocukierman/.sage/ipythonrc-numeric: No such file or directory
cp: /Users/fernandocukierman/.sage/ipythonrc-physics: No such file or directory
cp: /Users/fernandocukierman/.sage/ipythonrc-pysh: No such file or directory
cp: /Users/fernandocukierman/.sage/ipythonrc-scipy: No such file or directory
cp: /Users/fernandocukierman/.sage/ipythonrc-tutorial: No such file or directory
/Users/fernandocukierman/Desktop/ line 303: sage-ipython: command not found

Thanks, Fernando

edit flag offensive delete link more

answered 2011-11-12 20:38:35 +0200

roo gravatar image

Double-clicking the app doesn't work at all on Mac OSX 1.6.x. Using the command line doesn't work either: sage: notebook()

/Applications/ line 39: /Users/admin/.sage/local/bin/sage-sage: No such file or directory

ValueError Traceback (most recent call last)

/Users/admin/.sage/<ipython console=""> in <module>()

/Applications/ in __call__(self, args, *kwds) 215 """ 216 def __call__(self, args, *kwds): --> 217 return self.notebook(args, *kwds) 218 219 notebook = run_notebook.notebook_twisted

/Applications/ in notebook_twisted(self, directory, port, interface, address, port_tries, secure, reset, accounts, require_login, server_pool, ulimit, timeout, open_viewer, sagetex_path, start_path, fork, quiet, subnets) 200 print '*' * 70 201 --> 202 nb = notebook.load_notebook(directory) 203 204 directory = nb._dir

/Applications/ in load_notebook(dir, interface, port, secure) 1807 # mainly to avoid circular references, etc. This also means 1808 # only one notebook can actually be used at any point. -> 1809 import sagenb.notebook.twist 1810 sagenb.notebook.twist.notebook = nb 1811

/Applications/ in <module>() 64 java_path = os.path.join(DATA) 65 ---> 66 jsmath_image_fonts = is_package_installed("jsmath-image-fonts") 67 68 # the list of users waiting to register

/Applications/ in is_package_installed(package) 168 True 169 """ --> 170 return any(p.startswith(package) for p in install_package()) 171 172 def standard_packages():

/Applications/ in install_package(package, force) 125 if __installed_packages is None: 126 X = os.popen('sage -f').read().split('\n') --> 127 i = X.index('Currently installed packages:') 128 X = [Y for Y in X[i+1:] if Y != ''] 129 X.sort()

ValueError: list.index(x): x not in list

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2011-09-12 13:58:17 +0200

Seen: 1,484 times

Last updated: Nov 12 '11