knetrix / Keyword-Extraction-From-Text

Keyword Extraction Project from Texts with Textrank and RAKE Algorithm / Textrank ve RAKE Algoritması ile Metinlerden Anahtar Kelime Çıkarma Projesi
5 stars 0 forks source link

Button BROWSE error #13

Closed MyraBaba closed 1 year ago

MyraBaba commented 1 year ago

when press BROWSE:

Traceback (most recent call last): File "/data/WORKS/keyword-extraction-project-from-text-with-textrank-and-rake-algorithm/file_selection_process.py", line 195, in file_select os.chdir(os.path.join(os.path.join(os.environ["USERPROFILE"]), "Desktop")) File "/home/alp2080/miniconda3/lib/python3.10/os.py", line 680, in getitem raise KeyError(key) from None KeyError: 'USERPROFILE' Aborted (core dumped)

knetrix commented 1 year ago

I noticed that the project does not work in Python 3.10 version. When I try it with Python 3.9.6 version, there seems to be no problem. Also, since the project name was long, it gave an error at the beginning, and I fixed that too. I Updated the Project Description for This.