You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: you may need to restart the kernel to use updated packages.
Output is truncated. View as a scrollable element or open in a text editor. Adjust cell output settings...
Collecting top2vec
Using cached top2vec-1.0.33-py3-none-any.whl (27 kB)
Requirement already satisfied: umap-learn>=0.5.1 in /user/Top2Vec/venv/lib/python3.10/site-packages (from top2vec) (0.5.4)
Requirement already satisfied: pandas in /user/Top2Vec/venv/lib/python3.10/site-packages (from top2vec) (2.1.3)
Requirement already satisfied: wordcloud in /user/Top2Vec/venv/lib/python3.10/site-packages (from top2vec) (1.9.2)
Requirement already satisfied: scikit-learn>=1.2.0 in /user/Top2Vec/venv/lib/python3.10/site-packages (from top2vec) (1.3.2)
Requirement already satisfied: hdbscan>=0.8.27 in /user/Top2Vec/venv/lib/python3.10/site-packages (from top2vec) (0.8.33)
Requirement already satisfied: gensim>=4.0.0 in /user/Top2Vec/venv/lib/python3.10/site-packages (from top2vec) (4.3.2)
Requirement already satisfied: numpy>=1.20.0 in /user/Top2Vec/venv/lib/python3.10/site-packages (from top2vec) (1.26.1)
Requirement already satisfied: scipy>=1.7.0 in /user/Top2Vec/venv/lib/python3.10/site-packages (from gensim>=4.0.0->top2vec) (1.11.3)
Requirement already satisfied: smart-open>=1.8.1 in /user/Top2Vec/venv/lib/python3.10/site-packages (from gensim>=4.0.0->top2vec) (6.4.0)
Requirement already satisfied: joblib>=1.0 in /user/Top2Vec/venv/lib/python3.10/site-packages (from hdbscan>=0.8.27->top2vec) (1.3.2)
Requirement already satisfied: cython<3,>=0.27 in /user/Top2Vec/venv/lib/python3.10/site-packages (from hdbscan>=0.8.27->top2vec) (0.29.36)
Requirement already satisfied: threadpoolctl>=2.0.0 in /user/Top2Vec/venv/lib/python3.10/site-packages (from scikit-learn>=1.2.0->top2vec) (3.2.0)
Requirement already satisfied: numba>=0.51.2 in /user/Top2Vec/venv/lib/python3.10/site-packages (from umap-learn>=0.5.1->top2vec) (0.58.1)
Requirement already satisfied: pynndescent>=0.5 in /user/Top2Vec/venv/lib/python3.10/site-packages (from umap-learn>=0.5.1->top2vec) (0.5.10)
Requirement already satisfied: tbb>=2019.0 in /user/Top2Vec/venv/lib/python3.10/site-packages (from umap-learn>=0.5.1->top2vec) (2021.10.0)
Requirement already satisfied: tqdm in /user/Top2Vec/venv/lib/python3.10/site-packages (from umap-learn>=0.5.1->top2vec) (4.66.1)
Requirement already satisfied: python-dateutil>=2.8.2 in /user/Top2Vec/venv/lib/python3.10/site-packages (from pandas->top2vec) (2.8.2)
Requirement already satisfied: pytz>=2020.1 in /user/Top2Vec/venv/lib/python3.10/site-packages (from pandas->top2vec) (2023.3.post1)
Requirement already satisfied: tzdata>=2022.1 in /user/Top2Vec/venv/lib/python3.10/site-packages (from pandas->top2vec) (2023.3)
Requirement already satisfied: pillow in /user/Top2Vec/venv/lib/python3.10/site-packages (from wordcloud->top2vec) (10.1.0)
Requirement already satisfied: matplotlib in /user/Top2Vec/venv/lib/python3.10/site-packages (from wordcloud->top2vec) (3.8.1)
Requirement already satisfied: llvmlite<0.42,>=0.41.0dev0 in /user/Top2Vec/venv/lib/python3.10/site-packages (from numba>=0.51.2->umap-learn>=0.5.1->top2vec) (0.41.1)
Requirement already satisfied: six>=1.5 in /user/Top2Vec/venv/lib/python3.10/site-packages (from python-dateutil>=2.8.2->pandas->top2vec) (1.16.0)
...
ERROR: Could not install packages due to an OSError: [Errno 13] Permission denied: '/user/Top2Vec/venv/lib/python3.10/site-packages/top2vec'
Check the permissions.
Note: you may need to restart the kernel to use updated packages.
Output is truncated. View as a scrollable element or open in a text editor. Adjust cell output settings...
AttributeError Traceback (most recent call last)
/user/Top2Vec/notebooks/CORD-19_top2vec.ipynb Cell 21 line 1
----> 1 top2vec = Top2Vec.load("../input/covid19top2vec/covid19_deep_learn_top2vec")
File /user/Top2Vec/venv/lib/python3.10/site-packages/top2vec/Top2Vec.py:790, in Top2Vec.load(cls, file)
787 top2vec_model = load(file)
789 # load document index
--> 790 if top2vec_model.documents_indexed:
791 if not _HAVE_HNSWLIB:
792 raise ImportError(f"Cannot load document index.\n\n"
793 "Try: pip install top2vec[indexing]\n\n"
794 "Alternatively try: pip install hnswlib")
AttributeError: 'Top2Vec' object has no attribute 'documents_indexed'
I am use 1.0.33 version of top2vec
The text was updated successfully, but these errors were encountered: