akamai / cli-firewall

Provides a way to interact with Firewall Rules and Site Shield related information via Open APIs.
Apache License 2.0
15 stars 9 forks source link

Error Installing Firewall Package #2

Closed SilentWolf8979 closed 6 years ago

SilentWolf8979 commented 6 years ago

I'm seeing an error trying to install the firewall package. Other packages (purge, appsec, property) installed fine. I am behind a proxy, but adding the --proxy param with our proxy did not resolve the problem.

C:>akamai install firewall Attempting to fetch command from https://github.com/akamai/cli-firewall.git...... [OK] Installing...... [FAIL] Unable to run package manager: exit status 1

SilentWolf8979 commented 6 years ago

I tried uninstalling Python and then reinstalling it. That appears to have allowed me to successfully run the "akamai install firewall" command. However I'm seeing it listed twice.

image

I'm also not able to run the commands and am getting the below error:

C:>akamai firewall help Traceback (most recent call last): File "H:.akamai-cli\src\cli-firewall\bin\akamai-firewall", line 29, in from prettytable import PrettyTable ModuleNotFoundError: No module named 'prettytable'

I don't see the cli-firewall folder in the same location as the other packages: C:\Users\userID.akamai-cli\src

vreddhi commented 6 years ago

Can you give a fresh try? Looks like the first time it created the folder but failed to download due to some reason. And then a successful download resulted in duplicate entries.