Ask Your Question

Installation fails at README step 5 : iMac under OSX 14.6

asked 2020-08-15 18:53:08 +0200

MapFoldingKing gravatar image

updated 2022-01-21 21:40:25 +0200

FrédéricC 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 19:10:55 +0200 )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-16 00:47:33 +0200 )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-16 02:37:16 +0200 )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-16 03:08:36 +0200 )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 17:37:17 +0200 )edit

2 Answers

Sort by » oldest newest most voted

answered 2020-08-16 22:07:53 +0200

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-17 01:09:35 +0200 )edit
slelievre gravatar imageslelievre ( 2021-04-13 09:58:12 +0200 )edit

answered 2020-08-17 01:09:49 +0200

MapFoldingKing gravatar image

updated 2020-08-17 01:44:37 +0200

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

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 18:53:08 +0200

Seen: 176 times

Last updated: Aug 17 '20