QuantRocket

Error adding license into quantrocket


#1

i am trying to add my license with the command:

quantrocket license set ‘#######’
i get the error:
usage: quantrocket license [-h] {get} …
quantrocket license: error: argument subcommand: invalid choice: ‘set’ (choose from ‘get’)

there is no set command
quantrocket license -h show there is only a get command.
i have quantrocket release 1.5.1

any help would be appreciated
thanks
darryl


#2

One way or another you’re not really on 1.5.1 when running that command, as set was added a couple versions ago. Are you running this command from inside Jupyter? Did you run docker ps to verify the version numbers? Try going through the update process again.


#3

brian
thanks for the reply

i did not run command from inside jupyter.
i ran it from the powershell command line
is that correct?.

re running the command

PS C:\Users\Darryl\quantrocket> docker-compose -p quantrocket up -d
quantrocket_jupyter_1 is up-to-date
quantrocket_zipline_1 is up-to-date
quantrocket_ibg1_1 is up-to-date
quantrocket_db_1 is up-to-date
quantrocket_codeload_1 is up-to-date
quantrocket_moonshot_1 is up-to-date
quantrocket_launchpad_1 is up-to-date
quantrocket_flightlog_1 is up-to-date
quantrocket_license-service_1 is up-to-date
quantrocket_countdown_1 is up-to-date
quantrocket_houston_1 is up-to-date
quantrocket_account_1 is up-to-date
quantrocket_master_1 is up-to-date
quantrocket_fundamental_1 is up-to-date
quantrocket_blotter_1 is up-to-date
quantrocket_history_1 is up-to-date
quantrocket_satellite_1 is up-to-date
quantrocket_logspout_1 is up-to-date

shows all containers are upto date
displaying the version with docker ps shows the license-service is 1.5.0

and i license server still does not have a set argument.
the old version of quantrocket i updated from, the license key was defined as an environment variable.
which i have removed,

any ideas
thanks
darryl


#4

Oh, don’t use powershell to run quantrocket commands anymore (still use it to run docker commands). Run the quantrocket commands from the terminal inside JupyterLab. It would be a good idea to review the installation tutorial.


#5

thanks brian
that has fixed my problem