felja633 / DARE

Density Adaptive Point Set Registration
MIT License
69 stars 13 forks source link

issue importing psreg #2

Open sunit1409 opened 5 years ago

sunit1409 commented 5 years ago

Please note that the installations were carried out by executing the shell script , in a conda environment.

traceback (most recent call last): File "reg_demo.py", line 6, in from src import psreg File "/home/dl/DARE/src/psreg.py", line 11, in from .math_utils.build import math_utils ImportError: cannot import name 'math_utils' from 'src.math_utils.build' (unknown location)

sunit1409 commented 5 years ago

@felja633 can you please help.

felja633 commented 5 years ago

I haven't encountered this problem. Was math_utils built successfully and does the folder src/math_utils/build extist?

sunit1409 commented 5 years ago

Yes it does exist. It built successfully. How have you install pybind11, I have used conda for installation. installing pybind11 with pip has some issues.

felja633 commented 5 years ago

I used: conda install -c conda-forge pybind11

felja633 commented 5 years ago

It seems like there is some path-issue. Maybe try to create a new fresh conda environment and install everything from there

sunit1409 commented 5 years ago

ok , I will update after I do a fresh installation. btw thanks