diff --git a/community/contributing/building_the_manual.rst b/community/contributing/building_the_manual.rst index 5384cde12..50d00ca86 100644 --- a/community/contributing/building_the_manual.rst +++ b/community/contributing/building_the_manual.rst @@ -21,15 +21,14 @@ install all these tools. It comes pre-installed with `Python `__. Ensure that you install and use Python 3. Here are the commands to clone the repository and then install all requirements. +.. note:: You may need to write ``python3 -m pip`` (Unix) or ``py -m pip`` (Windows) instead of ``pip3``. + If both approaches fail, `check that you have pip3 installed `__. + .. code:: sh git clone https://github.com/godotengine/godot-docs.git - pip install -r requirements.txt + pip3 install -r requirements.txt -.. note:: On Linux distributions, you may need to write ``pip3`` instead of - ``pip`` because you generally have both Python 2 and 3 installed on - your system. Alternatively, you can explicitly ask Python 3 to execute - its version of pip as a module like so: ``python3 -m pip``. With the programs installed, you can build the HTML documentation from the root folder of this repository with the following command: @@ -94,6 +93,6 @@ root folder: virtualenv --system-site-packages env/ . env/bin/activate - pip install -r requirements.txt + pip3 install -r requirements.txt Then, run ``make html`` as shown above. diff --git a/community/contributing/code_style_guidelines.rst b/community/contributing/code_style_guidelines.rst index 6d106291f..ff98f6007 100644 --- a/community/contributing/code_style_guidelines.rst +++ b/community/contributing/code_style_guidelines.rst @@ -264,7 +264,7 @@ Here's how to install black: :: - pip install black --user + pip3 install black --user You then have different possibilities to apply black to your changes: diff --git a/development/compiling/compiling_for_windows.rst b/development/compiling/compiling_for_windows.rst index 169b8f6e5..2b7f8bcab 100644 --- a/development/compiling/compiling_for_windows.rst +++ b/development/compiling/compiling_for_windows.rst @@ -35,7 +35,7 @@ For compiling under Windows, the following is required: mingw-w64-i686-yasm make For each MSYS2 MinGW subsystem, you should then run - `pip install scons` in its shell. + `pip3 install scons` in its shell. .. seealso:: For a general overview of SCons usage for Godot, see :ref:`doc_introduction_to_the_buildsystem`. @@ -52,7 +52,7 @@ Setting up SCons To install SCons open the command prompt and run the following command. -``python -m pip install scons`` +``python -m pip3 install scons`` To check whether you have installed Python and SCons correctly, you can type ``python --version`` and ``scons --version`` into a command prompt diff --git a/tutorials/i18n/localization_using_gettext.rst b/tutorials/i18n/localization_using_gettext.rst index c46c80a71..dbe2a8575 100644 --- a/tutorials/i18n/localization_using_gettext.rst +++ b/tutorials/i18n/localization_using_gettext.rst @@ -97,7 +97,7 @@ After installing ``babel`` and ``babel-godot``, for example using pip: .. code-block:: shell - pip install babel babel-godot + pip3 install babel babel-godot Write a mapping file (for example ``babelrc``) which will indicate which files pybabel needs to process (note that we process GDScript as Python, which is