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

AttributeError: module 'meep' has no attribute 'GaussianBeamSource' #1379

Closed
MaxGuii opened this issue Sep 25, 2020 · 2 comments
Closed

AttributeError: module 'meep' has no attribute 'GaussianBeamSource' #1379

MaxGuii opened this issue Sep 25, 2020 · 2 comments

Comments

@MaxGuii
Copy link

MaxGuii commented Sep 25, 2020

Hello

I am trying to run this example: https://github.com/NanoComp/meep/blob/master/python/examples/gaussian-beam.py
and run into this problem. Meep version is 1.15.0. Thank you!

@oskooi
Copy link
Collaborator

oskooi commented Sep 25, 2020

The GaussianBeamSource feature was added in #1310 which was after the 1.15 release and thus is not included in the tarball.

You will need to either build from source using the latest master branch or use the Conda package for the nightly build which was updated today for Linux and macOS.

@oskooi oskooi closed this as completed Sep 25, 2020
@MaxGuii
Copy link
Author

MaxGuii commented Sep 26, 2020

Hi, I updated to the nightly build version but showing error: No module named 'meep'
Does import meep as mp correct in this version? Thank you.

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