# Waiting for wandb.init

**URL:** <https://community.wandb.ai/t/waiting-for-wandb-init/3658>\
**Category:** W&B Help\
**Tags:** wandb\
**Created:** [January 9, 2023, 6:43pm UTC](https://community.wandb.ai/t/waiting-for-wandb-init/3658 "2023-01-09T18:43:24Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![gammill-chance](https://avatars.discourse-cdn.com/v4/letter/g/8edcca/32.png) [@gammill-chance](https://community.wandb.ai/u/gammill-chance)\
**Post date:** [January 9, 2023, 6:43pm UTC](https://community.wandb.ai/t/waiting-for-wandb-init/3658/1 "2023-01-09T18:43:24Z")

</div>

Hi, the code ran 3 days agoand it worked, but after I changed some variables and it failed with: “wandb: W&B API key is configured. Use `wandb login --relogin` to force relogin wandb: - Waiting for wandb.init()…wandb: \ Waiting for wandb.init()…wandb: | Waiting for wandb.init()…wandb: / Waiting for wandb.init()…wandb: - Waiting for wandb.init()…Traceback (most recent call last):”. Now after I changed it back the error persists.

---

<div class="post-metadata">

**Author:** ![mohammadbakir](https://avatars.discourse-cdn.com/v4/letter/m/a9a28c/32.png) [@mohammadbakir](https://community.wandb.ai/u/mohammadbakir)\
**Post date:** [January 10, 2023, 12:26am UTC](https://community.wandb.ai/t/waiting-for-wandb-init/3658/2 "2023-01-10T00:26:11Z")

</div>

Hi @gammill-chance , happy to help. Could you expand a bit on your experiment setup and which arguments are you setting in `wandb.init()`, additionally:

- Does the output of `wandb status` correspond correctly to the `entity`,` host_url`, and is the api key set there correctly?
- Try deleting the `~/.netrc`file that stored your wandb login info and api key and relogin
- Uninstall/reinstall wandb

If the above doesn’t work please provide the `debug.log` and `debug-internal.log` files for the failing runs located in the wandb folder of your project directory and we will take a closer look.

---

<div class="post-metadata">

**Author:** ![gammill-chance](https://avatars.discourse-cdn.com/v4/letter/g/8edcca/32.png) [@gammill-chance](https://community.wandb.ai/u/gammill-chance)\
**Post date:** [January 10, 2023, 4:09pm UTC](https://community.wandb.ai/t/waiting-for-wandb-init/3658/3 "2023-01-10T16:09:54Z")

</div>

I am new to the Wandb coding, but for the init it is as follows,  
wandb.init (project=‘U-Net’,entity= ‘gammill-chance’, resume=‘allow’, anonymous=‘allow’, name= ‘check\_8’).  
I will add that when logging in to wandb in the command console the command wandb login key, has not been working, so instead I used wandb.login(). Additionally I did not know about wandb status and I decided to run the neural network without wandb for the time being, so I can respond to that hopefully on Friday. After that I will try what you suggested and I will get back to you when I know if it works. Thank you!

---

<div class="post-metadata">

**Author:** ![mohammadbakir](https://avatars.discourse-cdn.com/v4/letter/m/a9a28c/32.png) [@mohammadbakir](https://community.wandb.ai/u/mohammadbakir)\
**Post date:** [January 18, 2023, 8:05pm UTC](https://community.wandb.ai/t/waiting-for-wandb-init/3658/4 "2023-01-18T20:05:10Z")

</div>

Hi @gammill-chance , since we have not heard back from you we are going to close this request. If you would like to re-open the conversation, please let us know!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/wandb/original/1X/366b649231631dbab896843020da0056074ac79d.png) [@system](https://community.wandb.ai/u/system)\
**Post date:** [March 19, 2023, 8:05pm UTC](https://community.wandb.ai/t/waiting-for-wandb-init/3658/5 "2023-03-19T20:05:14Z")

</div>

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