Skip to main content

Posts

Showing posts with the label Jupyter

Are Your Intellisense Working In Jupyter Notebook?

Can you imagine a life of a programmer using an editor having no intellisense support? In today’s era where most of us are working in many programming languages at the same time, it is very difficult to remember the syntax of all the programming languages? The one thing which is most important is the underlying concept of any programming language and if you are good in those fundamentals, there are various ways to get help in writing code. It could be by using a search engine, by going through some book, by lending fellow coder’s hand, by using editor’s or IDEs capabilities, etc. My personal favorite way is by taking the help of IDE. I prefer the IDE which provides very good support for syntax and coding guidelines. In today’s article, I’m focusing on Jupyter notebook inside VS Code, which is a very common IDE these days when you are coding in Python . By default, syntax support or say intellisense support is not enabled in Jupyter Notebook in VS Code and hence we need to enable it us...

Jupyter error - No module named ‘selenium’

Recently I installed Anaconda to learn more about it and the first thing I was about to try was opening a web page automatically using Selenium. So, to perform this, I used Jupyter and tried to import Selenium webdriver. Till here, everything went well, but when I ran my code using Jupyter Notebook, I got an error: ‘ No module named ‘selenium ’. The strange thing is, I got an error, although I have got Selenium installed on my machine using pip with below command:  pip install selenium. Now what could be the reason? So, to analyze it further, I wrote the same Python code in Visual Studio and ran it. It worked perfectly alright. So, I just thought to give a try to check the version of Selenium and first I tried with pip as shown below: As the above message says, it is already installed and didn’t complain anything. So, next I thought to try with Anaconda command prompt as shown below:  Did you notice that...