Avinashreddy29 commented on issue #15008:
URL: https://github.com/apache/airflow/issues/15008#issuecomment-808798944


   Hi Team , 
   
   Please find the below error message installed Ubuntu 18.04.
   
   airflow@ip-172-31-45-1:~$ AIRFLOW_VERSION=2.0.1
   airflow@ip-172-31-45-1:~$ PYTHON_VERSION="$(python --version | cut -d " " -f 
2 | cut -d "." -f 1-2)"
   Python 2.7.17
   airflow@ip-172-31-45-1:~$ PYTHON_VERSION="$(python3 --version | cut -d " " 
-f 2 | cut -d "." -f 1-2)"
   airflow@ip-172-31-45-1:~$ echo $PYTHON_VERSION
   3.6
   airflow@ip-172-31-45-1:~$ 
CONSTRAINT_URL="https://raw.githubusercontent.com/apache/airflow/constraints-${AIRFLOW_VERSION}/constraints-${PYTHON_VERSION}.txt";
   airflow@ip-172-31-45-1:~$ sudo python3 -m pip install 
"apache-airflow==${AIRFLOW_VERSION}" --constraint "${CONSTRAINT_URL}"
   The directory '/home/airflow/.cache/pip/http' or its parent directory is not 
owned by the current user and the cache has been disabled. Please check the 
permissions and owner of that directory. If executing pip with sudo, you may 
want sudo's -H flag.
   The directory '/home/airflow/.cache/pip' or its parent directory is not 
owned by the current user and caching wheels has been disabled. check the 
permissions and owner of that directory. If executing pip with sudo, you may 
want sudo's -H flag.
   Collecting apache-airflow==2.0.1
     Downloading 
https://files.pythonhosted.org/packages/4d/be/7228d4505133bdfedaab0afedb272463190c214baea43fc15be5e3accaae/apache_airflow-2.0.1-py3-none-any.whl
 (4.5MB)
       100% |████████████████████████████████| 4.5MB 215kB/s
   Requirement already satisfied: Flask==1.1.2 in 
/usr/local/lib/python3.6/dist-packages (from -c 
https://raw.githubusercontent.com/apache/airflow/constraints-2.0.1/constraints-3.6.txt
 (line 14))
   Requirement already satisfied: SQLAlchemy-JSONField==1.0.0 in 
/usr/local/lib/python3.6/dist-packages (from -c 
https://raw.githubusercontent.com/apache/airflow/constraints-2.0.1/constraints-3.6.txt
 (line 29))
   Collecting tabulate==0.8.7 (from -c 
https://raw.githubusercontent.com/apache/airflow/constraints-2.0.1/constraints-3.6.txt
 (line 455))
     Downloading 
https://files.pythonhosted.org/packages/c4/f4/770ae9385990f5a19a91431163d262182d3203662ea2b5739d0fcfc080f1/tabulate-0.8.7-py3-none-any.whl
   Requirement already satisfied: pandas==1.1.5 in 
/usr/local/lib/python3.6/dist-packages (from -c 
https://raw.githubusercontent.com/apache/airflow/constraints-2.0.1/constraints-3.6.txt
 (line 328))
   Requirement already satisfied: attrs==20.3.0 in 
/usr/local/lib/python3.6/dist-packages (from -c 
https://raw.githubusercontent.com/apache/airflow/constraints-2.0.1/constraints-3.6.txt
 (line 114))
   Requirement already satisfied: croniter==0.3.37 in 
/usr/local/lib/python3.6/dist-packages (from -c 
https://raw.githubusercontent.com/apache/airflow/constraints-2.0.1/constraints-3.6.txt
 (line 169))
   Requirement already satisfied: argcomplete==1.12.2 in 
/usr/local/lib/python3.6/dist-packages (from -c 
https://raw.githubusercontent.com/apache/airflow/constraints-2.0.1/constraints-3.6.txt
 (line 107))
   Requirement already satisfied: cattrs==1.0.0 in 
