Just change the docs

This commit is contained in:
Leonardo Custodio 2023-01-31 12:42:39 -03:00
parent 592eebe516
commit baf2090f9e
No known key found for this signature in database
GPG Key ID: 75395C390F500F31
2 changed files with 6 additions and 25 deletions

View File

@ -30,6 +30,12 @@ The easiest way to install and run Freqtrade is to clone the bot Github reposito
!!! Warning "Up-to-date clock" !!! Warning "Up-to-date clock"
The clock on the system running the bot must be accurate, synchronized to a NTP server frequently enough to avoid problems with communication to the exchanges. The clock on the system running the bot must be accurate, synchronized to a NTP server frequently enough to avoid problems with communication to the exchanges.
!!! Error: Running setup.py install for gym did not run successfully.
If you get an error related with gym we suggest you to downgrade it to version 65.5.0 you can do it with the following command:
```bash
pip install setuptools==65.5.0
```
------ ------
## Requirements ## Requirements

View File

@ -1,30 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
#encoding=utf8 #encoding=utf8
# This should be deleted as soon as a gym release with a fixed setuptools is made
function check_is_new_setuptools_installed() {
stoolversion=$(${PYTHON} -m pip show setuptools | grep "Version:")
stoolversion=${stoolversion##* }
stoolversion=$(echo $stoolversion | grep -Eo "^[0-9]+")
if [ $stoolversion -gt 65 ]; then
echo "You are using a new version of setuptools. This is not supported by gym at the moment."
read -p "Do you want to downgrade setuptools to a version that is supported by gym? [y/N] "
if [[ $REPLY =~ ^[Yy]$ ]]
then
${PYTHON} -m pip install setuptools==65.5.0
if [ $? -ne 0 ]; then
echo "Failed downgrading setuptools"
exit 1
fi
else
echo "Please downgrade setuptools to a version that is supported by gym."
exit 1
fi
fi
}
function echo_block() { function echo_block() {
echo "----------------------------" echo "----------------------------"
echo $1 echo $1
@ -302,7 +278,6 @@ function help() {
# Verify if 3.8+ is installed # Verify if 3.8+ is installed
check_installed_python check_installed_python
check_is_new_setuptools_installed
case $* in case $* in
--install|-i) --install|-i)