Closed hdcola closed 3 years ago
First of all u need to try install with version indicating pip3 install -U pytgcalls==0.0.23
After that investigate into this discussion https://github.com/MarshalX/tgcalls/discussions/44
Pay you attention to cpu architecture. It’s required ARM64 (it’s ARMv8 instructions set as I know). But you have ARMv7 as I can see in your logs
some ref about naming of arm archs https://stackoverflow.com/questions/41091934/are-armv8-and-arm64-the-same
in the end I want to share with you this link. there is some guy successfully run lib on raspberry https://github.com/MarshalX/tgcalls/issues/5. He owned rpi3 b+. It’s ARM Cortex-A53 1.4GHz From google. And also:
The ARM Cortex-A53 is one of the first two microarchitectures implementing the ARMv8-A 64-bit instruction set designed by ARM Holdings' Cambridge design centre.
I tried the first method, it seems that the problem lies in tgcalls
my pi is Pi 4,run raspbian 64
pip3 install -U pytgcalls==0.0.23
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting pytgcalls==0.0.23
Using cached pytgcalls-0.0.23-py3-none-any.whl (21 kB)
ERROR: Could not find a version that satisfies the requirement tgcalls==0.0.16 (from pytgcalls) (from versions: none)
ERROR: No matching distribution found for tgcalls==0.0.16
I tried the first method, it seems that the problem lies in tgcalls
pip3 install -U pytgcalls==0.0.23 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Collecting pytgcalls==0.0.23 Using cached pytgcalls-0.0.23-py3-none-any.whl (21 kB) ERROR: Could not find a version that satisfies the requirement tgcalls==0.0.16 (from pytgcalls) (from versions: none) ERROR: No matching distribution found for tgcalls==0.0.16
there is problem with arch
Can I try to compile a tgcalls myself? See that there is only the content of build docker in the documentation.
Can I try to compile a tgcalls myself? See that there is only the content of build docker in the documentation.
You can try. But I think that u need to compile without docker. Cuz there is manylinux inside images. You should run command step by step from build instruction or copy and paste from dockerfile with fixes for your OS
I will try docker build, I haven't used it before, let me learn it, thank you
Can you test this one https://github.com/messense/manylinux-cross for compiling for armv7?
arg for qemu --platform=linux/arm/v7
I haven't done such cross-platform compilation work. I need a clearer explanation. Do you mean to use the armv7l container in https://github.com/messense/manylinux-cross to compile tgcall docker?
@hdcola yes I do. and try to compile from your raps pi if you wont to use qemu to build from mac, for example
@hdcola yes I do. and try to compile from your raps pi if you wont to use qemu to build from mac, for example
I found out that I am very new to docker, let me learn about docker related knowledge first, otherwise I don't know how to do it at all.
@hdcola Okay. Good luck in learning
uname:
pip version 21.1.3
install error: