- Blind mode tutorial
lichess.org
Donate

How to install a BOT on Lichess?

IMO -- You should be using 64-bit by default. Don't ever use 32-bit unless you have a specific need (or are managing older 32-bit systems or code that requires 32-bit registers).

IMO -- You should be using 64-bit by default. Don't ever use 32-bit unless you have a specific need (or are managing older 32-bit systems or code that requires 32-bit registers).

@Chesstroll_Ingot #15 in case you have not solved it already, they have made some encoding related changes in Python 3.6 [1] and this leads to the UnicodeDecodeError. It is a bug in the python package manager.

In order to solve this problem, upgrade pip to version 10:

python -m pip install --upgrade pip

Then run 'python -m pip install -r "path\to\requirements.txt"' again.

[1] https://docs.python.org/3/whatsnew/3.6.html#pep-528-change-windows-console-encoding-to-utf-8

@Chesstroll_Ingot #15 in case you have not solved it already, they have made some encoding related changes in Python 3.6 [1] and this leads to the UnicodeDecodeError. It is a bug in the python package manager. In order to solve this problem, upgrade pip to version 10: python -m pip install --upgrade pip Then run 'python -m pip install -r "path\to\requirements.txt"' again. [1] https://docs.python.org/3/whatsnew/3.6.html#pep-528-change-windows-console-encoding-to-utf-8

@nh78, I upgraded after I got those errors, and now if I try to do that command again (install things from requirements), it says "Fatal error in launcher:"

@nh78, I upgraded after I got those errors, and now if I try to do that command again (install things from requirements), it says "Fatal error in launcher:"

OK, something went wrong here i guess.

Uninstall python, also remove the directories the installation created, and install python again.

then run the "python -m pip install --upgrade pip" command before you proceed like you did before.

Good luck! :-)

OK, something went wrong here i guess. Uninstall python, also remove the directories the installation created, and install python again. then run the "python -m pip install --upgrade pip" command before you proceed like you did before. Good luck! :-)

@relevantproblem

yes in general
"python -m pip install ..."
is safer than doing
"pip install ..."
directly, see eg the first answer to https://github.com/pypa/pip/issues/5109

@relevantproblem yes in general "python -m pip install ..." is safer than doing "pip install ..." directly, see eg the first answer to https://github.com/pypa/pip/issues/5109

nice to hear that!

nice to hear that!

There seems to be some sort of bug here. Has anyone successfully passed number of threads from the config file?

There seems to be some sort of bug here. Has anyone successfully passed number of threads from the config file?

This topic has been archived and can no longer be replied to.