Skip to content

Deploy using pip

Python 3.9

Currently, some of our dependencies have issues with the latest versions of Python 3.9.x. For now, our suggestion is to use Python 3.7.x, or 3.8.x versions.

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 and activate venv:

    python -m venv mindsdb
    
    source mindsdb/bin/activate
    
  2. Install MindsDB:

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

    pip freeze
    
    You should see a list with the names of installed packages:

Pip list

Deploy using Anaconda

Python 3.9

Currently, some of our dependencies have issues with the latest versions of Python 3.9.x. For now, our suggestion is to use Python 3.7.x, or 3.8.x versions.

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
    

Troubleshooting

If the installation fails, don't worry, simply follow the below bellow instruction which should fix most issues. If none of this works, try using the docker container and create an issue with the installation errors you got on our Github repository. We'll try to review the issue and give you response within a few hours.

No module named mindsdb

If you get this error, make sure that your virtual environment(where you installed mindsdb) is activated.

Installation fail

Note that Python 64 bit version is required.

IOError: [Errno 28] No space left on device while installing MindsDB

MindsDB requires around 3GB of free disk space to install all of its dependencies.

Installation fail

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.

Comments