Ask Your Question

Installation fails at README step 5 : iMac under OSX 14.6

asked 2020-08-15 11:53:08 -0500

MapFoldingKing gravatar image

updated 2020-08-15 13:07:49 -0500

slelievre gravatar image

ImportError: dlopen(/Applications/sage/local/lib/python2.7/lib-dynload/, 2): Symbol not found: __PyUnicodeUCS4_AsDefaultEncodedString Referenced from: /Applications/sage/local/lib/python2.7/lib-dynload/ Expected in: flat namespace in /Applications/sage/local/lib/python2.7/lib-dynload/ logout

edit retag flag offensive close merge delete


Welcome to Ask Sage! Thank you for your question!

Can you specify

  • what you downloaded
  • what README you followed
slelievre gravatar imageslelievre ( 2020-08-15 12:10:55 -0500 )edit ( (

I'm relieved to hear from a human --- this query appeared at first to have immediately been cancelled by some brain-damaged robot ...

MapFoldingKing gravatar imageMapFoldingKing ( 2020-08-15 17:47:33 -0500 )edit

Every post from a new user goes through moderation (to fight spam) but the website does not make that very clear or very friendly, sorry!

slelievre gravatar imageslelievre ( 2020-08-15 19:37:16 -0500 )edit

The reference to python2.7 is suspicious: elsewhere in the documentation it is stated that Sage has been converted to python 3 ?

MapFoldingKing gravatar imageMapFoldingKing ( 2020-08-15 20:08:36 -0500 )edit yields same error as, including identical step 5) headers:

| Sage Version 5.8, Release Date: 2013-03-15 | | Type "notebook()" for the browser-based notebook interface. |

| Type "help()" for help. |

MapFoldingKing gravatar imageMapFoldingKing ( 2020-08-16 10:37:17 -0500 )edit

2 answers

Sort by ยป oldest newest most voted

answered 2020-08-16 18:09:49 -0500

MapFoldingKing gravatar image

updated 2020-08-16 18:44:37 -0500

Verification on iMac: ignore steps 4--6 of obsolete installation README file!

After dragging to Applications folder in DMG manager and that pop-up window has announced copying completed, click on Sage icon.

A pop-up window announces "verifying", followed by message "Could not be opened because from untrusted developer": you MUST kill this via clicking on OK !

Go to Apple System Preferences, Security, General; unlock via superuser password, click on "Open anyway". Kill another (duplicate) pop-up.

"Jupyter" browser panel should open after verification is complete: click on Files, New, SageMath (etc) to open active edit window.

Default for program & output backup files is Documents folder.

Interactive graphics test programs at

edit flag offensive delete link more

answered 2020-08-16 15:07:53 -0500

slelievre gravatar image

The README.txt file you came across is outdated.

Once you have downloaded the xxx-app.dmg, open the dmg, copy the app to your /Applications folder, and open it, e.g. by double-clicking it.

You may have to visit the "Security and Privacy" tab of macOS's "System Preferences" to unquarantine the app. See

The app takes a very long time to start for some reason.

edit flag offensive delete link more


A good deal of time wasted by both of us there, since that was what I had originally done. But the Jupyter page which opened is just as cryptic as everything else on site: at first I could not persuade it to actually do anything, so assumed the download had failed.

Current Jupyter online documentation found was just sufficiently out-of-date not to assist with getting it actually to start working. I have attempted to remedy the situation with my own expanded answer below.

MapFoldingKing gravatar imageMapFoldingKing ( 2020-08-16 18:09:35 -0500 )edit

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: 2020-08-15 11:53:08 -0500

Seen: 45 times

Last updated: Aug 16