Hi, just getting started. It was suggested I look...
# hamilton-help
c
Hi, just getting started. It was suggested I look at Hamilton's user interface. I'm on Windows in a pretty restricted work environment. I've tried a number of things, but I get the same error message ("ui" is not recognized as an option). What am I doing wrong? <the code snippet feature won't work from my machine on our setup, pasting here.> PS C:\Users\ctrachte> C:\Users\ctrachte\AppData\Local\Programs\Python\Python312\python.exe -m hamilton.cli.main ui Usage: python -m hamilton.cli [OPTIONS] COMMAND [ARGS]... Try 'python -m hamilton.cli --help' for help. ╭─ Error ──────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │ No such command 'ui'.
e
Welcome! Just checking, which version of Hamilton are you using? What happens if you do
python -m hamilton.cli --help
?
t
it requires
sf-hamilton >=1.66.0
I believe
c
I'm not having any luck at the command line getting the version PS> hamilton version gives me a Missing argument: MODULES . . . error. This isn't critical to what I'm doing at the moment. I should probably shelve it for another time when I've got a bit more invested in the gui. Thanks for your help.
e
Sorry to hear! Ahh yeah, so
hamilton version
is a specific command — @Thierry Jean we may want to rethink this 😆 Here’s the right command to get the version
python3 -c "import hamilton; print(hamilton.__version__)"
Completely get that its not critical now, but if you decide you do want help, happy to hop on a call and help you figure it out or keep helping here!
👀 1
c
(1, 63, 0) yeah, I'm a version or two behind. Thanks so much for your help, Elijah. Well, what can I say? newb's gonna newb <slinking away sheepishly . . .>
e
Aha! That would do it. So yeah, if you have control (and the work env. isn’t too locked down),
pip install --upgrade sf-hamilton
should do it 🙂
c
Thank you, Elijah. I got the desktop UI to come up in the browser. I'm having some other issues with my virtual environment (I'm working off my main python 3.12 install on my laptop in the meantime), but I will broach that question another day. Thanks again.
👍 1
e
Great, yeah, virtual environments can be messy 😞
c
Thanks again for your help.
🫡 1
😁 1