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

module 'meep' has no attribute 'CYLINDRICAL' #1101

Closed
BaileyM25 opened this issue Jan 15, 2020 · 4 comments
Closed

module 'meep' has no attribute 'CYLINDRICAL' #1101

BaileyM25 opened this issue Jan 15, 2020 · 4 comments

Comments

@BaileyM25
Copy link

BaileyM25 commented Jan 15, 2020

Hello, I am trying to run one of the tutorials in the meep documentation however it for some reason is not reading CYLINDRICAL correctly.

AttributeError: module 'meep' has no attribute 'CYLINDRICAL'

I am using Ubuntu outside of Windows and installed meep via a tutorial on Youtube (https://www.youtube.com/watch?v=pxIJTGiBdWs) and tried it the conda way. In the beginning I was receiving 'meep' module not found. I fixed that by going to the env that I created in the terminal and did 'pip3 install meep'

I cannot for the life of me figure out this current issue though.

Edit: I wanted to show more pictures to hopefully explain better.

Screenshot from 2020-01-14 17-56-12

Screenshot from 2020-01-14 17-55-21

Screenshot from 2020-01-14 17-56-26

Screenshot from 2020-01-14 17-57-12

@stevengj
Copy link
Collaborator

Don't paste screenshots into error reports. Screenshots are hard to read, cannot be copy-pasted, and cannot be searched. Paste quoted text.

Did you try one of the tutorial examples, e.g. meep/python/examples/ring-cyl.py?

@BaileyM25
Copy link
Author

I have figured it out but forgot to close the post. When I originally did the installation, I had no idea what was going on and had things installed everywhere. Mixing pip installs and conda installs. I just had to reinstall with using 1 as constant. And apologies for the screenshots, was trying to show file system as well. Will not do that next time.

@lamph123
Copy link

lamph123 commented Feb 5, 2022

I have figured it out but forgot to close the post. When I originally did the installation, I had no idea what was going on and had things installed everywhere. Mixing pip installs and conda installs. I just had to reinstall with using 1 as constant. And apologies for the screenshots, was trying to show file system as well. Will not do that next time.

How did you solve your problem? Could you share it with me? Thanks!

@KPK101
Copy link

KPK101 commented Mar 4, 2022

Hi,
I installed meep in python using pip( I'm guessing this isn't enough) and I face a similar error: " module 'meep' has no attribute 'Vector3'. It would be helpful is you could share how to resolve this.

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

4 participants