Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue importing psreg #2

Open
sunit1409 opened this issue Mar 12, 2019 · 6 comments
Open

issue importing psreg #2

sunit1409 opened this issue Mar 12, 2019 · 6 comments

Comments

@sunit1409
Copy link

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
Copy link
Author

@felja633 can you please help.

@felja633
Copy link
Owner

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

@sunit1409
Copy link
Author

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
Copy link
Owner

I used:
conda install -c conda-forge pybind11

@felja633
Copy link
Owner

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

@sunit1409
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants