6 Installing
Tato edited this page 2025-08-02 21:20:34 +00:00

Through PyPi

To obtain grapes through PyPi, run the following command in your terminal (if you're using a virtual environment, make sure you have it enabled!)

pip install grapesdb

After that, test it out by importing it

import grapes

Through Downloading

WARNING: This will only work in the project it is dropped into (you will have to copy and paste it into every project that uses it. WARNING: If you still wish to have it localized instead of using PyPi, use this method to prevent that. Download the grapes folder (found at /src/ of this GitHub repository) and insert it into your project of choice!

After that, test it out by importing it

import grapes

Through site_packages Insertion

Download the grapes folder (found at /src/ of this git repository) and insert it into your site_packages folder.

If you don't know where it is, run the following snippet of Python.

import site
site.getsitepackages()

After that, test it out by importing it

import grapes