Unable to initialise wandb on Colab even after setting up login and project name

On python3.8 , and using wandb==0.9.7, on google Colab
I am getting this error

Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/wandb/sdk/wandb_init.py", line 1105, in init
  File "/usr/local/lib/python3.8/site-packages/wandb/sdk/wandb_init.py", line 167, in setup
  File "/usr/local/lib/python3.8/site-packages/wandb/sdk/wandb_setup.py", line 307, in setup
  File "/usr/local/lib/python3.8/site-packages/wandb/sdk/wandb_setup.py", line 302, in _setup
  File "/usr/local/lib/python3.8/site-packages/wandb/sdk/wandb_setup.py", line 288, in __init__
  File "/usr/local/lib/python3.8/site-packages/wandb/sdk/wandb_setup.py", line 106, in __init__
  File "/usr/local/lib/python3.8/site-packages/wandb/sdk/wandb_setup.py", line 234, in _setup
  File "/usr/local/lib/python3.8/site-packages/wandb/sdk/wandb_setup.py", line 262, in _setup_manager
  File "/usr/local/lib/python3.8/site-packages/wandb/sdk/wandb_manager.py", line 112, in __init__
  File "/usr/local/lib/python3.8/site-packages/wandb/sdk/service/service.py", line 137, in start
  File "/usr/local/lib/python3.8/site-packages/wandb/sdk/service/service.py", line 132, in _launch_server
AssertionError
wandb: ERROR Abnormal program exit
proc exited with 1

Hi @romajain thanks for reporting this issue. Could you please provide more details, such as a code snippet of the lines where it fails, or other packages you’ve installed? Is there any reason you’re using wandb v0.9.7? It would be recommended that you upgrade to the most recent (currently 0.13.9) as it includes many bug fixes and features since then. You can upgrade with pip install --upgrade wandb.

Hi @romajain just checking in here to see if that issue still occurs for you or if you’ve upgraded to a newer version? could you please provide any additional information to help us understand what’s causing this issue? thanks!

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.