InstallingIpythonNotebookOnWindows7Learn python and how to use it to analyze,visualize and present data. Includes tons of sample code and hours of videoA neat trick for those using IPython in windows is that you can make an ipython icon in each of your project directories designed to open with the notebook pointing. WindowsAnaconda WindowsAnacondaAnaconda is a completely free Python distribution including for commercial use and redistribution. It includes over 1. Python packagesfor science, math, engineering, data analysis. Python. 2. 73. 2anacondaPythonIPythonSpyder2PythonshellPythonPython shellanaconda3IPython. IPythonshellipythonpip install ipythonipython3. Ipython QTConsole3. IPython Notebookipython. SpyderIDE4. 1 Spyder. SpyderMATLAB4. IDEanacondaanacondaSpyderIDEanacondaPycharmanacondaPycharmOKPycharmPycharm5anacondapip listanacondacondaconda list5. Warcraft Moo Moo Map. PythonAnaconda. PythonAnaconda. Installing Python 3. Anaconda Python for Windows. Walking Randomly A portable Jupyter IPython install on Windows with an R kernel. I recently found myself in need of a portable install of the Jupyter notebook which made use of a portable install of R as the compute kernel. When you work in institutions that have locked down managed Windows desktops, such portable installs can be a life saver
This is particularly true when you are working with rapidly developing projects such as Jupyter and IRKernel. Its not perfect but it works for the fairly modest requirements I had for it. Here are the steps I took to get it working. Download and install Portable Python. Install-Windows-on-Mac-using-Boot-Camp.jpg' alt='Installing Ipython Notebook On Windows 7' title='Installing Ipython Notebook On Windows 7' />I downloaded Portable Python 2. Portable Python 2. Update IPython and install the extra modules we need. This version of Portable Python comes with a portable IPython instance but it is too old to support alternative kernels. As such, we need to install a newer version. Open a cmd. exe command prompt and navigate to Portable Python 2. AppScripts. Enter the commandeasyinstall ipython. Youll now find that you can launch the ipython. C UserswalkingrandomlyDesktopPortable Python 2. AppScripts ipython. Python 2. 7. 6 default, Nov 1. MSC v. 1. 50. 0 3. Intel. Type copyright, credits or license for more information. IPython 3. 1. 0 An enhanced Interactive Python. Introduction and overview of IPythons features. Quick reference. help Pythons own help system. Details about object, use object for extra details. In 1 exitIf you try to launch the notebook, however, youll get error messages. This is because we havent taken care of all the dependencies. Lets do that now. Ensuring you are still in the Portable Python 2. AppScripts folder, execute the following commands. You should now be able to launch the notebook usingipython notebook. Install portable R and IRKernel. I downloaded Portable R 3. R Portable. Move this directory into the Portable Python directory. It needs to go inside Portable Python 2. App see this discussion to learn how I discovered that this location was the correct oneLaunch the Portable R executable which should be at Portable Python 2. AppR PortableR portable. IRKernel packages by doinginstall. IRkernel,IRdisplay, reposhttp irkernel. Install additional R packages. The version of Portable R I used didnt include various necessary packages. Heres how I fixed that. Launch the Portable R executable which should be at Portable Python 2. AppR PortableR portable. Install the R kernel file. Create the directory structure Portable Python 2. AppsharejupyterkernelsRkernel. Create a file called kernel. R PortableAppR Portablebini. R. exe, e,IRkernel main. Portable R. This file needs to go in the Rkernel directory created earlier. Note that the kernel location specified in kernel. Linux style forward slashes in the path rather than the backslashes that Windows users are used to. I found that this was necessary for the kernel to work it was ignored by the notebook otherwise. Finishing off. Everything created so far, including R, is in the folder Portable Python 2. I created a folder called Portable. Jupyter and put the Portable Python 2. I also created the folder Portable. Jupyternotebooks to allow me to carry my notebooks around with the software that runs them. There is a bug in Portable Python 2. IPython. exe that have been installed using easyinstall. In short, they stop working if you move the directory theyre installed in breaking portability somewhat Details hereThe workaround is to launch Ipython by running the script Portable Python 2. AppScriptsipython script. I didnt want to bother with that so created a shortcut in my Portable. Jupyter folder called Launch notebook. The target of this shortcut was the following linewindirsystem. CDPortable Python 2. Apppython. exe CDPortable Python 2. AppScriptsipython script. This starts the notebook using the default web browser and puts you in the notebooks directory. The pay off. My folder looks like this If I click on the Launch Notebook shortcut, I get a Jupyter session with 2 kernel options.