Can’t find kaggle.json file in google colab

According to kaggle api documentation the location where credentials json is looking for is ~/.kaggle/kaggle.json as google colab environment is Linux based. In your snippet you try to config path parameter, but it is not used to looking for credential json: – path: Folder where file(s) will be downloaded, defaults to current working directory So … Read more

How can I run shell (terminal) in Google Colab?

You can use jQuery Terminal Emulator backed with google.colab.kernel.invokeFunction Here’s an example notebook. The key part is here, where you back it with shell function. def shell(command): return JSON([getoutput(command)]) output.register_callback(‘shell’, shell) And here’s how you use invokeFunction: try { let res = await google.colab.kernel.invokeFunction(‘shell’, [command]) let out = res.data[‘application/json’][0] this.echo(new String(out)) } catch(e) { this.error(new … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)