Closed rex2630 closed 1 year ago
This log is from dpy2 branch
Try reinstalling or do [p]pipinstall akinator[fast_async]==1.0.3
traceback for that?
May 07 14:15:29 ubuntu python[273087]: [2023-05-07 14:15:29] [ERROR] red.downloader: error: subprocess-exited-with-error
May 07 14:15:29 ubuntu python[273087]:
May 07 14:15:29 ubuntu python[273087]: × python setup.py bdist_wheel did not run successfully.
May 07 14:15:29 ubuntu python[273087]: │ exit code: 1
May 07 14:15:29 ubuntu python[273087]: ╰─> [23 lines of output]
May 07 14:15:29 ubuntu python[273087]: running bdist_wheel
May 07 14:15:29 ubuntu python[273087]: running build
May 07 14:15:29 ubuntu python[273087]: running build_py
May 07 14:15:29 ubuntu python[273087]: creating build
May 07 14:15:29 ubuntu python[273087]: creating build/lib.linux-aarch64-cpython-311
May 07 14:15:29 ubuntu python[273087]: creating build/lib.linux-aarch64-cpython-311/cchardet
May 07 14:15:29 ubuntu python[273087]: copying src/cchardet/version.py -> build/lib.linux-aarch64-cpython-311/cchardet
May 07 14:15:29 ubuntu python[273087]: copying src/cchardet/init.py -> build/lib.linux-aarch64-cpython-311/cchardet
May 07 14:15:29 ubuntu python[273087]: running build_ext
May 07 14:15:29 ubuntu python[273087]: building 'cchardet._cchardet' extension
May 07 14:15:29 ubuntu python[273087]: creating build/temp.linux-aarch64-cpython-311
May 07 14:15:29 ubuntu python[273087]: creating build/temp.linux-aarch64-cpython-311/src
May 07 14:15:29 ubuntu python[273087]: creating build/temp.linux-aarch64-cpython-311/src/cchardet
May 07 14:15:29 ubuntu python[273087]: creating build/temp.linux-aarch64-cpython-311/src/ext
May 07 14:15:29 ubuntu python[273087]: creating build/temp.linux-aarch64-cpython-311/src/ext/uchardet
May 07 14:15:29 ubuntu python[273087]: creating build/temp.linux-aarch64-cpython-311/src/ext/uchardet/src
May 07 14:15:29 ubuntu python[273087]: creating build/temp.linux-aarch64-cpython-311/src/ext/uchardet/src/LangModels
May 07 14:15:29 ubuntu python[273087]: aarch64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -Isrc/ext/uchardet/src -I/home/ubuntu/redenv/include -I/usr/include/python3.11 -c src/cchardet/_cchardet.cpp -o build/temp.linux-aarch64-cpython-311/src/cchardet/_cchardet.o
May 07 14:15:29 ubuntu python[273087]: src/cchardet/_cchardet.cpp:196:12: fatal error: longintrepr.h: No such file or directory
May 07 14:15:29 ubuntu python[273087]: 196 | #include "longintrepr.h"
May 07 14:15:29 ubuntu python[273087]: | ^~~~~~~
May 07 14:15:29 ubuntu python[273087]: compilation terminated.
May 07 14:15:29 ubuntu python[273087]: error: command '/usr/bin/aarch64-linux-gnu-gcc' failed with exit code 1
May 07 14:15:29 ubuntu python[273087]: [end of output]
May 07 14:15:29 ubuntu python[273087]:
May 07 14:15:29 ubuntu python[273087]: note: This error originates from a subprocess, and is likely not a problem with pip.
May 07 14:15:29 ubuntu python[273087]: ERROR: Failed building wheel for cchardet
May 07 14:15:29 ubuntu python[273087]: ERROR: Could not build wheels for cchardet, which is required to install pyproject.toml-based projects
May 07 14:15:29 ubuntu python[273087]: [2023-05-07 14:15:29] [ERROR] red.downloader: Something went wrong when installing the following requirements: akinator[fast_async]==1.0.3
It seems like that error is a bug in python3.11
Try doing [p]pipinstall cchardet
first and then use [p]pipinstall akinator[fast_async]==1.0.3
i have tried almost anything, but it seems that there is just problem in TA-lib with python 3.11
You could come to phen's support channel in red cog support server so i can support you more easily
pip install cython fixed the issue, thanks for help
May 07 13:45:14 ubuntu python[273087]: [2023-05-07 13:45:14] [ERROR] red: Package loading failed May 07 13:45:14 ubuntu python[273087]: Traceback (most recent call last): May 07 13:45:14 ubuntu python[273087]: File "/home/ubuntu/redenv/lib/python3.11/site-packages/redbot/core/core_commands.py", line 188, in _load May 07 13:45:14 ubuntu python[273087]: await bot.load_extension(spec) May 07 13:45:14 ubuntu python[273087]: File "/home/ubuntu/redenv/lib/python3.11/site-packages/redbot/core/bot.py", line 1680, in load_extension May 07 13:45:14 ubuntu python[273087]: lib = spec.loader.load_module() May 07 13:45:14 ubuntu python[273087]: ^^^^^^^^^^^^^^^^^^^^^^^^^ May 07 13:45:14 ubuntu python[273087]: File "", line 605, in _check_name_wrapper
May 07 13:45:14 ubuntu python[273087]: File "", line 1120, in load_module
May 07 13:45:14 ubuntu python[273087]: File "", line 945, in load_module
May 07 13:45:14 ubuntu python[273087]: File "", line 290, in _load_module_shim
May 07 13:45:14 ubuntu python[273087]: File "", line 721, in _load
May 07 13:45:14 ubuntu python[273087]: File "", line 690, in _load_unlocked
May 07 13:45:14 ubuntu python[273087]: File "", line 940, in exec_module
May 07 13:45:14 ubuntu python[273087]: File "", line 241, in _call_with_frames_removed
May 07 13:45:14 ubuntu python[273087]: File "/home/ubuntu/.local/share/Red-DiscordBot/data/Davidb/cogs/CogManager/cogs/aki/init.py", line 30, in
May 07 13:45:14 ubuntu python[273087]: from .aki import Aki
May 07 13:45:14 ubuntu python[273087]: File "/home/ubuntu/.local/share/Red-DiscordBot/data/Davidb/cogs/CogManager/cogs/aki/aki.py", line 28, in
May 07 13:45:14 ubuntu python[273087]: import akinator
May 07 13:45:14 ubuntu python[273087]: ModuleNotFoundError: No module named 'akinator'
May 07 13:45:25 ubuntu python[273087]: [2023-05-07 13:45:25] [INFO] discord.gateway: Shard ID 0 has successfully RESUMED session b430b5ea3bd205e37244bc86ae8654c4.