Important
TA-lib requires 2Gb of RAM. You can either:
- Upgrade your VM to a 2Gb RAM VM
- Use this guide to create a SWAP file (virtual memory) on the VM's SSD that is at least 2Gb: https://www.vultr.com/docs/setup-swap-file-on-linux
In fresh Ubuntu 19.04 LTS Vultr VM, as root SSH.
We need python 3.6 and pip3, let's check that we have Python 3.6 and install pip3 247MB (python3 should be there by default, but not pip3):
sudo apt-get update
sudo apt-get install python3.6
sudo apt-get install python3-pip
We will also need venv otherwise the install will fail + a few others that should help with the install of the ones necessary for freqtrade:
sudo apt-get install python3-venv build-essential libssl-dev libffi-dev python3-dev
Let's get freqtrade:
git clone https://github.com/freqtrade/freqtrade.git
cd freqtrade
git checkout develop
./setup.sh --install
Wait ... Answer Y
to all promps.
Run freqtrade:
source .env/bin/activate; freqtrade trade
Python 3.10.6 working
sudo apt-get update
sudo apt-get install python.pip
sudo apt-get install sqlite3
sudo apt install libsqlite3-dev
sudo apt install -y python3-pip python3-venv python3-dev python3-pandas git curl
sudo apt-get install make build-essential python3-dev
sudo apt-get install bzip2
sudo apt-get install libbz2-dev
cd Python-3.10.6/
./configure --enable-optimization
sudo make install or altinstall
sudo cp /usr/lib/python3.10/lib-dynload/_bz2.cpython-310-x86_64-linux-gnu.so /usr/local/lib/python3.10/
git clone https://github.com/freqtrade/freqtrade.git
cd freqtrade/
git checkout stable
./setup.sh -i
source .env/bin/activate
freqtrade create-userdir --userdir user_data
freqtrade new-config -c config.json
deactivate
Enjoy, DsiKorp