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

Permission Denied. What to do? #7

Open
forloopkilla opened this issue Mar 8, 2020 · 0 comments
Open

Permission Denied. What to do? #7

forloopkilla opened this issue Mar 8, 2020 · 0 comments

Comments

@forloopkilla
Copy link

PermissionError: [Errno 13] Permission denied:

~\Anaconda3\lib\site-packages\bixin_init_.py in initialize(self, include_evalution_dict, include_tc)
71 # places = data["places"]
72 self._initialize(pos_emotion, pos_evaluation, neg_emotion,
---> 73 neg_evaluation, degrees, negations)
74
75 def predict(self, news, debug=False):

~\Anaconda3\lib\site-packages\bixin_init_.py in _initialize(self, pos_emotion, pos_evaluation, neg_emotion, neg_evaluation, degrees, negations)
53 with tempfile.NamedTemporaryFile(suffix=".txt",mode="w",encoding="utf-8") as f:
54 f.write("\n".join(pos_neg.union(pos_neg_eva)))
---> 55 tokenizer.load_userdict(f.name)
56
57 self.initialized = True

~\Anaconda3\lib\site-packages\jieba_fast_init_.py in load_userdict(self, f)
379 if isinstance(f, string_types):
380 f_name = f
--> 381 f = open(f, 'rb')
382 else:
383 f_name = resolve_filename(f)

bung87 added a commit that referenced this issue Mar 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants