OSError: symbolic link privilege not held
See original GitHub issueHi,
I want to use Ginza with spacy on Windows. I have the following error when running the code on python 3:
Code:
import spacy nlp = spacy.load('ja_ginza') doc = nlp('依存構造解析の実験を行っています。') for sent in doc.sents: for token in sent: print(token.i, token.orth_, token.lemma_, token.pos_, token.tag_, token.dep_, token.head.i) print('EOS')
Error1: ModuleNotFoundError: No module named ‘sudachidict’
During handling of the above exception, another exception occurred:
Error2: OSError: symbolic link privilege not held
I followed the instructions given on the Github page after pip install “https://github.com/megagonlabs/ginza/releases/download/latest/ginza-latest.tar.gz” . And when running command “ginza” on Anaconda prompt, I have the same error.
Should I remove sudachipy before running “ginza”? Could you please let me know what is the solution to this problem?
Great idea integrating it to spacy btw.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:5 (2 by maintainers)
Top GitHub Comments
@MastafaF Thank you for reporting the install problem on Anaconda enveironment. I heard there are some common problems while using pip over Anaconda. I’ve been testing GiNZA on the latest release version of python3 but actually not for Anaconda. I’d like to try to use Anaconda in future but it might take few months. Sorry for that.
For possible readers having the same issue, the solution is to run Anaconda prompt or Command Prompt as administrator. However, I find unclear the following instructions: **
**
Should we remove sudachipy and why should we do so given that SudachiPy seems to be the morphological analyser behind Ginza?
Thank you for clarifying the instructions if possible for Windows users.