davidberenstein1957 / crosslingual-coreference

A multi-lingual approach to AllenNLP CoReference Resolution along with a wrapper for spaCy.
MIT License
102 stars 17 forks source link

installation failed: 'notebook' has no attribute 'nbextensions' #24

Open joa-spec opened 1 year ago

joa-spec commented 1 year ago

I tried to install it in a venv: (.spaCy) PS C:\Users\joajo\Documents> pip --version pip 23.2.1 from C:\Users\joajo\Documents.spaCy\Lib\site-packages\pip (python 3.11)

 AttributeError: module 'notebook' has no attribute 'nbextensions'
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed

× Encountered error while generating package metadata. ╰─> See above for output.

note: This is an issue with the package mentioned above, not pip. hint: See above for details.

rainergo commented 10 months ago

I have the same issue.

forg77 commented 9 months ago

It is much related to py 3.11. I set up a new conda env with py 3.9 and the issue is now solved!

davidberenstein1957 commented 5 months ago

Thanks @forg77 @rainergo , I'll spend some time on fixxing these deps soon.

polyyarp commented 4 months ago

Hi @forg77 , which py 3.9 version you use? I used py 3.9.19 automatically set by conda and stll get the same error above

forg77 commented 4 months ago

Hi @forg77 , which py 3.9 version you use? I used py 3.9.19 automatically set by conda and stll get the same error above

I guess it is 3.9.18. The only 3.9 env remain on my server is 3.9.18.