Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error lefff-3.4.mlex not found #1

Open
alexandreraufast opened this issue Mar 26, 2020 · 1 comment
Open

Error lefff-3.4.mlex not found #1

alexandreraufast opened this issue Mar 26, 2020 · 1 comment

Comments

@alexandreraufast
Copy link

alexandreraufast commented Mar 26, 2020

Error while testing the package on Windows 10
(Installed through pip3)

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Users\Tensorflow\Anaconda3\lib\site-packages\french_lefff_lemmatizer\french_lefff_lemmatizer.py", line 61, in __init__
    with open(self.LEFFF_FILE_STORAGE, encoding='utf-8') as lefff_file:
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\xxxxx\\Anaconda3\\lib\\site-packages\\french_lefff_lemmatizer/data/lefff-3.4.mlex'```

I think there is an error in the path creation.
@DataTriny
Copy link

Hello,

I encountered the same issue on Debian. I was using a requirements.txt file to install my dependencies, and the line corresponding to FrenchLefffLemmatizer was wrong, making pip download something else from files.pythonhosted.org.

@alexandreraufast make sure to follow installation instructions, and check that a git clone is performed when installing.

If you are also using a requirements.txt file to store your dependencies, put this line inside it (no package name required):

git+git://github.com/ClaudeCoulombe/FrenchLefffLemmatizer.git

Regards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants