riverbed / steelscript

SteelScript is a collection of libraries and scripts in Python for interacting with Riverbed solutions and appliances, and other network infrastructure devices
https://support.riverbed.com/apis/steelscript
Other
14 stars 10 forks source link

how to install SCC package? #2

Closed Yenwod closed 5 years ago

Yenwod commented 5 years ago

After following the Steelscript installation instructions multiple times, I have not been able to install the SCC package. How would you actually go about installing it?

After installation when following the SCC tutorial, in Section 10.2.3 this line of code works:

from steelscript.common.service import OAuth

while this line fails:

from steelscript.scc.core import SCC

with the error:

ImportError: No module named scc.core
mgarabed commented 5 years ago

Seems like the base steelscript package got installed but not the steelscript.scc package.

Can you provide the output of the command steel about?

It should be as simple as running pip install steelscript.scc which should cover all of the additional dependencies.

You might also need to upgrade your pip: pip install --upgrade pip

Yenwod commented 5 years ago

@mgarabed - thanks! Running pip install steelscript.scc did the trick!