In the wiki/How-to-Install maybe separate MacOS and the BSDs from Linux #1081
Replies: 3 comments 1 reply
-
I don't use MacOS or BSD, so I'm don't understand the needed edits. Copy the markdown below into a reply and edit it to what is correct for these systems. ### Mac/Linux
- **NOTE: Only Python 3.9 or later is supported!**
- Download the repo into lichess-bot directory.
- Navigate to the directory in cmd/Terminal: `cd lichess-bot`.
- Install pip: `apt install python3-pip`.
- In non-Ubuntu distros, replace `apt` with the correct package manager (`pacman` in Arch, `dnf` in Fedora, `brew` in Mac, etc.), package name, and installation command.
- Install virtualenv: `apt install python3-virtualenv`.
- Setup virtualenv: `apt install python3-venv`.
python3 -m venv venv # If this fails you probably need to add Python3 to your PATH.
virtualenv venv -p python3
source ./venv/bin/activate
python3 -m pip install -r requirements.txt |
Beta Was this translation helpful? Give feedback.
-
Hey MarkZH! Maybe something like this (missing installation of "pip" under MacOS is no oversight, as brew will provide it with the python-formula): MacOS (and BSD)
|
Beta Was this translation helpful? Give feedback.
-
Seems fine except for: Instead: If you ommit Thanks. |
Beta Was this translation helpful? Give feedback.
-
Hello!
As pointed in the headline it may be more straight-forward and less confusing for users of these systems, if it there could be a third category, as:
-there is no venv-package to be installed (MacOS, Open-/DragonFly-/Free-/NetBSD)
-instead on would need: python (and of course py*-pip and py*-virtualenv for it)
-it is then sourced with
. venv/bin/activate
Otherwise it's fine, thank you!
Beta Was this translation helpful? Give feedback.
All reactions