From 4e997ff334b7e7a9569ba9bde92242900e283c76 Mon Sep 17 00:00:00 2001 From: michaelgrigoryan25 <56165400+michaelgrigoryan25@users.noreply.github.com> Date: Thu, 1 Dec 2022 19:42:40 +0400 Subject: Updated README to fix compatibility issues on Fedora. --- README.md | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index d5c5ac7d40e..ad642f43e54 100644 --- a/README.md +++ b/README.md @@ -95,12 +95,26 @@ If you get an undefined symbol error on `gst_player_get_config` try removing `gi #### On Fedora -``` sh -sudo dnf install python3 python3-virtualenv python3-pip python3-devel -python3 ./mach bootstrap +```sh +sudo dnf install python3.7 python3-devel +``` + +Installing pip 3.7 alongside Python 3.7 is vital. You might run into issues with virtualenv +when trying to use Mach tools. You can install pip3.7 alongside virtualenv by executing: + +```sh +curl https://bootstrap.pypa.io/get-pip.py | sudo -H python3.7 +python3.7 -m pip install virtualenv ``` -If `python3 ./mach bootstrap` doesn't work, file a bug, and, run the commands below: +Fedora 37 aliases python3.11 as `python3` by default. For this reason, when running Mach tools, make sure you +execeute them with Python 3.7: + +```py +python3.7 ./mach run https://servo.org/ +``` + +If `python3.7 ./mach bootstrap` doesn't work, file a bug, and run the commands below: ``` sh sudo dnf install curl libtool gcc-c++ libXi-devel libunwind-devel \ @@ -113,6 +127,7 @@ sudo dnf install curl libtool gcc-c++ libXi-devel libunwind-devel \ libjpeg-turbo-devel zlib libjpeg ``` + #### On CentOS ``` sh -- cgit v1.2.3