open-compass / open-compass/opencompass

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

Open
#1,007 1 comment 0 reactions 1 assignee View on GitHub

@kennymckormick is already working on this.

Since Mar 28, 2024.

Dominant language
Python
Stars
7.5k
Forks
869
Avg merge
17h 52m
Merged PRs (30d)
13

Description

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.