mik-laj commented on a change in pull request #7221: [AIRFLOW-XXXX] Update
installation doc to suggest installing globally as fallback
URL: https://github.com/apache/airflow/pull/7221#discussion_r368933069
##########
File path: docs/installation.rst
##########
@@ -28,6 +28,12 @@ The easiest way to install the latest stable version of
Airflow is with ``pip``:
.. code-block:: bash
pip install apache-airflow
+
+If the `airflow` command is not being recognized, then install Airflow
globally:
Review comment:
Installing airflow globally is very dangerous because Airflow requires a
large number of dependencies that may not be compatible with other applications.
```
11:50 $ python
Python 3.6.8 (v3.6.8:3c6b436a57, Dec 24 2018, 02:04:31)
[GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.57)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import airflow.bin
>>> airflow.bin.__file__
'/Users/kamilbregula/devel/CLIENT-airflow/airflow/airflow/bin/__init__.py'
>>>
KeyboardInterrupt
>>>
KeyboardInterrupt
>>> ^D
11:53 $ export
PATH=/Users/kamilbregula/devel/CLIENT-airflow/airflow/airflow/bin:$PATH
```
----------------------------------------------------------------
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]
With regards,
Apache Git Services