Skip to content

pydra module:ImportError #65

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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