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

import error #177

Open
Summersyz opened this issue Jan 5, 2025 · 1 comment
Open

import error #177

Summersyz opened this issue Jan 5, 2025 · 1 comment

Comments

@Summersyz
Copy link

Dear author,when i try to import neml after make the file, some error occoured,like this follow, how i should do?
Traceback (most recent call last):
File "F:\Edge Download\neml-1.5.4\neml-1.5.4\examples\tutorial.py", line 3, in
from neml import solvers, models, elasticity, drivers, surfaces, hardening, visco_flow, general_flow, parse
ImportError: cannot import name 'solvers' from 'neml' (F:\Edge Download\neml-1.5.4\neml-1.5.4\neml_init_.py)

Process finished with exit code 1

@reverendbedford
Copy link
Collaborator

Have you compiled the python bindings following the directions? Have you added NEML to your PYTHONPATH? What happens if you try to import another neml module? Say just run from neml import parse.

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