Skip to content

warrormac/Testing-Milvus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Dependencies Needed

Para PyMilvus

Install C++ Build Tools:

	https://visualstudio.microsoft.com/visual-cpp-build-tools/

Actualizar herramientas base de Python:

	python -m pip install --upgrade pip setuptools wheel

Instalar dependencias necesarias:

	pip install grpcio==1.51.3
	pip install pymilvus==2.3.5
	pip install marshmallow==3.19.0

PRIMERA ETAPA: Preparar entorno Python para usar Milvus

1. Crear nuevo entorno virtual

	mkdir "test-milvus"

		cd "test-milvus"
		
		python -m venv venv

		source venv/Scripts/activate

	1.1 Verificar versión de Python y pip

		python --version

			Asegurar que se tiene python version 3.10 o 3.11
		
		pip --version

	1.2 Instalar grpcio y pymilvus
		
		
		pip install grpcio==1.51.3
		
		pip install pymilvus==2.3.5

		pip install marshmallow==3.19.0

	1.3 Creamos el .py que se probara para ver la conexion con Milvus

		touch test_milvus.py  (desde terminal)

		code test_milvus.py (desde VS Code)

		python test_milvus.py


		Make sure Marshmallow is version lower than 4.x

			pip install marshmallow==3.19.0

2. Open Docker Desktops

	 Verificá WSL2 (si está activado)

	`	wsl --list --verbose

		Si WSL2 no está habilitado:

			wsl --install --no-distribution


3. Instalar y ejecutar Milvus Standalone con Docker Compose

	 Clonar el repositorio de Milvus Standalone

		git clone https://github.com/milvus-io/milvus.git
		
		cd milvus/deployments/docker-compose/standalone

	 Levantar Milvus

		docker-compose up -d

	Probar

		docker ps

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages