loving-common-lisp icon indicating copy to clipboard operation
loving-common-lisp copied to clipboard

Attempting to load spacy-py4cl with quicklisp

Open lottaquestions opened this issue 2 years ago • 1 comments

I tried loading spacy-py4cl using instructions from the book and got the following error in my repl:

CL-USER> (ql:quickload "spacy-py4cl")
To load "spacy-py4cl":
  Load 1 ASDF system:
    spacy-py4cl
; Loading "spacy-py4cl"
; 
; compilation unit aborted
;   caught 1 fatal ERROR condition
; 
; compilation unit aborted
;   caught 1 fatal ERROR condition
; 
; compilation unit aborted
;   caught 1 fatal ERROR condition
; 
; compilation unit aborted
;   caught 1 fatal ERROR condition

And was dumped into the following debug window:

Python error: "No module named 'spacystub'"
   [Condition of type PY4CL:PYTHON-ERROR]
 
Restarts:
 0: [TRY-RECOMPILING] Recompile spacy-py4cl and try loading it again
 1: [RETRY] Retry loading FASL for #<CL-SOURCE-FILE "spacy-py4cl" "spacy-py4cl">.
 2: [ACCEPT] Continue, treating loading FASL for #<CL-SOURCE-FILE "spacy-py4cl" "spacy-py4cl"> as having been successful.
 3: [RETRY] Retry ASDF operation.
 4: [CLEAR-CONFIGURATION-AND-RETRY] Retry ASDF operation after resetting the configuration.
 5: [RETRY] Retry ASDF operation.
 --more--
 
Backtrace:
  0: (PY4CL::DISPATCH-MESSAGES #<UIOP/LAUNCH-PROGRAM::PROCESS-INFO {1004F94B03}>)
  1: ((SB-C::TOP-LEVEL-FORM (SETQ *PACKAGE* (SB-INT:FIND-UNDELETED-PACKAGE-OR-LOSE "SPACY-PY4CL")))) [toplevel]

lottaquestions avatar May 06 '23 16:05 lottaquestions

There is a directory with a Python library in the spaCy example directory. You need to install my Python library first.

mark-watson avatar May 25 '23 21:05 mark-watson