![]() ![]() Then, there are several command-line arguments to it (the particular arguments you see are telling the program to run Jupyter). “Target” is the program that the shortcut launches. In the “Target” field, select %USERPROFILE% at the end, including both percent signs. If you had tried these next few steps with the shortcut in C:\ProgramData\., Windows wouldn’t let you make changes). Right click the shortcut (this is your personal shortcut, so you can change it. When you click the shortcut, Jupyter should run, showing you your C:\ user folder in a new browser window, just like before. You should be rewarded with a shiny new shortcut to Jupyter. … then paste to your desktop (you can also click and drag “Jupyter Notebook” onto your desktop, or use Ctrl-C and Ctrl-V). Right click “Jupyter Notebook” and select “Copy”… Copying the Jupyter shortcut Windows will open a system folder ( C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Anaconda2 (64-bit)) in the Explorer app, and highlight the Jupyter shortcut. To do that, go back to the search bar, type “Jupyter”, and this time right click the Jupyter entry and choose “Open File Location”: Finding the Jupyter shortcut in Windows lnk file that, when you click it, runs Jupyter). First, find the existing Jupyter shortcut file (that is, the special Windows. I broke this up into a lot of small steps, but it really isn’t very complicated. We’ll copy the existing shortcut and modify the copy. Launching Jupyter from the Z:\ driveīriefly, we’re going to make a custom Windows shortcut to launch Jupyter from the Z:\ drive. Once we’re done, all you have to do is click a desktop shortcut. That will take a little more work, but you only have to do it once. The alternative is to run Jupyter in your Z:\ drive. Still, if you’re willing to copy files around as needed, you can just be happy with the current setup. Also, I think the C:\ drives aren’t shared between PIC computers (so if you move to a different physical computer, your C:\ files won’t follow you) whereas the Z:\ drive is shared. Just putting them on your desktop won’t work, since that Z:\Desktop, not C:\Users/\Desktop (they’re different!). You’ll have to put notebook files into e.g. You can just use Jupyter via the launchers above. It should show up in the search results: Launching Jupyter from Windows Making due with the C:\ drive ![]() Just go to the Windows launcher (hint: hit the Windows key) and type “Jupyter”. Contents of my user folder in C:\īefore we address the C:\ versus Z:\ issue, note a shortcut. The desktop and default Downloads folder are actually Z:\Desktop and Z:\Downloads, so we can’t access those. The annoying thing is, this is my C:\Users\akrieger\ folder on my PIC machine (see below). Yours should look similar to mine: Jupyter, showing my user folder under the C:\ drive Jupyter starts by showing you a file browser. For now, select “Jupyter notebook”… Launching Jupyter from AnacondaĪ browser should open automatically. Some of the other tools are useful for data analysis. You can also try Jupyter Lab (I think it’s a newer version I’m not familiar with it yet). ![]() ![]() Start by opening Anaconda… Launching Anaconda from my desktopĪnaconda shows multiple tools. You connect to it with a browser (the PIC machines use Internet Explorer by default), and it shows you a webapp. Jupyter runs as a web server on your computer. This is a very useful format for sharing code, since you can download someone else’s notebook, read the code, and run it, all from Jupyter. At your command, the code is executed and its output added to the notebook. The notebook interface lets you write code (or formatted text) into cells. Jupyter is a notebook tool, providing a UI to Python that’s similar to Mathematica. Recall that Anaconda is a Python distribution: it installs and manages Python and several other tools and libraries. The PIC machines have two ways (at least) to launch Jupyter built-in: via Anaconda, and directly. Jupyter shortcut for PIC machines Jupyter shortcut for PIC machines ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |