pythonpython-3.xpipflair

Error in installing python package Flair, about a dependent package not hosted in PyPI


I am trying to install flair. It is throwing below error when executing below command:

pip install flair

ERROR: Packages installed from PyPI cannot depend on packages which are not also hosted on PyPI.
tiny-tokenizer depends on SudachiDict_core@ https://object-storage.tyo2.conoha.io/v1/nc_2520839e1f9641b08211a5c85243124a/sudachi/SudachiDict_core-20190927.tar.gz

I thought installing this package explicitly might fix the error but it doesn't. The error remains same. The installed version of SudachiDict-core is below: SudachiDict-core 0.0.0

Below is the Environment:

Any hint is appreciated. Thank you!

Note:


Solution

  • It is strange running below command solved the problem.

    pip install flair==0.4.3

    I assume that the problem is in a latest version 0.4.4 (and its dependencies).

    Note: I had torch==1.1.0 package already installed.