Add conda-forge channel from Anaconda Navigator. The following section explains how to enable conda-forge channel from Anaconda Navigator GUI. SEE ALSO: Getting started with Anaconda Navigator, a graphical user interface that lets you use conda in a web-like interface without having to enter manual commands. However, some of you prefer the graphical way to get things done. Now I could use Selenium and Chrome Driver in a Jupyter notebook just fine. Adding channels via command line is not a big deal. So I tried searching for the Selenium package on Anaconda Navigator, but the search returned no results.Īfter doing some digging, I came across this site that had a piece of code I could run to get Selenium:Īfter running this code in my command prompt, I got selenium to work on Jupyter notebook! As long as you have anaconda installed, you just had to run the below command to install Navigator: In Anaconda Navigator, open a terminal in your environment (see step 2 above). The usual digging led me to this helpful thread, but in the end I couldn’t get Selenium to work on my Jupyter notebook by following the instructions provided.įortunately, an intern told me about Anaconda Navigator, a GUI-based application that could be used to install packages for the (virtual) environment running Jupyter notebook. Regardless of which package management tool youre using, we recommend. In short, Selenium had already been installed, but Jupyter could not import Selenium because it wasn’t pointing to the path where Selenium had been installed. And since most of our user base uses Windows, this was the way to go. But when I tried doing ‘import selenium’ in a Jupyter notebook, I kept getting a module not found error. Orange has been a conda package for some time now, since this is the easiest way to provide pre-compiled packages for Windows. I installed it from my command prompt by doing ‘pip install selenium’, and Selenium was working just fine in P圜harm and Python shell. To do my web crawling, I started using Selenium,which is a Python module for doing web crawling.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |