I followed the documentation to install Apache-airflow. https://airflow.apache.org/docs/stable/start.html
When I execute airflow initdb, an error occurs every time.
x-MacBook-Pro:~ x$ airflow initdb
......
import airflow.utils.dag_processing
File "/Library/Python/3.7/site-packages/airflow/utils/dag_processing.py", line 40, in <module>
from setproctitle import setproctitle
ImportError: dlopen(/Library/Python/3.7/site-packages/setproctitle.cpython-37m-darwin.so, 2): Symbol not found: _Py_GetArgcArgv
Referenced from: /Library/Python/3.7/site-packages/setproctitle.cpython-37m-darwin.so
Expected in: flat namespace
in /Library/Python/3.7/site-packages/setproctitle.cpython-37m-darwin.so
One answer suggested that this is a problem with the binary package. But I still don't know how to solve that. This is the link https://github.com/psycopg/psycopg2/issues/807.
MacOSX 10.15.3
pip 20.0.2
Python 3.7.3