amir-zeldes / HebPipe

An NLP pipeline for Hebrew
Other
34 stars 9 forks source link

ImportError: cannot import name 'clock' from 'time' (unknown location) #35

Closed janihmels closed 1 year ago

janihmels commented 1 year ago

Following pip install hebpipe and using the example python -m hebpipe example_in.txt I get ImportError: cannot import name 'clock' from 'time' (unknown location). I am running Python version 3.11

amir-zeldes commented 1 year ago

Thanks for reporting. Unfortunately I can't test this under python 3.11, since torch support for 3.11 is incomplete and several dependencies cannot be installed correctly.

However I just tested it under Python 3.9 and it runs fine - can you try a lower version of Python? Once all required libraries have 3.11 binary wheels online I can test 3.11 as well, but I think it's still too new to get into that right now.