Skip to content

pydra module:ImportError #65

@Moncz

Description

@Moncz

I executed this command for testing
python3 scripts/generate_and_eval_single_sample.py dataset_src="huggingface" level=2 problem_id=40
The following error is generated:

(kernel-bench) [root@localhost KernelBench]# python3 scripts/generate_and_eval_single_sample.py dataset_src="huggingface" level=2 problem_id=40
Traceback (most recent call last):
  File "/home/hcz/KernelBench/scripts/generate_and_eval_single_sample.py", line 3, in <module>
    from pydra import REQUIRED, Config
ImportError: cannot import name 'REQUIRED' from 'pydra' (/root/miniconda3/envs/kernel-bench/lib/python3.10/site-packages/pydra/__init__.py)

I have tried methods such as changing the pydra version and using a conda environment, but the issue remains unresolved. Thank you for your assistance, and I hope you can provide a solution to this problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions