0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

GINZAのOSError【jupyter lab】

Posted at

jupyterLab上にGINZAをインストールした際のエラーとその回避方法です。

ginzaだけだとエラー

pip install ginza
OSError: [E050] Can't find model 'ja_ginza'. It doesn't seem to be a shortcut link, a Python package or a valid path to a data directory.

ginzaをインストールしようとしましたが、ja_ginzaが見つかりませんというエラーが出ます。

なので以下のように実行します。

ja-ginzaを足す

pip install -U ginza ja-ginza
OSError: [E049] Can't find spaCy data directory: 'None'. Check your installation and permissions, or use spacy.util.set_data_path to customise the location if necessary.

するとまたOSErrorが出ますが、カーネルをrestartしたら問題なく動きます。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?