Ask Your Question
1

Installation fails at README step 5 : iMac under OSX 14.6

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

MapFoldingKing gravatar image

updated 2024-06-07 08:09:07 +0100

FrédéricC gravatar image

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

edit retag flag offensive close merge delete

Comments

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 +0100 )edit

http://www.mirrorservice.org/sites/www.sagemath.org/osx/intel/index.html (http://www.mirrorservice.org/sites/ww...)

sage-8.9-OSX_10.14.6-x86_64.app.dmg

http://www.mirrorservice.org/sites/www.sagemath.org/osx/README.txt (http://www.mirrorservice.org/sites/ww...)

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 +0100 )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 +0100 )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 +0100 )edit

SageMath-9.1.app yields same error as SageMath-8.9.app, 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 +0100 )edit

2 Answers

Sort by » oldest newest most voted
1

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

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

Comments

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 +0100 )edit
slelievre gravatar imageslelievre ( 2021-04-13 09:58:12 +0100 )edit
1

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

MapFoldingKing gravatar image

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

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 https://wiki.sagemath.org/interact/gr...

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

Stats

Asked: 2020-08-15 18:53:08 +0100

Seen: 283 times

Last updated: Aug 17 '20