-
Notifications
You must be signed in to change notification settings - Fork 5
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
Comments
Hi Martin, gems3k is the C++ interface, the python one is called xgems. The python interface should be installed from conda forge by: Then in python you should do: Here is one demo: https://bitbucket.org/gems4/xgems/src/master/demos/demo1.py |
Hi George,
Thank you for taking time to answer my questions.
I installed xgems with conda, and can import it in jupyter notebook.
That is great.
Best regards
Martin
Wacker Chemicals Australia Pty. Ltd.
Unit 1/35 Dunlop Road
Mulgrave, Vic 3170, Australia
Tel. +61 3 9541 8915
Mobile +61 419546067
Fax +61 3 9541 8989
***@***.***
WACKER
CREATING TOMORROW'S SOLUTIONS
Follow us on:
[[image]]<https://www.linkedin.com/company/wacker> [[image]] <https://www.youtube.com/user/WackerChemie> [[image]] <https://x.com/wackerchemie> [[image]] <https://www.instagram.com/wacker_global>
From: George Dan Miron ***@***.***>
Sent: Tuesday, November 12, 2024 12:50 AM
To: gemshub/GEMS3K ***@***.***>
Cc: Yang, Martin ***@***.***>; Author ***@***.***>
Subject: Re: [gemshub/GEMS3K] can not import gems3k from jupyter notebook (Issue #40)
CAUTION: This e-mail was sent from outside the company. Don't click on links, open attachments or reply to this mail unless you recognize the sender and know that the content is safe.
Hi Martin,
In principle 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
—
Reply to this email directly, view it on GitHub<#40 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AVVO5RXDA2RO5RNS4LJWMKD2ACYYZAVCNFSM6AAAAABRQXUY3KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRYGIZDMMZYGI>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
This communication and any files or attachments transmitted with it may contain information that is copyrighted or confidential and exempt from disclosure under applicable law. It is intended solely for the use of the individual or the entity to which it is addressed.
If you are not the intended recipient, you are hereby notified that any use, dissemination, or copying of this communication is strictly prohibited.
If you have received this communication in error, please notify the sender at once so that he may take the appropriate action and avoid troubling you further.
Thank you for your cooperation.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
The text was updated successfully, but these errors were encountered: