CiscoDevNet / sastre

Cisco-SDWAN Automation Toolset
MIT License
66 stars 33 forks source link

Unable to run sdwan from cli after installing from PIP #2

Closed zulfiaman closed 4 years ago

zulfiaman commented 4 years ago

I have installed using PIP install (recommended) but unable to run sdwan from ~. Any thought ?

~ $python3 -m pip install --upgrade cisco-sdwan
Requirement already up-to-date: cisco-sdwan in ./Library/Python/3.6/lib/python/site-packages (0.37)
Requirement already satisfied, skipping upgrade: requests in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from cisco-sdwan) (2.23.0)
Requirement already satisfied, skipping upgrade: idna<3,>=2.5 in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from requests->cisco-sdwan) (2.9)
Requirement already satisfied, skipping upgrade: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from requests->cisco-sdwan) (1.25.8)
Requirement already satisfied, skipping upgrade: chardet<4,>=3.0.2 in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from requests->cisco-sdwan) (3.0.4)
Requirement already satisfied, skipping upgrade: certifi>=2017.4.17 in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from requests->cisco-sdwan) (2019.11.28)
reismarcelo commented 4 years ago

Hi, can you indicate the specific error message you're getting?

zulfiaman commented 4 years ago

I dont get any error its just that the command not found:

~ $sdwan --version
-bash: sdwan: command not found
reismarcelo commented 4 years ago

I see. It's likely because the installer didn't have privileges to add some of the files to the system path. Can you please try the following?

zulfiaman commented 4 years ago

Thanks. FYI. Got it working with this: sudo -H python3 -m pip install --upgrade cisco-sdwan