apache / apache/singa

Python 3.11, Model, ImportError

Open
#1,164 9 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
3.6k
Forks
1.3k
PR merge metrics
No merged PRs in 30d

Description

Python 3.11.6, Clean install
pip install singa -f http://singa.apache.org/docs/next/wheel-cpu.html --trusted-host singa.apache.org
>>>from singa import model

Error:
python3.11/site-packages/singa/model.py", line 30, in
from collections import Iterable
ImportError: cannot import name 'Iterable' from 'collections'
https://github.com/apache/singa/blob/6d9cd7f9ab6e1ce3caac381db586814464fe5511/python/singa/model.py#L30

I also tried importing Model
>>>from singa import Model

File "", line 1, in
ImportError: cannot import name 'Model' from 'singa'

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.