Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 1.39 KB

0-Install_PythonBiogeme_win.md

File metadata and controls

29 lines (19 loc) · 1.39 KB

How to install Python and Biogeme on Windows

  1. Begin by installing Anaconda from here.
  2. Scroll down and download the Anaconda distribution by clicking on Download.

anaconda

  1. Save the file and run it. Install the Anaconda software.
  2. Once the installation has completed, we need to install some packages. To do so, begin by running the ‘Anaconda Prompt’ executable, which was installed in step 3.

anaconda_prompt

  1. Install the following packages by running the following commands inside the ‘Anaconda Prompt’ (note that some packages may be already installed by default). The image reflects one installation but note that you must install all listed packages.
    1. numpy: pip install numpy
    2. matplotlib: pip install matplotlib
    3. jupyter notebook: pip install jupyter
    4. biogeme: pip install biogeme

anaconda_packages

  1. Confirm that biogeme was correctly installed by running the following commands:

    1. python
    2. import biogeme.version as ver
    3. print(ver.getText())

    The output should look like the following image.

    biogeme_test