aim
aim copied to clipboard
Aim UI can't open within Jupyterlab notebook
trafficstars
🐛 Bug
In Jupyter Notebook, I can't open AimUI.
To reproduce
After %aim init and %load_ext aim, %aim up comes to a error:
Launching Aim ...
Error: No such option: --force-init
Environment
- Aim 3.19.1
- Python 3.10.8
- pip 22.3.1
- Ubuntu 22.04
- ipykernel 6.28.0
- jupyterlab 4.0.10
Additional context
I find this problem related with https://github.com/aimhubio/aim/issues/2672 and hasn't been resolved for a while.
same issue
aim version v3.19.3
I'm not familiar with the internals of aim, but in https://github.com/aimhubio/aim/blob/main/aim/cli/manager/manager.py#L54, the addition of the --force-init flag seems to be causing an issue. That flag no longer exists and looks like it was removed in https://github.com/aimhubio/aim/commit/3373cbbea1f9d213c3113fdaea2d2b16951dfe2b back in February.