antonisa / lang2vec

A simple library for querying the URIEL typological database.
Creative Commons Attribution Share Alike 4.0 International
87 stars 16 forks source link

Both ways of install do not work #6

Closed houwenxin closed 3 years ago

houwenxin commented 4 years ago

when using pip install, there is no "distance" attribute problem.

AttributeError: module 'lang2vec.lang2vec' has no attribute 'distance'

when using setup.py, there is decode error.

UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 9750: ordinal not in range(128)

antonisa commented 4 years ago

Hi, could you share the exact code that returns these errors? (Re the first error: You need to install from source in order to use the distance function)

houwenxin commented 3 years ago

I have re-installed the librirary. It now works, thank you very much!