Hi everybody,
I’m having a problem on installing Airflow on my Windows notebook. I’m stuck on Airflow installation due to an error on ‘termios’ module.
The problem is: This module, as I searched, looks like it only runs on Linux.
How could I solve this problem, using my Windows notebook, and finish my certification ?
Below, all the error shown.
Thank you very much !
WARNING:root:OSError while attempting to symlink the latest log directory
Traceback (most recent call last):
File “C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.752.0_x64__qbz5n2kfra8p0\lib\runpy.py”, line 197, in run_module_as_main
return run_code(code, main_globals, None,
File “C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.752.0_x64__qbz5n2kfra8p0\lib\runpy.py”, line 87, in run_code
exec(code, run_globals)
File "C:\Users\wbran\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\Scripts\airflow.exe_main.py",
line 7, in
File "C:\Users\wbran\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\airflow_main.py", line 40, in main
args.func(args)
File “C:\Users\wbran\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\airflow\cli\cli_parser.py”, line 47, in command
func = import_string(import_path)
File “C:\Users\wbran\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\airflow\utils\module_loading.py”, line 32, in import_string
module = import_module(module_path)
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.752.0_x64__qbz5n2kfra8p0\lib\importlib_init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “”, line 1030, in _gcd_import
File “”, line 1007, in _find_and_load
File “”, line 986, in _find_and_load_unlocked
File “”, line 680, in _load_unlocked
File “”, line 790, in exec_module
File “”, line 228, in call_with_frames_removed
File “C:\Users\wbran\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\airflow\cli\commands\db_command.py”, line 24, in
from airflow.utils import cli as cli_utils, db
File “C:\Users\wbran\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\airflow\utils\db.py”, line 26, in
from airflow.jobs.base_job import BaseJob # noqa: F401 # pylint: disable=unused-import
File "C:\Users\wbran\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\airflow\jobs_init.py", line 22, in
import airflow.jobs.scheduler_job # noqa
File “C:\Users\wbran\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\airflow\jobs\scheduler_job.py”, line 62, in
from airflow.utils.dag_processing import AbstractDagFileProcessorProcess, DagFileProcessorAgent
File “C:\Users\wbran\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\airflow\utils\dag_processing.py”, line 51, in
from airflow.utils.process_utils import kill_child_processes_by_pids, reap_process_group
File “C:\Users\wbran\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\airflow\utils\process_utils.py”, line 23, in
import pty
File “C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.752.0_x64__qbz5n2kfra8p0\lib\pty.py”, line 12, in
import tty
File “C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.752.0_x64__qbz5n2kfra8p0\lib\tty.py”, line 5, in
from termios import *
ModuleNotFoundError: No module named ‘termios’