question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

wandb: ERROR To use wandb on Windows, you need to run the command "wandb run python <your_train_script>.py"

See original GitHub issue

wandb --version && python --version && uname

  • Weights and Biases version: 0.8.10
  • Python version: 3.6.4
  • Operating System: Windows 8

Description

I want first at all run the sample file: https://github.com/wandb/tutorial/blob/master/tutorial.py, but it fails when running code line: wandb.init(project=“sample-project”)

What I Did

I installed the packages for wandb. And then I run the code file mentioned above on my Windows 8 machine.

Paste the command(s) you ran and the output.
If there was a crash, please include the traceback here.

I just ran the file tutorial.py with python: python tutorial.py But I am getting the following error message: wandb: ERROR To use wandb on Windows, you need to run the command "wandb run python <your_train_script>.py"

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:13 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
raubitsjcommented, Sep 18, 2019

What happens when you run: wandb run python tutorial.py

That is the only supported way to use wandb with windows.

2reactions
vanpeltcommented, Oct 14, 2019

Hey @TKassis it should work fine in jupyter. @MbProg we’re going to push a new version of the cli this week that removes the requirement for wandb run on windows and fixes the error above. If you would like to try it now you can install with pip install --upgrade git+git://github.com/wandb/client.git@feature/windows_no_run#egg=wandb

Read more comments on GitHub >

github_iconTop Results From Across the Web

ERROR To use wandb on Windows, you need to run ... - GitHub
wandb : ERROR To use wandb on Windows, you need to run the command "wandb run python <your_train_script>.py" #560.
Read more >
Every wandb command yields "An error occured in ...
I have a user on a multi-user server whose wandb installation appears to be broken. I have forced him to reinstall with python3...
Read more >
wandb-ng - PyPI
Run wandb login from your terminal to signup or authenticate your machine (we store your api key in ~/.netrc). You can also set...
Read more >
Weights and Biases: Login and network errors - Stack Overflow
This error happens when I use the command: wandb login host=https://api.wandb.ai I have tried to delete the .netrc file where the api settings ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found