Skip to content

Commit

Permalink
Changed documentation (upgraded python version)
Browse files Browse the repository at this point in the history
  • Loading branch information
DDH13 committed Dec 8, 2024
1 parent 9d51b9a commit 0567df4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions docs/install/linux.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Short version
::

curl -sL https://deb.nodesource.com/setup_16.x | sudo -E bash - # add Node.js source repository
sudo apt install python3.9 python3-distutils pipenv postgresql libpq-dev nodejs gcc g++ make
sudo apt install python3.11 python3-distutils pipenv postgresql libpq-dev nodejs gcc g++ make
git clone https://github.com/TabbycatDebate/tabbycat.git
cd tabbycat
git checkout master
Expand Down Expand Up @@ -63,16 +63,16 @@ First, you need to install all of the software on which Tabbycat depends, if you

1(a). Python
------------
Tabbycat uses Python 3.9. You probably already have Python 3, but you'll also need the development package in order to install Psycopg2 later. You'll also want `Pipenv <https://pipenv.pypa.io/en/latest/>`_, if you don't already have it. Install::
Tabbycat uses Python 3.11. You probably already have Python 3, but you'll also need the development package in order to install Psycopg2 later. You'll also want `Pipenv <https://pipenv.pypa.io/en/latest/>`_, if you don't already have it. Install::

$ sudo apt install python3.9 python3-distutils pipenv
$ sudo apt install python3.11 python3-distutils pipenv

Check the version::

$ python3 --version
Python 3.9.12
Python 3.11.10

.. warning:: Tabbycat does not support Python 2. You must use Python 3.9.
.. warning:: Tabbycat does not support Python 2. You must use Python 3.11.

.. admonition:: Advanced users
:class: tip
Expand Down
6 changes: 3 additions & 3 deletions docs/install/osx.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,14 @@ First, you need to install all of the software on which Tabbycat depends, if you

1(a). Python
--------------------------------------------------------------------------------
Tabbycat requires Python 3.9. macOS only comes with Python 2.7, so you'll need to install this. You can download the latest version from the `Python website <https://www.python.org/downloads/>`_.
Tabbycat requires Python 3.11. macOS only comes with Python 2.7, so you'll need to install this. You can download the latest version from the `Python website <https://www.python.org/downloads/>`_.

The executable will probably be called ``python3``, rather than ``python``. Check::

$ python3 --version
Python 3.9.12
Python 3.11.10

.. warning:: Tabbycat does not support Python 2. You must use Python 3.9.
.. warning:: Tabbycat does not support Python 2. You must use Python 3.11.

You'll also need to install `Pipenv <https://pipenv.pypa.io/en/latest/>`_::

Expand Down
2 changes: 1 addition & 1 deletion docs/install/windows.rst
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ To check that Python is installed correctly, open Windows PowerShell, type ``pyt

.. note:: **If you already have Python**, great! Some things to double-check:

- You must have at least Python 3.9.
- You must have at least Python 3.11.
- Your installation path must not have any spaces in it.
- If that doesn't work, note that the following must be part of your ``PATH`` environment variable: ``C:\Python38;C:\Python38\Scripts`` (or as appropriate for your Python version and installation directory). Follow `the instructions here <https://www.java.com/en/download/help/path.xml>`_ to add this to your path.

Expand Down

0 comments on commit 0567df4

Please sign in to comment.