Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] AttributeError: module 'pkgutil' has no attribute 'ImpImporter'. Did you mean: 'zipimporter'? #1007

Open
2 tasks done
A-A-T-i-P opened this issue Mar 28, 2024 · 1 comment
Assignees

Comments

@A-A-T-i-P
Copy link

Prerequisite

Type

I'm evaluating with the officially supported tasks/models/datasets.

Environment

ubuntu 22.04

Reproduces the problem - code/configuration sample

conda create --name opencompass python=3.10 pytorch torchvision pytorch-cuda -c nvidia -c pytorch -y

Reproduces the problem - command or script

1. conda create --name opencompass python=3.10 pytorch torchvision pytorch-cuda -c nvidia -c pytorch -y
2. git clone https://github.com/open-compass/opencompass.git
3. cd opencompass
4. pip install  -e .

Reproduces the problem - error message

AttributeError: module 'pkgutil' has no attribute 'ImpImporter'. Did you mean: 'zipimporter'?

Other information

Please upgrade python=3.11 when install opencompass, use this command with conda:

conda create --name opencompass python=3.11 pytorch torchvision pytorch-cuda -c nvidia -c pytorch -y

@bittersweet1999
Copy link
Collaborator

Please provide the detailed config you use

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants