tomer8007 / kik-bot-api-unofficial

Python API for writing unoffical Kik bots that act like humans
MIT License
126 stars 76 forks source link

Can't install dependencies when using python 3.8 #202

Closed enigmatic21 closed 4 months ago

enigmatic21 commented 2 years ago

I'm able to run it perfectly on kali but termux gives me this error when I try installing the dependencies using python 3.8.

ERROR: Command errored out with exit status 1: command: /data/data/com.termux/files/usr/bin/python3 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/data/data/com.termux/files/usr/tmp/pip-req-build-9x0rztxc/setup.py'"'"'; file='"'"'/data/data/com.termux/files/usr/tmp/pip-req-build-9x0rztxc/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /data/data/com.termux/files/usr/tmp/pip-pip-egg-info-m1jybzvs cwd: /data/data/com.termux/files/usr/tmp/pip-req-build-9x0rztxc/ Complete output (11 lines): Traceback (most recent call last): File "", line 1, in File "/data/data/com.termux/files/usr/lib/python3.8/site-packages/setuptools/init.py", line 18, in from setuptools.dist import Distribution File "/data/data/com.termux/files/usr/lib/python3.8/site-packages/setuptools/dist.py", line 38, in from setuptools import windows_support File "/data/data/com.termux/files/usr/lib/python3.8/site-packages/setuptools/windows_support.py", line 2, in import ctypes File "/data/data/com.termux/files/usr/lib/python3.8/ctypes/init.py", line 7, in from _ctypes import Union, Structure, Array ImportError: dlopen failed: cannot locate symbol "ffi_closure_free" referenced by "/data/data/com.termux/files/usr/lib/python3.8/lib-dynload/_ctypes.cpython-38.so"...

WARNING: Discarding file:///data/data/com.termux/files/home/kik-bot-api-unofficial. Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

I tried doing it on termux on an android emulator too and it gave me the same error.

tomer8007 commented 1 year ago

@enigmatic21 Is this still happening for you? Some Termux-related problems were solved.

tomer8007 commented 4 months ago

Closing because this seems to be resolved.