Great vid and like the speed you are maintaining in this walkthrough. It helped me solve the issue with connecting Jupy NB to VSCode and I didn't need to watch the whole vid for that!. Thnx
Thanks! This was very helpful! Only issue I had when following your instructions was I had to use conda instead of pip to install ipykernel. Otherwise, the terminal kept telling me "No module found" when I tried to create a new kernel even though ipykernel was on my pip list.
Ah yes I did not address that. If you use conda as your package manager - you would want to call that little guy to do the installs instead of mr. pip 🕵️♀️ pip probably installed ipykernel in a different directory (aka “PATH”) so your python interpreter wasn’t finding it when looking in its usual place
i dont think so. you should be able to treat it like you treat a 'venv'. meaning that you can setup a jupyter kernel, and a jupyter venv, and whenever you make a new PROJECT you can use those. they dont have to exist IN the project folder. is that what you were asking?
I did all right w/ Devin's step-by-step. My VSC keeps shutting down my brand new created kernel, over and over...it's been three days I just can't move forward. It works in Jupyter page but it doesn't in VSC. Please help me!
I am unable to select the kernel i created within virtual environment because I have an arm64 cpu, is there a different way to create a kernel in that case ?
is that the Mac chip? i have it too. what are you using? pip in VS code? what version of python? python -m venv .venv && source .venv/bin/activate && which python ^ run that in a new proj and LMK
try again. post more error info. you can literally do this even faster like this: 1. open brand new project 2. create virtual environment: python3 -m venv .venv && source .venv/bin/activate 3. create a jupyter notebook (cmd+N > save > name it whatever.ipynb) 4. make a code block in the notebook and add something like: !pip install requests 5. click the PLAY button, and vs code should prompt you to select your environment, and then prompt you to install a new kernel. 6. done
the command is 'code'. so you can 'cd' into your project directory and then type $ code . the '.' indicates "current directory" so it will open that directory you are in, in vscode. alternatively you can pass it a directory path, like $ code ~/projects/hamburger-automator and it will open your hamburger-automator program in VS Code.
@@devinschumacher thanks sir I have another issue can you help me out, when I run my GRU model to train 100 epochs but after executing 10 or 11 epochs it automatically reconnecting to kernel is it error or some code roblem
In the future, "please" minimize your face screen to a smaller size so we can "see more" of and focus 'better' on actual, larger content. That helps us out a lot more...
@@devinschumacher Sorry but I did not miss any. I just stopped. Whenever I see a video where the host/narrator seems to have the need to do constant appearance (face time), taking up a large chunk of screen space - it just becomes very distracting and I move on to another less distracting video. I'm of the folks that prefer seeing the content versus the narrator. That was it. Simply a preference that many have but just do not voice. Happy trails to you.
interesting. well i make sure that the talking head doesn't block info -- so you missed out! alot of people prefer it because the distraction lets their attention span focus for longer
even after installing the app extension on vscode, I needed to explicitly install on the activated env >>>pip install jupyter then run >>>jupyter notebook and everything else worked
I think they made it even easier to deal with with the latest updates to VSCODE. @@LauraLouise-uz7qp and if it ever gets stuck i just delete my `venv` and remake a new one
Great vid and like the speed you are maintaining in this walkthrough. It helped me solve the issue with connecting Jupy NB to VSCode and I didn't need to watch the whole vid for that!. Thnx
Thank youuuu so much😭😭😭 I was having a lot of trouble with the ipykernel
Great walkthrough, I appreciate the step-by-step guide. Keep up the good work!
TY. if you have any special requests, LMK in the comments ill whip it up!
Thanks! Move videos like this. You have a nice sense of humor
thanks! more coming soon :)
Thanks mate! I will tell this to my mom.
haha YES dude!! 😂
Haha... you really funny Devin. Big thanks by the way
Thanks kabir!
This was helpful~ How do I see the cool breadcrumb banner like you have?
breadcrumb banner...?? are you talking about the command prompt file path thing?
@@devinschumacher I'm talking about when you're in the terminal like at 1:05 and it shows the path like development/videos/vsodevideo
ah. that is something called Powerlevel10k - github.com/romkatv/powerlevel10k
Thank you so much!! This was very helpful!
Thanks! This was very helpful! Only issue I had when following your instructions was I had to use conda instead of pip to install ipykernel. Otherwise, the terminal kept telling me "No module found" when I tried to create a new kernel even though ipykernel was on my pip list.
Ah yes I did not address that. If you use conda as your package manager - you would want to call that little guy to do the installs instead of mr. pip 🕵️♀️
pip probably installed ipykernel in a different directory (aka “PATH”) so your python interpreter wasn’t finding it when looking in its usual place
What is your vs code theme
i dont remember i change it all the time.... maybe Tomorrow Night Blue ??
@@devinschumacher thanks for your kind response
Thank you!
Which terminal is that? I like it!
zsh using Powershell 10k - github.com/romkatv/powerlevel10k
I have one question, you need to do all these steps for every new environment that you create for using jupyter notebooks on VScode??
i dont think so. you should be able to treat it like you treat a 'venv'. meaning that you can setup a jupyter kernel, and a jupyter venv, and whenever you make a new PROJECT you can use those. they dont have to exist IN the project folder.
is that what you were asking?
I did all right w/ Devin's step-by-step. My VSC keeps shutting down my brand new created kernel, over and over...it's been three days I just can't move forward. It works in Jupyter page but it doesn't in VSC. Please help me!
jump in discord and ill help you troubleshoot it! hard to say just with that description though if i cant re-create it -- serp.ly/discord
New sub. this was a great video> I think you're going to get big
I am unable to select the kernel i created within virtual environment because I have an arm64 cpu, is there a different way to create a kernel in that case ?
is that the Mac chip? i have it too. what are you using? pip in VS code? what version of python?
python -m venv .venv && source .venv/bin/activate && which python
^ run that in a new proj and LMK
Step 3 doesn't work for me. It gives me a resolution error
try again. post more error info.
you can literally do this even faster like this:
1. open brand new project
2. create virtual environment: python3 -m venv .venv && source .venv/bin/activate
3. create a jupyter notebook (cmd+N > save > name it whatever.ipynb)
4. make a code block in the notebook and add something like: !pip install requests
5. click the PLAY button, and vs code should prompt you to select your environment, and then prompt you to install a new kernel.
6. done
Super helpful!
Glad it was helpful!
you fixed an issue in my vscode where my jupyter notebook was not detecting a kernel!
that's the same issue that made it go figure this all out in the first place. well done!
"you lazy son of ..."- was so damn funny:)
6:28
i forget i say these things haha 😂
I keep getting the error " No module named ipykernel_launcher." I tired uninstalling and reinstalling ipykernel but it doesn't work.
drop a loom video link showing me what youre seeing and ill try to help you out
how you open vs code through terminal I can't do it
the command is 'code'. so you can 'cd' into your project directory and then type $ code .
the '.' indicates "current directory" so it will open that directory you are in, in vscode.
alternatively you can pass it a directory path, like $ code ~/projects/hamburger-automator
and it will open your hamburger-automator program in VS Code.
@@devinschumacher thanks sir
I have another issue can you help me out, when I run my GRU model to train 100 epochs but after executing 10 or 11 epochs it automatically reconnecting to kernel is it error or some code roblem
The problem is .. vscode doesn't show the file system of remote server in remote kernel mode.
why is that a problem? slash.. what are you talking about?
In the future, "please" minimize your face screen to a smaller size so we can "see more" of and focus 'better' on actual, larger content.
That helps us out a lot more...
what part did you miss?
@@devinschumacher
Sorry but I did not miss any. I just stopped.
Whenever I see a video where the host/narrator seems to have the need to do constant appearance (face time), taking up a large chunk of screen space - it just becomes very distracting and I move on to another less distracting video.
I'm of the folks that prefer seeing the content versus the narrator.
That was it. Simply a preference that many have but just do not voice.
Happy trails to you.
interesting. well i make sure that the talking head doesn't block info -- so you missed out!
alot of people prefer it because the distraction lets their attention span focus for longer
doesn't work with python 3.12, will rely with 3.11 and come back
even after installing the app extension on vscode, I needed to explicitly install on the activated env
>>>pip install jupyter
then run
>>>jupyter notebook
and everything else worked
I think they made it even easier to deal with with the latest updates to VSCODE. @@LauraLouise-uz7qp
and if it ever gets stuck i just delete my `venv` and remake a new one
@@LauraLouise-uz7qp thanks I got to the Jupyter notebook part but it wouldn't work - came to comments and this step was missing -
thank you, you son of god 🤣
slow down bro