internet-equity / netrics

The network measurements scheduling framework
7 stars 3 forks source link

install.py: error: the following arguments are required: path #50

Closed bertday closed 1 year ago

bertday commented 1 year ago

🐞 Bug Report:

Hello and thank you for this awesome project! 👋 I'm trying to install Netrics on a RasPi 4B using the one-liner, and running into an error.

Current Behavior:

When I run the one-liner:

curl -sL https://github.com/internet-equity/netrics/raw/0.0.1-rc.18/install.py | python3

I get an error:

usage: install.py [-h] [-f] [-U] [--pre] path
install.py: error: the following arguments are required: path

Expected Behavior:

I expect it to install.

Steps to Reproduce:

[I think I covered this above, but please let me know if any other details would be helpful]

Screenshots/Code Snippets:

n/a

Environment:

RasPi 4B; results of lsb_release -a:

Distributor ID: Debian
Description:    Debian GNU/Linux 11 (bullseye)
Release:    11
Codename:   bullseye

Additional Information:

n/a

marcwitasee commented 1 year ago

Hi @rbrtmrtn, thanks so much for filling out our issue form! Seems like you are having issues with the installation script. Can you try running the same command on your device with an extra flag as such:

curl -sL https://github.com/internet-equity/netrics/raw/0.0.1-rc.18/install.py | sudo python3 - --pre --upgrade

Let me know if you are able successfully install with this line.

bertday commented 1 year ago

Hi @marcwitasee , thanks for following up about this! I ran that command and it worked.

jesteria commented 1 year ago

Looks like everything was figured out here! Just for posterity:

Cheers :slightly_smiling_face: