-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can’t figure out how to run Kenzo #127
Comments
Kenzo defines a package called
Does that work for you? The Jupyter notebook hides some of the initialization work. |
It works, thanks! |
Will do. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I’m trying to run Kenzo but it doesn’t seem to work. This is probably an issue with me rather than with Kenzo, as I don’t know much about Lisp (in particular how packages/systems/modules work) but I would welcome any help.
I have installed SBCL (locally, as I do not have admin rights), cloned the Kenzo repository, and simlinked Kenzo to
~/.local/share/common-lisp/source/Kenzo
.Now, from the command line I run
sbcl
, then in the prompt(require :asdf)
and then(require :kenzo)
. The first time it did a lot of things, and now it only returns("abbreviations" "macros" "various" "classes" "combinations" "chain-complexes" "chcm-elementary-op" "effective-homology" "homology-groups" "searching-homology" ...)
I guess that’s ok, and that it has been loaded.
But now how do I use it?
I tried running the first line of
00_Overview.ipynb
in the sbcl prompt, namely(def m23 (moore 2 3))
, but it fails with the following error:If I try
(moore 2 3)
, I getdebugger invoked on a UNDEFINED-FUNCTION in thread #<THREAD "main thread" RUNNING {10028DE963}>: The function COMMON-LISP-USER::MOORE is undefined.
I also tried things like
(kenzo:moore 2 3)
but then I getdebugger invoked on a SB-INT:SIMPLE-READER-PACKAGE-ERROR in thread #<THREAD "main thread" RUNNING {10028DE963}>: Package KENZO does not exist.Stream: #<SYNONYM-STREAM :SYMBOL SB-SYS:*STDIN* {1000189D43}>
What am I missing?
Thanks!
The text was updated successfully, but these errors were encountered: