Comments (25)
You can try this: https://medium.com/@robertbracco1/configuring-google-colab-like-a-pro-d61c253f7573
from blog-comments.
I'm unable to run this and getting this in my nohup.out file :-
warn vscode Unable to retrieve mac address (Error: Command failed: /sbin/ifconfig -a || /sbin/ip link
/bin/sh: 1: /sbin/ifconfig: not found
/bin/sh: 1: /sbin/ip: not found
)any help!! please
@activenikhilg Hi. I've updated the blog post with a section on the colab-code
package that Abhishek released recently. It automates the manual setup process you had to previously go through in this blog. Please look into the Approach 1
section.
from blog-comments.
@activenikhilg try this:
- start code server
- enter password
- get blank screen
- paste original url in the address bar. no slashes.
- done
from blog-comments.
@activenikhilg try this:
- start code server
- enter password
- get blank screen
- paste original url in the address bar. no slashes.
- done
Hi @abhishekkrthakur , thanks a lot, it worked.
from blog-comments.
Hi,
Thank you so much for such a great idea! My main issue was the notebook, now it has been solved.
I wonder, can we connect our local vscode to the ngrok? I have no idea about the efficiency, etc.
Thank you again.
from blog-comments.
Thank you for answering @gsajko
from blog-comments.
Does using this solve the runtime discontinuity on colab?
from blog-comments.
@pudasainishushant no it doesn't
from blog-comments.
Btw, @amitness , thank you for this tweak. I tried and this worked for me but suddenly this afternoon an ngrok error starting coming. Can you check ur tweak again?
Check out my nb here
https://colab.research.google.com/drive/1JpWNXAjucLhMb16zwilyuy1ddnLGjHOi?usp=sharing
from blog-comments.
@ucalyptus It's working again. Must have been some issue on Ngrok end.
from blog-comments.
Yes i checked. Thanks a lot
from blog-comments.
I'm unable to run this and getting this in my nohup.out file :-
warn vscode Unable to retrieve mac address (Error: Command failed: /sbin/ifconfig -a || /sbin/ip link
/bin/sh: 1: /sbin/ifconfig: not found
/bin/sh: 1: /sbin/ip: not found
)
any help!! please
from blog-comments.
I'm unable to run this and getting this in my nohup.out file :-
warn vscode Unable to retrieve mac address (Error: Command failed: /sbin/ifconfig -a || /sbin/ip link
/bin/sh: 1: /sbin/ifconfig: not found
/bin/sh: 1: /sbin/ip: not found
)
any help!! please@activenikhilg Hi. I've updated the blog post with a section on the
colab-code
package that Abhishek released recently. It automates the manual setup process you had to previously go through in this blog. Please look into theApproach 1
section.
Hello @amitness , I tried colabcode by @abhishekkrthakur but I'm still stuck there. I can reach till the password page but the editor just don't open (same as the manual process). And also there's no log file to see if the error is same or not.
from blog-comments.
Thank you @abhishekkrthakur for the help.
@activenikhilg Could you comment your browser/OS details as well? Also, if you're using Colab free or Colab pro. Might help to know the root cause.
Found it strange that you had to do this workaround. For me and many people, colab-code
is working well out of the box.
from blog-comments.
yeah. works fine for me too. this issue happens only when you have a password. does it work fine with password for you @amitness ?
from blog-comments.
Thank you @abhishekkrthakur for the help.
@activenikhilg Could you comment your browser/OS details as well? Also, if you're using Colab free or Colab pro. Might help to know the root cause.
Found it strange that you had to do this workaround. For me and many people,
colab-code
is working well out of the box.
@amitness its now working without the workaround and I have tested it with and without password.
I'm using Colab free on Windows 10 | chrome browser.
from blog-comments.
@abhishekkrthakur When I tried yesterday, it was working out of the box. Now that @activenikhilg mentioned it, I tried it again and faced the same problem. Had to refresh after the page clicking "login" to get into the editor.
The console logs show that the page failed to fetch some login.js
file from the Ngrok tunnel.
from blog-comments.
Getting the following error while opening the public url
from blog-comments.
@hiraksarkar Can you try again? I just tried it now and it worked.
Sometimes ngrok
is down and you might have faced the error due to that.
from blog-comments.
Unfortunately, when I try to debug my code the VS code just hangs.
from blog-comments.
Hi
I'm getting an error while trying to run the following code. Please help me figure out what is wrong. Thank You for your time
from colabcode import ColabCode
ColabCode()
error:
Traceback (most recent call last):
File "<pyshell#1>", line 1, in <module>
ColabCode()
File "C:\Users\as116\AppData\Local\Programs\Python\Python38\lib\site-packages\colabcode\code.py", line 42, in __init__
self._install_code()
File "C:\Users\as116\AppData\Local\Programs\Python\Python38\lib\site-packages\colabcode\code.py", line 49, in _install_code
subprocess.run(["wget", "https://code-server.dev/install.sh"], stdout=subprocess.PIPE)
File "C:\Users\as116\AppData\Local\Programs\Python\Python38\lib\subprocess.py", line 489, in run
with Popen(*popenargs, **kwargs) as process:
File "C:\Users\as116\AppData\Local\Programs\Python\Python38\lib\subprocess.py", line 854, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Users\as116\AppData\Local\Programs\Python\Python38\lib\subprocess.py", line 1307, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] The system cannot find the file specified
from blog-comments.
@Adrg01 It looks like you're trying to run it locally and that too on Windows. It won't work since the tool is created to leverage Linux utilities like wget
. Please run it on colab and it should work.
from blog-comments.
Hey I can't open the code-server page. When I clicked the link in colab, there is a welcome to ngrok page asking me to install ngrok. I installed ngrok and start the agent with the correct port number. However, everytime I click the link, it's still the welcome to ngrok page. @amitness
from blog-comments.
When I tried to running the notebook you provided on Colab, I got the warning:
The code you are executing may not be allowed, which may restrict your use of Colab later. Note the forbidden actions listed in our FAQ.
Is this mean it's not safe to use this solution on Colab?
from blog-comments.
@Wallfacer005CN Yes, google banned the package because of terms of service violation. So, it's not safe since they may ban your colab account.
from blog-comments.
Related Issues (20)
- 2020/06/google-colaboratory-tips/ HOT 6
- 2020/06/fastapi-vs-flask/ HOT 17
- 2020/03/illustrated-simclr/ HOT 32
- 2020/08/information-retrieval-evaluation/ HOT 6
- 2020/06/fasttext-embeddings/ HOT 8
- 2020/02/tensorflow-hub-for-transfer-learning/
- 2020/02/albert-visual-summary/ HOT 3
- keyphrase-extraction/ HOT 1
- knowledge-transfer/ HOT 7
- 2020/03/fixmatch-semi-supervised/ HOT 5
- interactive-sentence-embeddings/ HOT 2
- 2019/12/migrating-to-pathlib/ HOT 3
- 2020/07/semi-supervised-learning/ HOT 6
- 2020/04/deepcluster/ HOT 7
- regex/ HOT 6
- 2020/03/illustrated-pirl/ HOT 1
- 2018/10/django-orm-for-sql-users/ HOT 2
- 2020/04/illustrated-self-labelling/ HOT 4
- 2019/03/automate-ssh-commands/ HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blog-comments.