Open Hygros opened 1 month ago
Hi this is because, In Python 3.12
the package collections
deprecation and now use collections.abc
for most of the import.
You will need to update manually to fix the import.
For exemple https://github.com/python-hyper/hyper/pull/396/commits/00698bbe720c2878cd1c10a0c50d3cc047b313f2
I fixed I think 4/5 import on different Package/file
@Hygros I succeed to run it without the above issues, you just need to use Python version 3.9.x
now just got a login issues same as #1
Traceback (most recent call last): File "G:\Python\phantomflix-main\main.py", line 1, in
from phantomflix import NetflixClient
File "G:\Python\phantomflix-main\phantomflix__init.py", line 1, in
from .netflix import NetflixClient
File "G:\Python\phantomflix-main\phantomflix\netflix.py", line 23, in
from hyper.contrib import HTTP20Adapter
File "C:\Users\Hygro\AppData\Local\Programs\Python\Python312\Lib\site-packages\hyper-0.7.0-py3.12.egg\hyper\ init.py", line 11, in
from .common.connection import HTTPConnection
File "C:\Users\Hygro\AppData\Local\Programs\Python\Python312\Lib\site-packages\hyper-0.7.0-py3.12.egg\hyper\common\connection.py", line 9, in
from ..http11.connection import HTTP11Connection
File "C:\Users\Hygro\AppData\Local\Programs\Python\Python312\Lib\site-packages\hyper-0.7.0-py3.12.egg\hyper\http11\connection.py", line 13, in
from collections import Iterable, Mapping
ImportError: cannot import name 'Iterable' from 'collections' (C:\Users\Hygro\AppData\Local\Programs\Python\Python312\Lib\collections\ init__.py)