open-compass / open-compass/opencompass
[Bug] AttributeError: module 'pkgutil' has no attribute 'ImpImporter'. Did you mean: 'zipimporter'?
Open
@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
- I have searched Issues and Discussions but cannot get the expected help.
- The bug has not been fixed in the latest version.
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.