You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.
(funkapi) ~ $ python3
Python 3.11.2 (main, Feb 11 2023, 14:06:23) [Clang 14.0.7 (https://android.googlesource.com/toolchain/llvm-project 4c603efb0 on linux
Type "help", "copyright", "credits" or "license"for more information.
>>> from funkapi import FunkAPI
Traceback (most recent call last):
File "<stdin>", line 1, in<module>
File "/data/data/com.termux/files/home/funkapi/lib/python3.11/site-packages/funkapi/__init__.py", line 1, in<module>
from funkapi.api import FunkAPI
File "/data/data/com.termux/files/home/funkapi/lib/python3.11/site-packages/funkapi/api.py", line 2, in<module>
import boto3
File "/data/data/com.termux/files/home/funkapi/lib/python3.11/site-packages/boto3/__init__.py", line 16, in<module>
from boto3.session import Session
File "/data/data/com.termux/files/home/funkapi/lib/python3.11/site-packages/boto3/session.py", line 17, in<module>
import botocore.session
File "/data/data/com.termux/files/home/funkapi/lib/python3.11/site-packages/botocore/session.py", line 29, in<module>
import botocore.configloader
File "/data/data/com.termux/files/home/funkapi/lib/python3.11/site-packages/botocore/configloader.py", line 19, in<module>
from botocore.compat import six
File "/data/data/com.termux/files/home/funkapi/lib/python3.11/site-packages/botocore/compat.py", line 25, in<module>
from botocore.exceptions import MD5UnavailableError
File "/data/data/com.termux/files/home/funkapi/lib/python3.11/site-packages/botocore/exceptions.py", line 15, in<module>
from botocore.vendored import requests
File "/data/data/com.termux/files/home/funkapi/lib/python3.11/site-packages/botocore/vendored/requests/__init__.py", line 58, in<module>
from . import utils
File "/data/data/com.termux/files/home/funkapi/lib/python3.11/site-packages/botocore/vendored/requests/utils.py", line 26, in<module>
from .compat import parse_http_list as _parse_list_header
File "/data/data/com.termux/files/home/funkapi/lib/python3.11/site-packages/botocore/vendored/requests/compat.py", line 7, in<module>
from .packages import chardet
File "/data/data/com.termux/files/home/funkapi/lib/python3.11/site-packages/botocore/vendored/requests/packages/__init__.py", line 3, in<module>
from . import urllib3
File "/data/data/com.termux/files/home/funkapi/lib/python3.11/site-packages/botocore/vendored/requests/packages/urllib3/__init__.py", line 10, in<module>
from .connectionpool import (
File "/data/data/com.termux/files/home/funkapi/lib/python3.11/site-packages/botocore/vendored/requests/packages/urllib3/connectionpool.py", line 38, in<module>
from .response import HTTPResponse
File "/data/data/com.termux/files/home/funkapi/lib/python3.11/site-packages/botocore/vendored/requests/packages/urllib3/response.py", line 9, in<module>
from ._collections import HTTPHeaderDict
File "/data/data/com.termux/files/home/funkapi/lib/python3.11/site-packages/botocore/vendored/requests/packages/urllib3/_collections.py", line 1, in<module>
from collections import Mapping, MutableMapping
ImportError: cannot import name 'Mapping' from 'collections' (/data/data/com.termux/files/usr/lib/python3.11/collections/__init__.py)
I've been running this in Termux on my Android device.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I can't seem to import the module.
This is how I installed it:
When I simply import it, I get this error:
I've been running this in Termux on my Android device.
The text was updated successfully, but these errors were encountered: