cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

from meraki import meraki

Comes here often

from meraki import meraki

Hi,

 

I installed python (and Pycharm) on 3 different devices but did managed to get meraki lib working.

 

I did:

  • python installation
  • pip installation
  • pip upgrade to 20.0.2
  • pip install meraki (and upgrade)
  • pip install meraki-sdk (and upgrade)

 

python <enter>

# from meraki import meraki

(see attachment)

 

I also checked the site-package folder and see both lib's available in folder

 

What is the magic?

 

import-meraki.png

 

8 REPLIES 8
Highlighted
Kind of a big deal

Re: from meraki import meraki

Hi Rob,

 

A couple of things:

Good luck!

 

Highlighted
Comes here often

Re: from meraki import meraki

Thanks for the quick reply, but...

 

when using import statement I get an error message:

 

Spoiler
ModuleNotFoundError: No module named 'meraki'
Highlighted
Comes here often

Re: from meraki import meraki

C:\WINDOWS\system32>pip3 list
Package Version
--------------- ----------
CacheControl 0.12.6
certifi 2019.11.28
chardet 3.0.4
idna 2.9
jsonpickle 0.9.6
meraki 0.90.2
msgpack 1.0.0
pip 20.0.2
python-dateutil 2.8.1
requests 2.23.0
setuptools 41.2.0
six 1.14.0
urllib3 1.25.8

Highlighted
Kind of a big deal

Re: from meraki import meraki

What's the output when you execute the following command in the python interactive prompt:

help("modules")

 

Highlighted
Comes here often

Re: from meraki import meraki

help("modules")help("modules")

Highlighted
Kind of a big deal

Re: from meraki import meraki

That's strange. It says it can't import a module named meraki, however if you ask it to list the modules it does have, it shows the module. Does not compute.

 

What does your windows PATH environment variable look like?

echo %PATH%

 

 

Highlighted
Here to help

Re: from meraki import meraki

do not need to import from, just

import meraki

Highlighted
Here to help

Re: from meraki import meraki

developer.cisco.com/meraki/whats-new/#2020/01-2020

Welcome to the Meraki Community!
To start contributing, simply sign in with your Cisco account. If you don't yet have a Cisco account, you can sign up.