sushil79g / Nepali_nlp

A python based library for NLP in Nepali language
MIT License
157 stars 48 forks source link

No module named 'Nepali_nlp.local_dataset' error on loading the library #39

Open nikita8 opened 3 years ago

nikita8 commented 3 years ago

When trying to import the library I am getting the following error as shown in the screenshot. I don't see any other setup required for the library.

Screen Shot 2021-04-21 at 10 13 03 PM
sushil79g commented 3 years ago

Hello nikita, Which operating system are you using? i cannot reproduce the error in my end, can you please elaborate a little. I have created a google colab notebook, https://colab.research.google.com/drive/1X-o47pGhBh8hgScQnfZrr7ZrlfUWsyDq?usp=sharing, and everything is working.

pudasainishushant commented 3 years ago

The localdataset folder is not being downloaded while doing pip install git+ https://github.com/sushil79g/Nepali_nlp.git in local device. So one option is to directly clone the repo and use it rather than pip install. Or we should include MANIFEST.in in the repo to epecify which files to include and exclude while installing the package from pip. Regards, Shushant Pudasaini

On Thu, Apr 22, 2021 at 9:07 AM Sushil Ghimire @.***> wrote:

Hello nikita, Which operating system are you using? i cannot reproduce the error in my end, can you please elaborate a little. I have created a google colab notebook, https://colab.research.google.com/drive/1X-o47pGhBh8hgScQnfZrr7ZrlfUWsyDq?usp=sharing, and everything is working.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/sushil79g/Nepali_nlp/issues/39#issuecomment-824509129, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALOB7JCL4UFTG6XFTM5BBKTTJ6I6RANCNFSM43LP3UTA .

Rhitabrat commented 1 year ago

Screenshot 2023-04-21 at 3 28 07 PM

Same error on Google colab after !pip install -q git+https://github.com/sushil79g/Nepali_nlp.git

sdhak commented 1 year ago

Getting No module named 'Nepali_nlp.local_dataset' error. Was this resolved for anyone?

No_module_nepali_nlp

bangsikishan commented 1 year ago

Getting No module named 'Nepali_nlp.local_dataset' error. Was this resolved for anyone?

No_module_nepali_nlp

Either the folder named "local_dataset" is missing or the path to that folder is incorrect. You might want to check if the folder "local_dataset" has been downloaded or not.

sdhak commented 1 year ago

If there's an updated documentation on set up, can you send the link to me? I'm following the readme and its not working as expected. Getting 'No module named 'Nepali_nlp' error now even after installing the module with !pip install Nepali_nlp.

nishantshah977 commented 5 months ago

To reproduce it:

This fixed the error but inside there's lot of error as of 2024