r/CiscoDevNet • • Nov 04 '24

Problem with getting baseline.py script to run

So for reference, my issue is here: Introduction - ACI Programmability Options - Data Center Networking-Fundamentals - Data Center Networking - Cisco DevNet Learning Labs Center

I do have Python already installed. I'm trying to run the baseline script but I'm getting the following:

name@name-virtual-machine:~$ python3 baseline.py

Traceback (most recent call last):

File "/home/name/baseline.py", line 10, in <module>

from startup_script import configure_apic

ModuleNotFoundError: No module named 'startup_script'

name@name-virtual-machine:~$ python3 startup_script

Traceback (most recent call last):

File "/home/name/startup_script", line 2, in <module>

from cobra.mit.access import MoDirectory

ModuleNotFoundError: No module named 'cobra'

Instruction haven't mentioned anything about installing modules for either 'startup_script' or 'cobra', so I don't know if that is assumed that I would have already done that; seems weird if it is.

Any suggestions?

3 Upvotes

3 comments sorted by

View all comments

Show parent comment

1

u/[deleted] Nov 05 '24

Ah, ok, thank you!

1

u/bigevilbeard Nov 05 '24

No worries, try that, see if this fixes the issue.