chameleon-llm icon indicating copy to clipboard operation
chameleon-llm copied to clipboard

ModuleNotFoundError: No module named 'func_timeout'

Open ProgramItUp opened this issue 2 years ago • 1 comments

The example on the main page does not seem to work. Am I missing something?

pip install -r requirements.txt
cd run_scienceqa

python run.py \
> --model chameleon \
> --label chameleon_gpt4 \
> --policy_engine gpt-4 \
> --kr_engine gpt-4 \
> --qg_engine gpt-4 \
> --sg_engine gpt-4 \
> --test_split test \
> --test_number -1
Traceback (most recent call last):
  File "/home/marc/code/chameleon-llm/run_scienceqa/run.py", line 11, in <module>
    from utilities import *
  File "/home/marc/code/chameleon-llm/utilities.py", line 4, in <module>
    import func_timeout
ModuleNotFoundError: No module named 'func_timeout'

ProgramItUp avatar Apr 24 '23 15:04 ProgramItUp

Hi,

Thanks for pointing it out. The requirements.txt file has been fixed by adding the func_timeout package.

Best regards, Pan

lupantech avatar Apr 24 '23 18:04 lupantech