/usr/local/lib/python3.6/dist-packages (from -c 
https://raw.githubusercontent.com/apache/airflow/constraints-2.0.1/constraints-3.6.txt
 (line 151))
   Collecting alembic==1.5.4 (from -c 
https://raw.githubusercontent.com/apache/airflow/constraints-2.0.1/constraints-3.6.txt
 (line 39))
     Downloading 
https://files.pythonhosted.org/packages/1d/c2/cc544acb821740b4f53d262ecc77774b8fabb3993e91a32842c6d5e9faef/alembic-1.5.4-py2.py3-none-any.whl
 (156kB)
       100% |████████████████████████████████| 163kB 6.6MB/s
   Requirement already satisfied: psutil==5.8.0 in 
/usr/local/lib/python3.6/dist-packages (from -c 
https://raw.githubusercontent.com/apache/airflow/constraints-2.0.1/constraints-3.6.txt
 (line 352))
   Requirement already satisfied: python3-openid==3.2.0 in 
/usr/local/lib/python3.6/dist-packages (from -c 
https://raw.githubusercontent.com/apache/airflow/constraints-2.0.1/constraints-3.6.txt
 (line 396))
   Collecting python-daemon==2.2.4 (from -c 
https://raw.githubusercontent.com/apache/airflow/constraints-2.0.1/constraints-3.6.txt
 (line 386))
     Downloading 
https://files.pythonhosted.org/packages/5a/0c/57f15b1572661877ff1acbe66c2f5be9d999ae5fb128e22933d374f62aa1/python_daemon-2.2.4-py2.py3-none-any.whl
   Requirement already satisfied: lockfile==0.12.2 in 
/usr/local/lib/python3.6/dist-packages (from -c 
https://raw.githubusercontent.com/apache/airflow/constraints-2.0.1/constraints-3.6.txt
 (line 292))
   Requirement already satisfied: python-nvd3==0.15.0 in 
/usr/local/lib/python3.6/dist-packages (from -c 
https://raw.githubusercontent.com/apache/airflow/constraints-2.0.1/constraints-3.6.txt
 (line 393))
   Requirement already satisfied: connexion==2.7.0 in 
/usr/local/lib/python3.6/dist-packages (from -c 
https://raw.githubusercontent.com/apache/airflow/constraints-2.0.1/constraints-3.6.txt
 (line 166))
   Requirement already satisfied: MarkupSafe==1.1.1 in 
/usr/local/lib/python3.6/dist-packages (from -c 
https://raw.githubusercontent.com/apache/airflow/constraints-2.0.1/constraints-3.6.txt
 (line 22))
   Requirement already satisfied: importlib-resources==1.5.0 in 
/usr/local/lib/python3.6/dist-packages (from -c 
https://raw.githubusercontent.com/apache/airflow/constraints-2.0.1/constraints-3.6.txt
 (line 262))
   Collecting cryptography==3.4.5 (from -c 
https://raw.githubusercontent.com/apache/airflow/constraints-2.0.1/constraints-3.6.txt
 (line 170))
     Downloading 
https://files.pythonhosted.org/packages/60/6d/b32368327f600a12e59fb51a904fc6200dd7e65e953fd6fc6ae6468e3423/cryptography-3.4.5.tar.gz
 (546kB)
       100% |████████████████████████████████| 552kB 1.8MB/s
       Complete output from command python setup.py egg_info:
       Traceback (most recent call last):
         File "<string>", line 1, in <module>
         File "/tmp/pip-build-ryowr9bv/cryptography/setup.py", line 14, in 
<module>
           from setuptools_rust import RustExtension
       ModuleNotFoundError: No module named 'setuptools_rust'
   
               =============================DEBUG 
ASSISTANCE==========================
               If you are seeing an error here please try the following to
               successfully install cryptography:
   
               Upgrade to the latest pip and try again. This will fix errors 
for most
               users. See: 
https://pip.pypa.io/en/stable/installing/#upgrading-pip
               =============================DEBUG 
ASSISTANCE==========================
   
   
       ----------------------------------------
   Command "python setup.py egg_info" failed with error code 1 in 
/tmp/pip-build-ryowr9bv/cryptography/
   


-- 
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]


Reply via email to