Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kaggle has started banning colabcode juypterlab #110

Open
kuro7766 opened this issue Jun 22, 2022 · 5 comments
Open

Kaggle has started banning colabcode juypterlab #110

kuro7766 opened this issue Jun 22, 2022 · 5 comments

Comments

@kuro7766
Copy link

It seems that kaggle also starts to ban colabcode juypterlab. Notebook kernel will shutdown when installing jupyter related pip dependencies.

@JapinderSandhu
Copy link

Damn. My research has come to a COMPLETE stop because of this. I was really hoping this wasn't the case. I am facing the same issue from the last 3 days. This is very sad. My whole research depends on this library !!!

Using colabcode was a huge pivotal moment in my AI research. Using kaggle cells sucks!! I cant create production level code using kaggle cells.

Any other workaround?

I think there may be an alternative method using VS Code containers?
here: https://towardsdatascience.com/how-to-kaggle-the-engineer-way-act-1-vs-code-containers-b3279970c029
here: https://code.visualstudio.com/docs/remote/containers

@hongvin
Copy link

hongvin commented Aug 4, 2022

I solved it with code-server and pyngrok

  1. Install Code-server
!curl -fsSL https://code-server.dev/install.sh | sh
  1. Install pyngrok & get the tunnel URL (you can't run background process in kaggle)
!pip install pyngrok
  1. Input ngrok auth token and get tunnel http 80.
from pyngrok import conf, ngrok

conf.get_default().auth_token = "<YOUR TOKEN>"

http_tunnel = ngrok.connect()
ssh_tunnel = ngrok.connect(80, "http")
  1. Get the tunnel URL
from pyngrok import ngrok

# [<NgrokTunnel: "http://<public_sub>.ngrok.io" -> "http://localhost:80">]
tunnels = ngrok.get_tunnels()
tunnels
  1. Get code-server default password
!cat  ~/.config/code-server/config.yaml
  1. run code-server
!code-server --port 80

Hopefully this workaround will work for a while.

@sb0210
Copy link

sb0210 commented Apr 21, 2023

Does this work still?

@jlower
Copy link

jlower commented Jul 9, 2023

Does this work still?

this still work , thanks/🥰

@ucalyptus2
Copy link

@hongvin you are a hero, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants