question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

OSError: symbolic link privilege not held

See original GitHub issue

Hi,

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:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
hiroshi-matsuda-ritcommented, Sep 29, 2019

@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.

2reactions
MastafaFcommented, Aug 23, 2019

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: **

Add ginza command run ginza from the console Change package structure module package as ginza language model package as ja_ginza spacy.lang.ja is overridden by ginza Remove sudachipy related directories SudachiPy and its dictionary are installed via pip during ginza installation User dictionary available See Customized dictionary - SudachiPy

**

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Windows 10 OSError: symbolic link privilege not held #895
Just tried to install the new models on my Windows 10 machine and received the following error: Error Message $ python -m spacy...
Read more >
Privlege error trying to create symlink using python on ...
but I get the foll. error: *** error: (1314, 'CreateSymbolicLink', 'A required privilege is not held by the client.
Read more >
enable Windows user to create symbolic links
A Windows user may not have permissions to create symbolic (soft) links, and Python >= 3.8 may ... OSError: symbolic link privilege not...
Read more >
Near-perma "OSError: symbolic link privilege not held" in fetch ...
"OSError: symbolic link privilege not held" leads me t believe there is a race condition in which is affecting the privileges held by...
Read more >
symbolic link privilege not held - MSDN
To be able to create symbolic links, your user account or group needs to be listed in secpol.msc → Security Settings → Local...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found