commit
fb742361e9
@ -30,6 +30,12 @@ The easiest way to install and run Freqtrade is to clone the bot Github reposito
|
||||
!!! 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.
|
||||
|
||||
!!! Error "Running setup.py install for gym did not run successfully."
|
||||
If you get an error related with gym we suggest you to downgrade setuptools it to version 65.5.0 you can do it with the following command:
|
||||
```bash
|
||||
pip install setuptools==65.5.0
|
||||
```
|
||||
|
||||
------
|
||||
|
||||
## Requirements
|
||||
|
@ -6,4 +6,5 @@ torch==1.13.1
|
||||
stable-baselines3==1.7.0
|
||||
sb3-contrib==1.7.0
|
||||
# Gym is forced to this version by stable-baselines3.
|
||||
setuptools==65.5.0 # Should be removed when gym is fixed.
|
||||
gym==0.21
|
||||
|
5
setup.sh
5
setup.sh
@ -49,7 +49,8 @@ function updateenv() {
|
||||
source .env/bin/activate
|
||||
SYS_ARCH=$(uname -m)
|
||||
echo "pip install in-progress. Please wait..."
|
||||
${PYTHON} -m pip install --upgrade pip
|
||||
# Setuptools 65.5.0 is the last version that can install gym==0.21.0
|
||||
${PYTHON} -m pip install --upgrade pip wheel setuptools==65.5.0
|
||||
read -p "Do you want to install dependencies for dev [y/N]? "
|
||||
dev=$REPLY
|
||||
if [[ $REPLY =~ ^[Yy]$ ]]
|
||||
@ -60,7 +61,7 @@ function updateenv() {
|
||||
fi
|
||||
REQUIREMENTS_HYPEROPT=""
|
||||
REQUIREMENTS_PLOT=""
|
||||
read -p "Do you want to install plotting dependencies (plotly) [y/N]? "
|
||||
read -p "Do you want to install plotting dependencies (plotly) [y/N]? "
|
||||
if [[ $REPLY =~ ^[Yy]$ ]]
|
||||
then
|
||||
REQUIREMENTS_PLOT="-r requirements-plot.txt"
|
||||
|
Loading…
Reference in New Issue
Block a user