# Unable to login

**URL:** <https://community.wandb.ai/t/unable-to-login/4335>\
**Category:** W&B Help\
**Tags:** wandb\
**Created:** [May 3, 2023, 8:51pm UTC](https://community.wandb.ai/t/unable-to-login/4335 "2023-05-03T20:51:16Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![asking28](https://avatars.discourse-cdn.com/v4/letter/a/e99b99/32.png) [@asking28](https://community.wandb.ai/u/asking28)\
**Post date:** [May 3, 2023, 8:51pm UTC](https://community.wandb.ai/t/unable-to-login/4335/1 "2023-05-03T20:51:16Z")

</div>

I am unable to login to wandb init. This is the error code:

```auto
wandb.init()
Traceback (most recent call last):
  File "/opt/conda/lib/python3.7/runpy.py", line 193, in _run_module_as_main
    " __main__", mod_spec)
  File "/opt/conda/lib/python3.7/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/opt/conda/lib/python3.7/site-packages/wandb/ __main__.py", line 1, in <module>
    from wandb.cli import cli
  File "/opt/conda/lib/python3.7/site-packages/wandb/cli/cli.py", line 932, in <module>
    @display_error
  File "/opt/conda/lib/python3.7/site-packages/click/core.py", line 1234, in decorator
    cmd = command(*args, **kwargs)(f)
  File "/opt/conda/lib/python3.7/site-packages/click/decorators.py", line 115, in decorator
    cmd = _make_command(f, name, attrs, cls)
  File "/opt/conda/lib/python3.7/site-packages/click/decorators.py", line 89, in _make_command
    callback=f, params=params, **attrs)
TypeError: __init__ () got an unexpected keyword argument 'no_args_is_help'
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/opt/conda/lib/python3.7/site-packages/wandb/sdk/wandb_init.py", line 1169, in init
    raise e
  File "/opt/conda/lib/python3.7/site-packages/wandb/sdk/wandb_init.py", line 1146, in init
    wi.setup(kwargs)
  File "/opt/conda/lib/python3.7/site-packages/wandb/sdk/wandb_init.py", line 172, in setup
    self._wl = wandb_setup.setup(settings=setup_settings)
  File "/opt/conda/lib/python3.7/site-packages/wandb/sdk/wandb_setup.py", line 327, in setup
    ret = _setup(settings=settings)
  File "/opt/conda/lib/python3.7/site-packages/wandb/sdk/wandb_setup.py", line 320, in _setup
    wl = _WandbSetup(settings=settings)
  File "/opt/conda/lib/python3.7/site-packages/wandb/sdk/wandb_setup.py", line 303, in __init__
    _WandbSetup._instance = _WandbSetup__WandbSetup(settings=settings, pid=pid)
  File "/opt/conda/lib/python3.7/site-packages/wandb/sdk/wandb_setup.py", line 114, in __init__
    self._setup()
  File "/opt/conda/lib/python3.7/site-packages/wandb/sdk/wandb_setup.py", line 250, in _setup
    self._setup_manager()
  File "/opt/conda/lib/python3.7/site-packages/wandb/sdk/wandb_setup.py", line 277, in _setup_manager
    self._manager = wandb_manager._Manager(settings=self._settings)
  File "/opt/conda/lib/python3.7/site-packages/wandb/sdk/wandb_manager.py", line 145, in __init__
    self._service.start()
  File "/opt/conda/lib/python3.7/site-packages/wandb/sdk/service/service.py", line 199, in start
    self._launch_server()
  File "/opt/conda/lib/python3.7/site-packages/wandb/sdk/service/service.py", line 193, in _launch_server
    _sentry.reraise(e)
  File "/opt/conda/lib/python3.7/site-packages/wandb/analytics/sentry.py", line 146, in reraise
    raise exc.with_traceback(sys.exc_info()[2])
  File "/opt/conda/lib/python3.7/site-packages/wandb/sdk/service/service.py", line 191, in _launch_server
    self._wait_for_ports(fname, proc=internal_proc)
  File "/opt/conda/lib/python3.7/site-packages/wandb/sdk/service/service.py", line 121, in _wait_for_ports
    context=context,
wandb.sdk.service.service.ServiceStartProcessError: The wandb service process exited with 1. Ensure that `sys.executable` is a valid python interpreter. You can override it with the `_executable` setting or with the `WANDB__EXECUTABLE` environmentvariable.

```

---

<div class="post-metadata">

**Author:** ![thanos-wandb](https://avatars.discourse-cdn.com/v4/letter/t/4af34b/32.png) [@thanos-wandb](https://community.wandb.ai/u/thanos-wandb)\
**Post date:** [May 5, 2023, 1:15pm UTC](https://community.wandb.ai/t/unable-to-login/4335/2 "2023-05-05T13:15:31Z")

</div>

Hi @asking28 thanks for reporting this issue. From the stack trace error it appears it won’t find a python interpreter in your environment. What’s the output of these:

```auto
import sys
print(sys.executable)

```

Could you please also provide some more information, what’s your current wandb client/SDK version? and where are you running this script? What happens if you call `wandb.login()`?

---

<div class="post-metadata">

**Author:** ![anisha-mazumder](https://avatars.discourse-cdn.com/v4/letter/a/ac8455/32.png) [@anisha-mazumder](https://community.wandb.ai/u/anisha-mazumder)\
**Post date:** [May 5, 2023, 9:18pm UTC](https://community.wandb.ai/t/unable-to-login/4335/3 "2023-05-05T21:18:31Z")

</div>

I am having a similar issue with the latest 0.15.1 version of wandb.  
Installing 0.15.0 works fine.

`sys.executable` for me is `/usr/bin/python3`

---

<div class="post-metadata">

**Author:** ![asking28](https://avatars.discourse-cdn.com/v4/letter/a/e99b99/32.png) [@asking28](https://community.wandb.ai/u/asking28)\
**Post date:** [May 5, 2023, 10:17pm UTC](https://community.wandb.ai/t/unable-to-login/4335/4 "2023-05-05T22:17:46Z")

</div>

Its same as @anisha-mazumder

---

<div class="post-metadata">

**Author:** ![asking28](https://avatars.discourse-cdn.com/v4/letter/a/e99b99/32.png) [@asking28](https://community.wandb.ai/u/asking28)\
**Post date:** [May 5, 2023, 10:19pm UTC](https://community.wandb.ai/t/unable-to-login/4335/5 "2023-05-05T22:19:37Z")

</div>

Thanks @anisha-mazumder this solutions works for me as well.

---

<div class="post-metadata">

**Author:** ![thanos-wandb](https://avatars.discourse-cdn.com/v4/letter/t/4af34b/32.png) [@thanos-wandb](https://community.wandb.ai/u/thanos-wandb)\
**Post date:** [May 10, 2023, 1:07pm UTC](https://community.wandb.ai/t/unable-to-login/4335/6 "2023-05-10T13:07:04Z")

</div>

Hi @asking28 @anisha-mazumder could you please provide us with more information to help us find the root cause. What’s your current training infrastructure and would you still receive this error after exporting the environment variable `WANDB__EXECUTABLE` to your Python’s binary path?

---

<div class="post-metadata">

**Author:** ![thanos-wandb](https://avatars.discourse-cdn.com/v4/letter/t/4af34b/32.png) [@thanos-wandb](https://community.wandb.ai/u/thanos-wandb)\
**Post date:** [May 15, 2023, 5:18pm UTC](https://community.wandb.ai/t/unable-to-login/4335/7 "2023-05-15T17:18:16Z")

</div>

Hi @asking28 just checking in here to see if you could provide us further information about your compute infra, and if you could create a new conda virtual environment to install there our latest wandb version and test if you’re still getting this error? Thank you!

---

<div class="post-metadata">

**Author:** ![asking28](https://avatars.discourse-cdn.com/v4/letter/a/e99b99/32.png) [@asking28](https://community.wandb.ai/u/asking28)\
**Post date:** [May 16, 2023, 2:15am UTC](https://community.wandb.ai/t/unable-to-login/4335/8 "2023-05-16T02:15:20Z")

</div>

The same config does not work with 0.15.1 or 0.15.2  
OS

Linux-5.4.0-148-generic-x86\_64-with-debian-buster-sid

Python version

3.7.3

Python executable

/opt/conda/bin/python

System Hardware

| CPU count | 24 |
| --- | --- |
| GPU count | 1 |
| GPU type | NVIDIA RTX A6000 |

W&B CLI Version

0.15.0

---

<div class="post-metadata">

**Author:** ![thanos-wandb](https://avatars.discourse-cdn.com/v4/letter/t/4af34b/32.png) [@thanos-wandb](https://community.wandb.ai/u/thanos-wandb)\
**Post date:** [May 19, 2023, 11:29am UTC](https://community.wandb.ai/t/unable-to-login/4335/9 "2023-05-19T11:29:10Z")

</div>

Hi @asking28 thanks for the additional information, I have installed the same Linux version in a VM and wasn’t able to reproduce this issue. It might be related with a conflict with your other packages installed in your conda virtual environment. Could you please send us this file with all your dependencies:  
`conda list --explicit > requirements.txt`

Also, can you please try to create a new virtual environment and `pip install wandb` only, would you run into the same issue there as well?

---

<div class="post-metadata">

**Author:** ![arnadu](https://avatars.discourse-cdn.com/v4/letter/a/ad7895/32.png) [@arnadu](https://community.wandb.ai/u/arnadu)\
**Post date:** [May 21, 2023, 8:11pm UTC](https://community.wandb.ai/t/unable-to-login/4335/10 "2023-05-21T20:11:53Z")

</div>

hi - I am having similar difficulties with the cloud VM’s from Lambda Labs. Downgrading with pip install wandb==0.15.0 allows me to login, but init() fails with  
Traceback (most recent call last):  
File “/home/ubuntu/.local/lib/python3.8/site-packages/wandb/sdk/internal/internal\_util.py”, line 49, in run  
self.\_run()  
File “/home/ubuntu/.local/lib/python3.8/site-packages/wandb/sdk/internal/internal\_util.py”, line 100, in \_run  
self.\_process(record)  
File “/home/ubuntu/.local/lib/python3.8/site-packages/wandb/sdk/internal/internal.py”, line 279, in \_process  
self.\_hm.handle(record)  
File “/home/ubuntu/.local/lib/python3.8/site-packages/wandb/sdk/internal/handler.py”, line 136, in handle  
handler(record)  
File “/home/ubuntu/.local/lib/python3.8/site-packages/wandb/sdk/internal/handler.py”, line 146, in handle\_request  
handler(record)  
File “/home/ubuntu/.local/lib/python3.8/site-packages/wandb/sdk/internal/handler.py”, line 699, in handle\_request\_run\_start  
self.\_tb\_watcher = tb\_watcher.TBWatcher(  
File “/home/ubuntu/.local/lib/python3.8/site-packages/wandb/sdk/internal/tb\_watcher.py”, line 118, in **init**  
wandb.tensorboard.reset\_state()  
File “/home/ubuntu/.local/lib/python3.8/site-packages/wandb/sdk/lib/lazyloader.py”, line 58, in **getattr**  
module = self.\_load()  
File “/home/ubuntu/.local/lib/python3.8/site-packages/wandb/sdk/lib/lazyloader.py”, line 33, in \_load  
module = importlib.import\_module(self. **name** )  
File “/usr/lib/python3.8/importlib/ **init**.py”, line 127, in import\_module  
return \_bootstrap.\_gcd\_import(name[level:], package, level)  
File “”, line 1014, in \_gcd\_import  
File “”, line 991, in \_find\_and\_load  
File “”, line 975, in \_find\_and\_load\_unlocked  
File “”, line 671, in \_load\_unlocked  
File “”, line 848, in exec\_module  
File “”, line 219, in \_call\_with\_frames\_removed  
File “/home/ubuntu/.local/lib/python3.8/site-packages/wandb/integration/tensorboard/ **init**.py”, line 3, in   
from .log import \_log, log, reset\_state, tf\_summary\_to\_dict # noqa: F401  
File “/home/ubuntu/.local/lib/python3.8/site-packages/wandb/integration/tensorboard/log.py”, line 35, in   
Summary = pb.Summary if pb else None  
File “/usr/lib/python3.8/importlib/util.py”, line 245, in **getattribute**  
self. **spec**.loader.exec\_module(self)  
File “/usr/lib/python3/dist-packages/tensorboard/compat/proto/summary\_pb2.py”, line 15, in   
from tensorboard.compat.proto import histogram\_pb2 as tensorboard\_dot\_compat\_dot\_proto\_dot\_histogram\_\_pb2  
File “/usr/lib/python3/dist-packages/tensorboard/compat/proto/histogram\_pb2.py”, line 34, in   
\_descriptor.FieldDescriptor(  
File “/home/ubuntu/.local/lib/python3.8/site-packages/google/protobuf/descriptor.py”, line 561, in **new**  
\_message.Message.\_CheckCalledFromGeneratedFile()  
TypeError: Descriptors cannot not be created directly.  
If this call came from a \_pb2.py file, your generated code is out of date and must be regenerated with protoc \>= 3.19.0.  
If you cannot immediately regenerate your protos, some other possible workarounds are:

1. Downgrade the protobuf package to 3.20.x or lower.
2. Set PROTOCOL\_BUFFERS\_PYTHON\_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).

More information: [Changes made on May 6, 2022 | Protocol Buffers Documentation](https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates)  
wandb: ERROR Internal wandb error: file data was not synced  
Problem at: transformer\_singleGPU.py 74   
wandb: ERROR transport failed  
Traceback (most recent call last):  
File “transformer\_singleGPU.py”, line 74, in   
wandb.init(project=wandb\_project, name=wandb\_run\_name, config=config)  
File “/home/ubuntu/.local/lib/python3.8/site-packages/wandb/sdk/wandb\_init.py”, line 1164, in init  
raise e  
File “/home/ubuntu/.local/lib/python3.8/site-packages/wandb/sdk/wandb\_init.py”, line 1145, in init  
run = wi.init()  
File “/home/ubuntu/.local/lib/python3.8/site-packages/wandb/sdk/wandb\_init.py”, line 794, in init  
run\_start\_result = run\_start\_handle.wait(timeout=30)  
File “/home/ubuntu/.local/lib/python3.8/site-packages/wandb/sdk/lib/mailbox.py”, line 281, in wait  
raise MailboxError(“transport failed”)  
wandb.sdk.lib.mailbox.MailboxError: transport failed  
Traceback (most recent call last):  
File “transformer\_singleGPU.py”, line 74, in   
wandb.init(project=wandb\_project, name=wandb\_run\_name, config=config)  
File “/home/ubuntu/.local/lib/python3.8/site-packages/wandb/sdk/wandb\_init.py”, line 1164, in init  
raise e  
File “/home/ubuntu/.local/lib/python3.8/site-packages/wandb/sdk/wandb\_init.py”, line 1145, in init  
run = wi.init()  
File “/home/ubuntu/.local/lib/python3.8/site-packages/wandb/sdk/wandb\_init.py”, line 794, in init  
run\_start\_result = run\_start\_handle.wait(timeout=30)  
File “/home/ubuntu/.local/lib/python3.8/site-packages/wandb/sdk/lib/mailbox.py”, line 281, in wait  
raise MailboxError(“transport failed”)  
wandb.sdk.lib.mailbox.MailboxError: transport failed  
wandb: While tearing down the service manager. The following error has occurred: [Errno 32] Broken pipe

---

<div class="post-metadata">

**Author:** ![thanos-wandb](https://avatars.discourse-cdn.com/v4/letter/t/4af34b/32.png) [@thanos-wandb](https://community.wandb.ai/u/thanos-wandb)\
**Post date:** [May 24, 2023, 2:15pm UTC](https://community.wandb.ai/t/unable-to-login/4335/11 "2023-05-24T14:15:24Z")

</div>

Hi @arnadu thanks for reporting this issue in Lambda, the team is aware of that case and have created a [PR here](https://github.com/wandb/wandb/pull/5083) which is currently merged on main branch but not yet in a release. However, this PR shouldn’t be necessary if you’re specifying all WANDB\_ environment variables ([here’s how to configure these](https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html)). I hope this helps, and I will also keep you posted here once we release our next client/SDK version.

---

<div class="post-metadata">

**Author:** ![andravin](https://avatars.discourse-cdn.com/v4/letter/a/9dc877/32.png) [@andravin](https://community.wandb.ai/u/andravin)\
**Post date:** [June 12, 2023, 8:37pm UTC](https://community.wandb.ai/t/unable-to-login/4335/12 "2023-06-12T20:37:55Z")

</div>

I experienced the same error with wandb 0.15.4. Upgrading the “click” module to the latest version fixed it for me.

---

<div class="post-metadata">

**Author:** ![andravin](https://avatars.discourse-cdn.com/v4/letter/a/9dc877/32.png) [@andravin](https://community.wandb.ai/u/andravin)\
**Post date:** [June 13, 2023, 9:25pm UTC](https://community.wandb.ai/t/unable-to-login/4335/13 "2023-06-13T21:25:55Z")

</div>

To be clear, the error is the one reported by the OP, which is in the `click` module:

```auto
File "/opt/conda/lib/python3.7/site-packages/click/decorators.py", line 89, in _make_command
    callback=f, params=params, **attrs)
TypeError: __init__ () got an unexpected keyword argument 'no_args_is_help'

```

---

<div class="post-metadata">

**Author:** ![henrique](https://avatars.discourse-cdn.com/v4/letter/h/ecb155/32.png) [@henrique](https://community.wandb.ai/u/henrique)\
**Post date:** [June 28, 2023, 12:55pm UTC](https://community.wandb.ai/t/unable-to-login/4335/14 "2023-06-28T12:55:21Z")

</div>

indeed `pip install -U click` solved it for me on py36, upgrading click v7 to 8.0.4

---

<div class="post-metadata">

**Author:** ![yuzhu](https://sea2.discourse-cdn.com/flex020/user_avatar/community.wandb.ai/yuzhu/32/1385_2.png) [@yuzhu](https://community.wandb.ai/u/yuzhu)\
**Post date:** [July 2, 2023, 8:28am UTC](https://community.wandb.ai/t/unable-to-login/4335/15 "2023-07-02T08:28:28Z")

</div>

As mentioned by @henrique and @andravin, updating with `pip install -U click` fix the issue.

---

<div class="post-metadata">

**Author:** ![thanos-wandb](https://avatars.discourse-cdn.com/v4/letter/t/4af34b/32.png) [@thanos-wandb](https://community.wandb.ai/u/thanos-wandb)\
**Post date:** [July 7, 2023, 9:08am UTC](https://community.wandb.ai/t/unable-to-login/4335/16 "2023-07-07T09:08:29Z")

</div>

Thanks everyone @here for reporting this issue! We have addressed this in our most recent wandb version `v0.15.5` ([release notes](https://github.com/wandb/wandb/releases/tag/v0.15.5), and relative [PR](https://github.com/wandb/wandb/pull/5738)). Please let us know if you’re still experiencing any issue with this, and we will be happy to keep investigating.

---

<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:** [September 5, 2023, 9:08am UTC](https://community.wandb.ai/t/unable-to-login/4335/17 "2023-09-05T09:08:48Z")

</div>

Closed on September 5, 2023, 9:08am UTC

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