Skip to content

Install on Windows

Install using MindsDB installers

Install MindsDB on your Windows machine using an easy-to-use installler.

Download the installer

MindsDB for Windows

This installer will install Python3, MindsDB and MindsDB's dependencies, and create a shortcut on the desktop for starting MindsDB server.

Install using Anaconda

You will need Anaconda or Conda installed and Python 64bit version. Then open Anaconda Prompt and:

  1. Create new virtual environment and install mindsdb:

    conda create -n mindsdb
    
    conda activate mindsdb
    
    pip install mindsdb
    
  2. To verify that mindsdb was installed run:

    conda list
    

Install using pip

We suggest you to install MindsDB in a virtual environment when using pip to avoid dependency issues. Make sure your Python version is >=3.6.

  1. Create new virtual environment called mindsdb:

    py -m venv mindsdb
    

    And, activate it:

    .\mindsdb\Scripts\activate
    
  2. Install MindsDB:

    pip install mindsdb
    
  3. To verify that mindsdb was installed run:

    pip freeze
    

Installation fail

Don't worry, simply follow the below bellow instruction which should fix most issues.

  1. Python 64 bit version is required.

  2. Depending on your environment, you might have to use pip3 instead of pip, and python3.x instead of py in the above commands e.g

    pip3 install mindsdb
    
  3. If you are using Python 3.9 you may get installation errors. Some of the MindsDB's dependencies are not working with Python 3.9, so please downgrade to older versions for now. We are working on this and Python 3.9 will be supported soon.

  4. If installation fails when installing torch or torchvision try manually installing them following the simple instructions on their official website.

  5. 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.

  6. 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

  7. If none of this works, try installing mindsdb using the docker container and create an issue with the installation errors you got on our Github repository and we'll try to review it within a few hours.