Skip to content

Commit

Permalink
Add pip3 command for Python 3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
fdalmaup committed Sep 15, 2023
1 parent f0913fe commit 4e47b41
Showing 1 changed file with 34 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,25 @@ The required modules can be installed with Pip, the Python package manager. Most
It is recommended to use a pip version greater than or equal to 19.3 to ease the installation of the required dependencies.

.. code-block:: console

# pip3 install --upgrade pip
.. tabs::

.. group-tab:: Python 3.7 - 3.10

.. code-block:: console
# pip3 install --upgrade pip
.. group-tab:: Python 3.11

.. code-block:: console
# pip3 install --upgrade pip --break-system-packages
.. note::

The ``--break-system-packages`` parameter is required to make the install on the default externally managed environment (more information on the `PEP 668 description <https://peps.python.org/pep-0668/>`_). To avoid it, the command can be executed inside a virtual environment but this would require a modification on the ``aws-s3`` script shebang to use the environment's interpreter.


.. _boto-3:

Expand All @@ -66,6 +82,20 @@ AWS pip dependencies

To install the dependencies, execute the following command:

.. code-block:: console
.. tabs::

.. group-tab:: Python 3.7 - 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==8.0.0 numpy==1.21.6
.. 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==8.0.0 numpy==1.21.6
# 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 numpy==1.21.6
.. note::

In the case of using a virtual environment, the ``--break-system-packages`` parameter should be removed from the command.

0 comments on commit 4e47b41

Please sign in to comment.