MindsDB Installation for Development
If you want to contribute to the development of MindsDB, you need to install from source.
If you do not want to contribute to the development of MindsDB but simply install and use it, then install MindsDB via Docker.
Install MindsDB for Development
Here are the steps to install MindsDB from source. You can either follow the steps below or visit the provided link.
Before installing MindsDB from source, ensure that you use one of the following Python versions: 3.9.x
, 3.10.x,
3.11.x`.
-
Fork the MindsDB repository from GitHub.
-
Clone the fork locally:
-
Create a virtual environment:
-
Activate the virtual environment:
-
Install MindsDB with its local development dependencies:
Install dependencies:
-
Start MindsDB:
By default, MindsDB starts the
http
andmysql
APIs. You can define which APIs to start using theapi
flag as below.If you want to start MindsDB without the graphical user interface (GUI), use the
--no_studio
flag as below.
Alternatively, you can use a makefile to install dependencies and start MindsDB:
Now you should see the following message in the console:
You can access the MindsDB Editor at localhost:47334
.
Install dependencies
The dependencies for many of the data or ML integrations are not installed by default.
If you want to use a data or AI/ML integration whose dependencies are not available by default, install it by running this command:
You can find all available handlers here.
What’s Next?
Now that you installed and started MindsDB locally, go ahead and find out how to create and train a model using the CREATE MODEL
statement.
Check out the Use Cases section to follow tutorials that cover Large Language Models, Chatbots, Time Series, Classification, and Regression models, Semantic Search, and more.
Was this page helpful?