Installation Error Version 1.19.1: error: key not found in dictionary

20 views
Skip to first unread message

sankhaneel bisui

unread,
May 6, 2022, 3:50:25 PM5/6/22
to maca...@googlegroups.com
Hi, 
I hope you are doing well. I installed Macaulay2 Version-1.19.1 on my apple device with macOS Mojave (version-10.14.6). I followed the instructions as described on the website. I can start Macaulay2 in emacs, but it begins with the following error message and other notes. 
/Applications/Macaulay2-1.19.1/share/Macaulay2/Core/packages.m2:424:124:(1):[67]: error: key not found in dictionary
I tried to load some packages, but that did not work. I am attaching the screenshot of the error and notes. I wondered whether the old version of macOS was causing the trouble. Has anyone faced similar situations before? 
I also tried to install M2 using brew, but that did not work out. So I installed it by downloading the .dmg file. I do not know what to do at this point. I appreciate any help you can give me. 
Thanks in advance. 
Screen Shot 2022-05-06 at 2.23.06 PM.png
--
Best regards,
Sankhaneel Bisui

Daniel R. Grayson

unread,
May 8, 2022, 12:04:36 PM5/8/22
to Macaulay2
You seem to have some old packages installed in your "user application directory", `~/Library/Application Support/Macaulay2/`.  If you add `-q` to the M2 command line, it should work.  If that does work, you can remove those old packages with `uninstallAllPackages()`, and then you won't need the `-q`, and you can re-install those packages, after first checking that they work.

sankhaneel bisui

unread,
May 8, 2022, 3:11:26 PM5/8/22
to maca...@googlegroups.com
Thank you, Dr. Grayson, this works. 

On Sun, May 8, 2022 at 11:04 AM Daniel R. Grayson <danielrich...@gmail.com> wrote:
You seem to have some old packages installed in your "user application directory", `~/Library/Application Support/Macaulay2/`.  If you add `-q` to the M2 command line, it should work.  If that does work, you can remove those old packages with `uninstallAllPackages()`, and then you won't need the `-q`, and you can re-install those packages, after first checking that they work.

--
You received this message because you are subscribed to the Google Groups "Macaulay2" group.
To unsubscribe from this group and stop receiving emails from it, send an email to macaulay2+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/macaulay2/8a17785c-f9dd-40c5-b63b-0734327d8727n%40googlegroups.com.


--
Best regards,
Sankhaneel Bisui
Post-doc
University of Manitoba- Mathematics Department 
Reply all
Reply to author
Forward
0 new messages