Open ghost opened 3 years ago
The same on:
UPDATE:
In my case, I solved the error by running:
apt-get install python3.10-dev
This is a different error than I ran into but since it failed initially on the same source code file, you may need to check some requirements. My error was due to cc1plus missing. I needed to install g++ since although gcc is installed by default, g++ is not (at least on ubuntu 20.04 for aarch64). This fixed my problem and cchardet now installs correctly. The source of your error may be similar.
Can confirm, you need to have gcc and g++ to install, as well as python3.X-dev
OS/Arch
('Linux', 'S905X', '5.9.8-meson64', '#trunk SMP PREEMPT Thu Nov 12 23:40:19 UTC 2020', 'aarch64', 'aarch64')
Python version
Python 3.8.8
cChardet version
2.1.7 and below version
What is the problem?
Can't install cchardet. Maybe it's because setup.py
Expected behavior
It can install normally
Actual behavior
Showing error