bmabey / pyLDAvis

Python library for interactive topic model visualization. Port of the R LDAvis package.
BSD 3-Clause "New" or "Revised" License
1.81k stars 363 forks source link

FileNotFoundError: [Errno 2] No such file or directory: 'https://cdn.jsdelivr.net/gh/bmabey/pyLDAvis@3.4.0/pyLDAvis/js/ldavis.v1.0.0.css' #254

Closed lxopencv closed 11 months ago

lxopencv commented 1 year ago

in pyLDAvis 3.4.1 File "/home/l/1/venv/lib/python3.10/site-packages/pyLDAvis/_display.py", line 262, in show '/LDAvis.css': ["text/css", open(urls.LDAVIS_CSS_URL, 'r').read()], FileNotFoundError: [Errno 2] No such file or directory: 'https://cdn.jsdelivr.net/gh/bmabey/pyLDAvis@3.4.0/pyLDAvis/js/ldavis.v1.0.0.css'

msusol commented 11 months ago

The file does exist, not sure why you got this error. 3.4.0 = 3.4.1 at least. But it should be 3.4.1 which I will fix in master, but won't be able to fix until pushing out 3.4.2

https://github.com/bmabey/pyLDAvis/blob/master/pyLDAvis/__init__.py#L42