zhbdesign commented on issue #9763:
URL: https://github.com/apache/airflow/issues/9763#issuecomment-657015977
> What Python version are you using?
How to solve the following errors?
Using legacy setup.py install for multi-key-dict, since package 'wheel' is
not installed.
Using legacy setup.py install for python-http-client, since package 'wheel'
is not installed.
ERROR: astroid 2.4.2 has requirement lazy-object-proxy==1.4.*, but you'll
have lazy-object-proxy 1.5.0 which is incompatible.
ERROR: snowflake-connector-python 2.2.8 has requirement
azure-storage-blob<13.0.0,>=12.0.0; python_version >= "3.5.2", but you'll have
azure-storage-blob 2.1.0 which is incompatible.
ERROR: snowflake-connector-python 2.2.8 has requirement boto3<1.14,>=1.4.4,
but you'll have boto3 1.14.20 which is incompatible.
ERROR: snowflake-connector-python 2.2.8 has requirement idna<2.10, but
you'll have idna 2.10 which is incompatible.
ERROR: snowflake-connector-python 2.2.8 has requirement requests<2.24.0, but
you'll have requests 2.24.0 which is incompatible.
Installing collected packages: google-cloud-texttospeech, parameterized,
sphinx-jinja, isodate, msrest, msrestazure, azure-mgmt-resource,
google-cloud-spanner, google-cloud-secret-manager, cassandra-driver,
presto-python-client, sphinxcontrib-dotnetdomain, unidecode, astroid,
sphinxcontrib-golangdomain, sphinx-autoapi, hvac, sasl, thrift-sasl, pyhive,
JPype1, pymongo, sentinels, mongomock, pydruid, pymssql,
azure-mgmt-containerinstance, cgroupspy, pysmbclient, hmsclient, uritemplate,
google-api-python-client, pytest-cov, google-cloud-container, filelock,
distlib, virtualenv, freezegun, future-fstrings, pinotdb, atlasclient, docopt,
fastavro, requests-kerberos, hdfs, flaky, psycopg2-binary,
google-cloud-bigquery, pydata-google-auth, pandas-gbq, identify, nodeenv, cfgv,
pre-commit, jaydebeapi, sentry-sdk, pytest-forked, apipkg, execnet,
pytest-xdist, google-cloud-vision, multi-key-dict, python-jenkins, cx-Oracle,
PyOpenSSL, requests-mock, websocket-client, slackclient, pycryptodomex,
asn1crypto, oscrypto, snowflake-connector-python, google-cloud-translate,
kubernetes, snowflake-sqlalchemy, elasticsearch, python-http-client, sendgrid,
datadog, mysqlclient, sshtunnel, elasticsearch-dsl, google-cloud-language,
blinker, yamllint, sphinx-copybutton, apache-airflow
Running setup.py install for cassandra-driver ... done
Running setup.py install for sphinxcontrib-dotnetdomain ... done
WARNING: The script unidecode is installed in '/usr/local/bin' which is
not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this
warning, use --no-warn-script-location.
Running setup.py install for sasl ... error
ERROR: Command errored out with exit status 1:
command: /bin/python -u -c 'import sys, setuptools, tokenize;
sys.argv[0] = '"'"'/tmp/pip-install-ymxn2sfp/sasl/setup.py'"'"';
__file__='"'"'/tmp/pip-install-ymxn2sfp/sasl/setup.py'"'"';f=getattr(tokenize,
'"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"',
'"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install
--record /tmp/pip-record-p_lrphvv/install-record.txt
--single-version-externally-managed --compile --install-headers
/usr/local/include/python3.7m/sasl
cwd: /tmp/pip-install-ymxn2sfp/sasl/
Complete output (29 lines):
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.7
creating build/lib.linux-x86_64-3.7/sasl
copying sasl/__init__.py -> build/lib.linux-x86_64-3.7/sasl
running egg_info
writing sasl.egg-info/PKG-INFO
writing dependency_links to sasl.egg-info/dependency_links.txt
writing requirements to sasl.egg-info/requires.txt
writing top-level names to sasl.egg-info/top_level.txt
reading manifest file 'sasl.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'sasl.egg-info/SOURCES.txt'
copying sasl/saslwrapper.cpp -> build/lib.linux-x86_64-3.7/sasl
copying sasl/saslwrapper.h -> build/lib.linux-x86_64-3.7/sasl
copying sasl/saslwrapper.pyx -> build/lib.linux-x86_64-3.7/sasl
running build_ext
building 'sasl.saslwrapper' extension
creating build/temp.linux-x86_64-3.7
creating build/temp.linux-x86_64-3.7/sasl
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3
-Wall -fPIC -Isasl -I/usr/local/include/python3.7m -c sasl/saslwrapper.cpp -o
build/temp.linux-x86_64-3.7/sasl/saslwrapper.o
In file included from sasl/saslwrapper.cpp:254:0:
sasl/saslwrapper.h:22:23: 致命错误:sasl/sasl.h:没有那个文件或目录
#include <sasl/sasl.h>
^
编译中断。
error: command 'gcc' failed with exit status 1
----------------------------------------
ERROR: Command errored out with exit status 1: /bin/python -u -c 'import
sys, setuptools, tokenize; sys.argv[0] =
'"'"'/tmp/pip-install-ymxn2sfp/sasl/setup.py'"'"';
__file__='"'"'/tmp/pip-install-ymxn2sfp/sasl/setup.py'"'"';f=getattr(tokenize,
'"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"',
'"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install
--record /tmp/pip-record-p_lrphvv/install-record.txt
--single-version-externally-managed --compile --install-headers
/usr/local/include/python3.7m/sasl Check the logs for full command output.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]