To install python & pip:
curl https://bootstrap.pypa.io/get-pip.py | python3 pip3 install --upgrade pip
To install conda (only required on some windows environments) download conda from here. Once that's done run the anaconda prompt.
Once that's done, you can install mindsdb from your terminal or from the anaconda prompt.
pip install mindsdb
What to do if installation fails
pip3 install mindsdb) and try installing for your current user only (
pip install mindsdb --user)
Try manually installing pytorch following the simple instructions on their official website: https://pytorch.org/get-started/locally/
If you are using Linux install
tkinterfrom your package manager in certain situations.
sudo apt-get install python3-tk tk
sudo dnf -y install python3-tkinter
sudo pacman -S tk
If you are using Windows, but are not using Anaconda or Conda, try installing one of them and running the installation from the anaconda prompt.
If you've previously installed mindsdb and are having issues upgrading to a new version, try installing with the command:
pip install mindsdb --upgrade, if that still fails, try:
pip install mindsdb --no-cache-dir --force-reinstall.
If none of this works, try installing mindsdb using the docker container and create an issue with the installation errors you got on: https://github.com/mindsdb/mindsdb/issues, we'll try to review it within a few hours.
Build and run your docker container
Alternatively, you can also run MindsDB in a docker container. Assuming that you have docker installed in your computer. On your terminal, you can do the following:
sh -c "$(curl -sSL https://raw.githubusercontent.com/mindsdb/mindsdb/master/distributions/docker/build-docker.sh)"
Due to the fact that pytorch only supports certain instruction sets, mindsdb can only use certain types of GPUs.
Currently, on AWS,
p3 instance types should be fine, but
g2 instances are not supported.
VPS on DigitalOcean with 3 GB Memory and above should work.
After installing MindsDB Server can be started by running:
python -m mindsdb
You should see simmilar message as:
GUI should be available by http://0.0.0.0:47334/static/index.html Start on 0.0.0.0:47334 Serving on http://0.0.0.0:47334
- To access MindsDB API's visit
- To access MindsDB Scout visit