-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Python 3.11, Model, ImportError #1164
Comments
May I know did you use conda or other installation tools? You can send an email to [email protected], we can discuss via email. Thanks, |
Iam using python and pip, no conda |
The Iterable abstract class was removed from collections in Python 3.10 https://docs.python.org/3.8/library/collections.html |
Can you try the conda (miniconda or anaconda) and install the python 3.9. and then in the conda environment, you can try install singa 3.9 version. We provide python versions 3.9, 3.10 and 3.11 Thanks. |
i think python 3.9 would pass this error |
An easier way is to download the wheel file from https://singa.apache.org/docs/next/wheel-cpu.html, and then install it locally. For further enquiries, you can send an email to [email protected], and we can discuss them via email. Thanks. |
Docs says singa supports python 3.9 , 3.10, 3.11 |
Python 3.10 and 3.11 doesn't have Iterable class in collections |
Thanks for your suggestion! |
Python 3.11.6, Clean install
pip install singa -f http://singa.apache.org/docs/next/wheel-cpu.html --trusted-host singa.apache.org
Error:
python3.11/site-packages/singa/model.py", line 30, in
from collections import Iterable
ImportError: cannot import name 'Iterable' from 'collections'
singa/python/singa/model.py
Line 30 in 6d9cd7f
I also tried importing Model
File "", line 1, in
ImportError: cannot import name 'Model' from 'singa'
The text was updated successfully, but these errors were encountered: