diff --git a/source/cloud-security/amazon/services/prerequisites/dependencies.rst b/source/cloud-security/amazon/services/prerequisites/dependencies.rst index a257339997..74b1a5a6f0 100644 --- a/source/cloud-security/amazon/services/prerequisites/dependencies.rst +++ b/source/cloud-security/amazon/services/prerequisites/dependencies.rst @@ -55,7 +55,13 @@ It is recommended to use a pip version greater than or equal to 19.3 to ease the .. tabs:: - .. group-tab:: Python 3.7–3.10 + .. group-tab:: Python 3.7 + + .. code-block:: console + + # pip3 install --upgrade pip + + .. group-tab:: Python 3.8–3.10 .. code-block:: console @@ -66,11 +72,11 @@ It is recommended to use a pip version greater than or equal to 19.3 to ease the .. code-block:: console # pip3 install --upgrade pip --break-system-packages - + .. note:: - + This command modifies the default externally managed Python environment. See the `PEP 668 `__ description for more information. - + To prevent the modification, you can run ``pip3 install --upgrade pip`` within a virtual environment. You must update the ``aws-s3`` script shebang with your virtual environment interpreter, for example, ``#!/path/to/your/virtual/environment/bin/python3``. @@ -85,18 +91,24 @@ To install the dependencies, execute the following command: .. tabs:: - .. group-tab:: Python 3.7–3.10 + .. group-tab:: Python 3.7 .. code-block:: console # pip3 install boto3==1.17.85 botocore==1.20.85 jmespath==0.9.5 python-dateutil==2.8.1 six==1.14.0 urllib3==1.26.5 s3transfer==0.4.2 pyarrow==8.0.0 pyarrow_hotfix==0.5 - + + .. group-tab:: Python 3.8–3.10 + + .. code-block:: console + + # pip3 install boto3==1.17.85 botocore==1.20.85 jmespath==0.9.5 python-dateutil==2.8.1 six==1.14.0 urllib3==1.26.5 s3transfer==0.4.2 pyarrow==14.0.1 + .. group-tab:: Python 3.11 .. code-block:: console - # pip3 install --break-system-packages boto3==1.17.85 botocore==1.20.85 jmespath==0.9.5 python-dateutil==2.8.1 six==1.14.0 urllib3==1.26.5 s3transfer==0.4.2 pyarrow==13.0.0 pyarrow_hotfix==0.5 + # pip3 install --break-system-packages boto3==1.17.85 botocore==1.20.85 jmespath==0.9.5 python-dateutil==2.8.1 six==1.14.0 urllib3==1.26.5 s3transfer==0.4.2 pyarrow==14.0.1 .. note:: - + If you're using a virtual environment, remove the ``--break-system-packages`` parameter from the command above.