Unzip it, and save the binary to a directory in your PATH. To install ChromeDriver, download the most recent ZIPped binary (choose the zip file that matches your operating system). You do not need to make it your default browser if you do not want to. To install Chrome, simply download it and follow the on-screen instructions. To enable Altair to publish vector graphics, you will need to install the Google Chrome web browser and ChromeDriver. However, many of us are still publishing the paper of the present, which is typically a PDF, and we want vector graphics for our plots. By default, Altair only exports graphics as PNG and HTML (which is really all you need, at least for sharing plots and for the paper of the future, which is not a PDF and is interactive). We will be using Altair for most of our plotting. Pip install altair-catplot watermark bebi103 To install these packages, do the following, in succession, on the command line. You will also need to install the BE/Bi 103 module. You will also need to install some packages that are not included in the default Anaconda distribution, namely PyStan, Altair, Altair-catplot, IPython Vega, Watermark, node.js. conda is very smart and figures all of this out for you, so you can almost always say "yes" (or " y") to conda when it prompts you. This happens when there are package conflicts where one package requires an earlier version of another. You will be prompted to perform all of the updates. Now, we'll update all packages, so type the following on the command line: conda update -all This gives a list of all packages and their versions that are installed. Type the following on the command line: conda list Now that conda is updated, we'll use it to see what packages are installed. Just type y, and the update will proceeed. If conda is out of date and needs to be updated, you will be prompted to perform the update. To do this, enter the following on the command line: conda update conda The first thing we'll do is update conda itself. Now that you know how to get a command line prompt, you can start using conda. We will primarily be using conda to install and update packages.Ĭonda works from the command line. It has plenty of functionality beyond our basic usage in class, which you can learn more about by reading the docs. You will use this to install the requisite packages.Ĭonda is a package manager for keeping all of your packages up-to-date. We refer to this text interface in the terminal as the command line. You will get a terminal window (probably black) with a prompt. If you choose to use Jupyter, for the updating and installation of necessary packages, click on Terminal to launch a terminal. While you are free to use any text editor you like (I recommend VS Code or Sublime Text) or the native terminal on your machine. We will use the terminal for package management. We will notebooks heavily in the course, and will also use text editors. Within the JupyterLab window, you will have the option to launch a notebook, a console, a terminal, or a text editor. When you do that, a new browser window or tab will open with JupyterLab running. You should see an option to launch JupyterLab. If you are using Windows, you can do this from the Start menu. If you're using macOS, this is available in your Applications menu. After installing the Anaconda distribution, you should be able to launch the Anaconda Navigator.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |