asahi417 / lm-question-generation

Multilingual/multidomain question generation datasets, models, and python library for question generation.
https://www.autoqg.net
MIT License
324 stars 31 forks source link

ModuleNotFoundError: No module named 'psutil' #2

Closed creatorrr closed 2 years ago

creatorrr commented 2 years ago

Hiya, encountered this bug on first-install. A simple pip install psutil fixed the problem for me on python3.8 I think the setup.py/requirements.txt files of this project might have missed adding psutil as a dependency.

creatorrr commented 2 years ago

Correction: same error with pytextrank on trying to run model = TransformersQG(language='en', model='lmqg/t5-large-squad-multitask')

asahi417 commented 2 years ago

Thanks! Just fix the setup file to include the psutil library.