Install chardet as fallback package for charset_normalizer on Darwin ARM64
This commit is contained in:
@@ -27,6 +27,7 @@ import sys
|
||||
import shutil
|
||||
import os
|
||||
import pkg_resources
|
||||
import platform as sys_platform
|
||||
|
||||
import click
|
||||
import semantic_version
|
||||
@@ -1108,6 +1109,9 @@ def install_python_deps():
|
||||
"esp-idf-kconfig": "~=1.2.0"
|
||||
}
|
||||
|
||||
if sys_platform.system() == "Darwin" and "arm" in sys_platform.machine().lower():
|
||||
deps["chardet"] = ">=3.0.2,<4"
|
||||
|
||||
python_exe_path = get_python_exe()
|
||||
installed_packages = _get_installed_pip_packages(python_exe_path)
|
||||
packages_to_install = []
|
||||
|
||||
Reference in New Issue
Block a user