Skip to content

ISOC-Research/grip-core

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GRIP Core Python Package

Installation

These instructions are specific for an install on FreeBSD

First of all, you need to install PostgreSQL, librrdkafka and cmake:

pkg install databases/postgresql15-server
pkg install net/librdkafka
pkg install devel/cmake
pkg install lang/gcc
pkg install math/openblas

cmake is needed for installing py-ninja, which is a dependency of scipy to install later. GCC is installed because the fortran compiler is needed for the meson build system.

Then create a virtualenv:

python3 -m venv ./venv

Activate it:

source ./venv/bin/activate

Install the base libraries. Defining the include and library paths for confluent-kafka is mandatory, as the pip install looks for librdkafka in the wrong place.

setenv C_INCLUDE_PATH /usr/local/include/
setenv LIBRARY_PATH /usr/local/lib/
pip3 install confluent-kafka

Then the rest

pip3 install scipy
pip3 install -r requirements.pip3.txt
python3 setup.py install

About

GRIP (Global Routing Intelligence Platform) core codebase

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages