aplbrain / dotmotif

A performant, powerful query framework to search for network motifs
https://bossdb.org/tools/dotmotif
Apache License 2.0
81 stars 9 forks source link

Module Not Foud #137

Closed anonimoustt closed 2 months ago

anonimoustt commented 8 months ago

Hi,

I am getting following error while executing the following code:

from dotmotif import Motif from dotmotif.executors.NeuPrintExecutor import NeuPrintExecutor

ModuleNotFoundError Traceback (most recent call last) in <cell line: 2>() 1 from dotmotif import Motif ----> 2 from dotmotif.executors.NeuPrintExecutor import NeuPrintExecutor

/usr/local/lib/python3.10/dist-packages/dotmotif/executors/NeuPrintExecutor.py in 1 import pandas as pd ----> 2 from neuprint import Client 3 from neuprint import fetch_all_rois 4 5 from .. import Motif

ModuleNotFoundError: No module named 'neuprint'

j6k4m8 commented 8 months ago

It looks like your installation doesn't have the neuprint library installed; you can either install it manually from the command-line with

pip install neuprint-python

or you can re-install dotmotif with neuprint compatibility built-in, with

pip install 'dotmotif[neuprint-python]'
anonimoustt commented 8 months ago

Hi, Thanks. I needed to install additionally : !pip install py2neo !pip install tamarind

to remove the error.

j6k4m8 commented 8 months ago

Fantastic, thanks for reporting back! I will add these to the installation dependencies!!