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

can not import gems3k from jupyter notebook #40

Open
martinyang1976 opened this issue Nov 11, 2024 · 2 comments
Open

can not import gems3k from jupyter notebook #40

martinyang1976 opened this issue Nov 11, 2024 · 2 comments
Assignees

Comments

@martinyang1976
Copy link

Hi gems3k maintainers,

I could download gems3k with conda install gems3k.

when I am trying to import gems3k with jupyter notebook, I encounter an error: there is no module called "gems3k"

what is the right way to work with gems3k after conda installation?

Thanks

Martin

@gdmiron gdmiron self-assigned this Nov 11, 2024
@gdmiron
Copy link
Member

gdmiron commented Nov 11, 2024

Hi Martin,

gems3k is the C++ interface, the python one is called xgems.

The python interface should be installed from conda forge by:
conda install conda-forge::xgems

Then in python you should do:
import xgems or import xgems as xg then use xg to access gems functionality

Here is one demo: https://bitbucket.org/gems4/xgems/src/master/demos/demo1.py

@martinyang1976
Copy link
Author

martinyang1976 commented Nov 11, 2024 via email

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