jeffdaily / parasail-python

Python bindings for the parasail C library.
Other
87 stars 17 forks source link

import error of module bindings_v2 #13

Closed iprada closed 6 years ago

iprada commented 6 years ago

Hi, I had when importing parasail, it wasn't able to found the bindings_v2 file. I have solve it changing line 55 in the init.py file from: from bindings_v2 import * to from .bindings_v2 import *

` Python 3.6.3 |Anaconda custom (64-bit)| (default, Nov 3 2017, 19:19:16) [GCC 7.2.0] on linux Type "help", "copyright", "credits" or "license" for more information.

import parasail Traceback (most recent call last): File "", line 1, in File "/data/xsh723/anaconda/lib/python3.6/site-packages/parasail/init.py", line 55, in from bindings_v2 import * ModuleNotFoundError: No module named 'bindings_v2' `

Hope it helps