- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
module 'meraki' has no attribute 'DashboardAPI' (most likely due to a circular import)
I wrote an script for rebooting Meraki devices from serial number listed in a CSV file.
Seems to work on MAC but on windows I keep getting this error below and can not not execute the code.
using visual studio code and same version of python on both mac and windows.
partially initialized module 'meraki' has no attribute 'DashboardAPI' (most likely due to a circular import)
any idea ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try asking Python to update the meraki-sdk module.
pip install -U meraki-sdk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Answering to save anyone who googled that error message 15 minutes to find out what went wrong.
I just did the same beginner mistake: you imported a module called meraki and you named your script meraki.py and this results in a naming conflict. Rename your file to not_the_module_name.py
See also: Modules section of the Python tutorial on python.org
