{"id":147943,"date":"2022-07-14T10:21:00","date_gmt":"2022-07-14T14:21:00","guid":{"rendered":"https:\/\/ibkrcampus.com\/?p=147943"},"modified":"2022-11-21T09:56:20","modified_gmt":"2022-11-21T14:56:20","slug":"installing-prophet-library-on-windows","status":"publish","type":"post","link":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/installing-prophet-library-on-windows\/","title":{"rendered":"Installing Prophet Library on Windows"},"content":{"rendered":"\n<p>Installing Prophet library on a Windows system can be tricky due to some dependencies with other libraries. In this blog, we will list down the steps for a smooth and hassle-free installation of Prophet on your Windows systems.<\/p>\n\n\n\n<p>We will cover the following topics:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>What is Prophet?<\/li><li>Prophet installation dependencies<\/li><li>Checking the environment before installing Prophet<\/li><li>Prophet installation using conda<\/li><li>Installing Prophet dependencies<\/li><li>Installing Prophet<\/li><li>Common issues and fixes<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"what-is-prophet\">What is Prophet?<\/h2>\n\n\n\n<p>Prophet (earlier called fbprophet) is an open-source library developed by the&nbsp;<a href=\"https:\/\/research.facebook.com\/research-areas\/data-science\/\" target=\"_blank\" rel=\"noreferrer noopener\">Core Data Science team<\/a>&nbsp;at Facebook. It is used mainly for time series forecasting.<\/p>\n\n\n\n<p>It is robust to missing data, outliers, and trend shifts and is one of the most popular libraries used for time series forecasting. To know more about Prophet, you can go through its official&nbsp;<a href=\"https:\/\/facebook.github.io\/prophet\/\" target=\"_blank\" rel=\"noreferrer noopener\">documentation<\/a>.<\/p>\n\n\n\n<p><a href=\"https:\/\/blog.quantinsti.com\/installing-prophet-library-mac\/\">Installing Prophet on Mac OS<\/a>&nbsp;is also possible.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"prophet-installation-dependencies\">Prophet installation dependencies<\/h2>\n\n\n\n<p>Prophet installation may be tricky mainly due to the following three reasons:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Python version<\/li><li>Dependency on Pystan library<\/li><li>Microsoft C++ Build Tools dependency<\/li><\/ol>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">Checking the environment before installing Prophet<\/h3>\n\n\n\n<p>I\u2019m using a Windows 10 machine for this post. However, the process should work for all Windows systems.<\/p>\n\n\n\n<p>We will first check the Python version installed on our system before we move ahead. We run the below command on the Anaconda prompt, as shown below.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"720\" height=\"411\" data-src=\"\/campus\/wp-content\/uploads\/sites\/2\/2022\/07\/Check-Python-Version-quantinsti.png\" alt=\"\" class=\"wp-image-147952 lazyload\" data-srcset=\"https:\/\/ibkrcampus.com\/campus\/wp-content\/uploads\/sites\/2\/2022\/07\/Check-Python-Version-quantinsti.png 720w, https:\/\/ibkrcampus.com\/campus\/wp-content\/uploads\/sites\/2\/2022\/07\/Check-Python-Version-quantinsti-700x400.png 700w, https:\/\/ibkrcampus.com\/campus\/wp-content\/uploads\/sites\/2\/2022\/07\/Check-Python-Version-quantinsti-300x171.png 300w\" data-sizes=\"(max-width: 720px) 100vw, 720px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 720px; aspect-ratio: 720\/411;\" \/><\/figure>\n\n\n\n<p>If you have Python 3.6 or later, you are good to go.<\/p>\n\n\n\n<p>However, due to the various dependencies, we suggest that you create a new environment for installing Prophet. We create an environment called &nbsp;<strong>prophet39&nbsp;<\/strong>on your system by running the below line on the Anaconda prompt:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>conda create -n prophet39 python=3.9\n<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"720\" height=\"409\" data-src=\"\/campus\/wp-content\/uploads\/sites\/2\/2022\/07\/Create-a-new-environment-for-Prophet-quantinsti.png\" alt=\"\" class=\"wp-image-147954 lazyload\" data-srcset=\"https:\/\/ibkrcampus.com\/campus\/wp-content\/uploads\/sites\/2\/2022\/07\/Create-a-new-environment-for-Prophet-quantinsti.png 720w, https:\/\/ibkrcampus.com\/campus\/wp-content\/uploads\/sites\/2\/2022\/07\/Create-a-new-environment-for-Prophet-quantinsti-700x398.png 700w, https:\/\/ibkrcampus.com\/campus\/wp-content\/uploads\/sites\/2\/2022\/07\/Create-a-new-environment-for-Prophet-quantinsti-300x170.png 300w\" data-sizes=\"(max-width: 720px) 100vw, 720px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 720px; aspect-ratio: 720\/409;\" \/><\/figure>\n\n\n\n<p>When conda prompts us whether to proceed, we enter \u2018<em><strong>y<\/strong><\/em>\u2019.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"720\" height=\"412\" data-src=\"\/campus\/wp-content\/uploads\/sites\/2\/2022\/07\/Confirm-to-proceed-with-the-installations-needed-quantinsti.png\" alt=\"\" class=\"wp-image-147955 lazyload\" data-srcset=\"https:\/\/ibkrcampus.com\/campus\/wp-content\/uploads\/sites\/2\/2022\/07\/Confirm-to-proceed-with-the-installations-needed-quantinsti.png 720w, https:\/\/ibkrcampus.com\/campus\/wp-content\/uploads\/sites\/2\/2022\/07\/Confirm-to-proceed-with-the-installations-needed-quantinsti-700x401.png 700w, https:\/\/ibkrcampus.com\/campus\/wp-content\/uploads\/sites\/2\/2022\/07\/Confirm-to-proceed-with-the-installations-needed-quantinsti-300x172.png 300w\" data-sizes=\"(max-width: 720px) 100vw, 720px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 720px; aspect-ratio: 720\/412;\" \/><\/figure>\n\n\n\n<p>Once it is done, we activate this prophet39 environment using the command:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>conda activate prophet39\n<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"720\" height=\"409\" data-src=\"\/campus\/wp-content\/uploads\/sites\/2\/2022\/07\/Activate-the-environment-quantinsti.png\" alt=\"\" class=\"wp-image-147958 lazyload\" data-srcset=\"https:\/\/ibkrcampus.com\/campus\/wp-content\/uploads\/sites\/2\/2022\/07\/Activate-the-environment-quantinsti.png 720w, https:\/\/ibkrcampus.com\/campus\/wp-content\/uploads\/sites\/2\/2022\/07\/Activate-the-environment-quantinsti-700x398.png 700w, https:\/\/ibkrcampus.com\/campus\/wp-content\/uploads\/sites\/2\/2022\/07\/Activate-the-environment-quantinsti-300x170.png 300w\" data-sizes=\"(max-width: 720px) 100vw, 720px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 720px; aspect-ratio: 720\/409;\" \/><\/figure>\n\n\n\n<p>As you can see, we are now in the prophet39 environment. Now, we can proceed further with our installation.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"checking-the-environment-before-installing-prophet\">Prophet installation using conda<br><\/h2>\n\n\n\n<p>As mentioned earlier, Prophet installation can be tricky due to its dependencies. However, a straightforward solution could be to use conda for installation. Using conda for installation has various advantages.<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Conda is cross-platform so it works on any system.<\/li><li>It is easy to manage environments with conda. In the previous section, we used conda to create an environment with a specific version of Python.<\/li><li>Conda \u2018solves\u2019 your environment for you. This means that it takes care of all the dependencies for you.<\/li><\/ol>\n\n\n\n<p>So, the first thing to do to install Prophet is to run this command on the terminal:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>conda install -c conda-forge prophet\n<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"720\" height=\"409\" data-src=\"\/campus\/wp-content\/uploads\/sites\/2\/2022\/07\/Conda-installation-for-Prophet-quantinsti.png\" alt=\"\" class=\"wp-image-147962 lazyload\" data-srcset=\"https:\/\/ibkrcampus.com\/campus\/wp-content\/uploads\/sites\/2\/2022\/07\/Conda-installation-for-Prophet-quantinsti.png 720w, https:\/\/ibkrcampus.com\/campus\/wp-content\/uploads\/sites\/2\/2022\/07\/Conda-installation-for-Prophet-quantinsti-700x398.png 700w, https:\/\/ibkrcampus.com\/campus\/wp-content\/uploads\/sites\/2\/2022\/07\/Conda-installation-for-Prophet-quantinsti-300x170.png 300w\" data-sizes=\"(max-width: 720px) 100vw, 720px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 720px; aspect-ratio: 720\/409;\" \/><\/figure>\n\n\n\n<p>In most cases, this will install Prophet successfully on your system. If this works for you, you can skip the rest of the blog.<\/p>\n\n\n\n<p>However, in some cases, you may encounter errors. Did you get one after running the above command?<\/p>\n\n\n\n<p>If you did, this blog merits your continued attention. Read on as we take you through a step-wise description of installing the dependencies and then the Prophet library itself.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"installing-prophet-dependencies\">Installing Prophet dependencies<\/h2>\n\n\n\n<p>The major dependency for Prophet is Pystan. The Pystan library has its own&nbsp;<a href=\"https:\/\/pystan2.readthedocs.io\/en\/latest\/windows.html?msclkid=eb5dcb49ac2511ec829bf25d2eab26d6\" target=\"_blank\" rel=\"noreferrer noopener\">installation instructions<\/a>.<\/p>\n\n\n\n<p>However, before we install Pystan, we need to install some other libraries.<\/p>\n\n\n\n<p>First, we need to install the C++ compiler, mingw-w64 toolchain, which, in turn, requires libpython. So, we install both of them as follows:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>conda install libpython m2w64-toolchain -c msys2\n<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"720\" height=\"409\" data-src=\"\/campus\/wp-content\/uploads\/sites\/2\/2022\/07\/Install-Pystan-dependencies-quantinsti.png\" alt=\"\" class=\"wp-image-147966 lazyload\" data-srcset=\"https:\/\/ibkrcampus.com\/campus\/wp-content\/uploads\/sites\/2\/2022\/07\/Install-Pystan-dependencies-quantinsti.png 720w, https:\/\/ibkrcampus.com\/campus\/wp-content\/uploads\/sites\/2\/2022\/07\/Install-Pystan-dependencies-quantinsti-700x398.png 700w, https:\/\/ibkrcampus.com\/campus\/wp-content\/uploads\/sites\/2\/2022\/07\/Install-Pystan-dependencies-quantinsti-300x170.png 300w\" data-sizes=\"(max-width: 720px) 100vw, 720px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 720px; aspect-ratio: 720\/409;\" \/><\/figure>\n\n\n\n<p>We need to install Cython and Numpy.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>conda install cython numpy\n<\/code><\/pre>\n\n\n\n<p>In case of any issues, you can use the following command:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>conda install numpy cython -c conda-forge\n<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"720\" height=\"408\" data-src=\"\/campus\/wp-content\/uploads\/sites\/2\/2022\/07\/Install-Cython-and-Numpy-quantinsti.png\" alt=\"\" class=\"wp-image-147967 lazyload\" data-srcset=\"https:\/\/ibkrcampus.com\/campus\/wp-content\/uploads\/sites\/2\/2022\/07\/Install-Cython-and-Numpy-quantinsti.png 720w, https:\/\/ibkrcampus.com\/campus\/wp-content\/uploads\/sites\/2\/2022\/07\/Install-Cython-and-Numpy-quantinsti-700x397.png 700w, https:\/\/ibkrcampus.com\/campus\/wp-content\/uploads\/sites\/2\/2022\/07\/Install-Cython-and-Numpy-quantinsti-300x170.png 300w\" data-sizes=\"(max-width: 720px) 100vw, 720px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 720px; aspect-ratio: 720\/408;\" \/><\/figure>\n\n\n\n<p>Now, we install some other optional dependencies, which will help in our installation proceeding smoothly.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>conda install matplotlib scipy pandas -c conda-forge\n<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"720\" height=\"408\" data-src=\"\/campus\/wp-content\/uploads\/sites\/2\/2022\/07\/Install-Matplotlib-Scipy-and-Pandas-quantinsti.png\" alt=\"\" class=\"wp-image-147969 lazyload\" data-srcset=\"https:\/\/ibkrcampus.com\/campus\/wp-content\/uploads\/sites\/2\/2022\/07\/Install-Matplotlib-Scipy-and-Pandas-quantinsti.png 720w, https:\/\/ibkrcampus.com\/campus\/wp-content\/uploads\/sites\/2\/2022\/07\/Install-Matplotlib-Scipy-and-Pandas-quantinsti-700x397.png 700w, https:\/\/ibkrcampus.com\/campus\/wp-content\/uploads\/sites\/2\/2022\/07\/Install-Matplotlib-Scipy-and-Pandas-quantinsti-300x170.png 300w\" data-sizes=\"(max-width: 720px) 100vw, 720px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 720px; aspect-ratio: 720\/408;\" \/><\/figure>\n\n\n\n<p>Since Pystan is available on pip, we recommend using pip to install it, as shown below:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>pip install pystan\n<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"720\" height=\"410\" data-src=\"\/campus\/wp-content\/uploads\/sites\/2\/2022\/07\/Install-Pystan-quantinsti.png\" alt=\"\" class=\"wp-image-147971 lazyload\" data-srcset=\"https:\/\/ibkrcampus.com\/campus\/wp-content\/uploads\/sites\/2\/2022\/07\/Install-Pystan-quantinsti.png 720w, https:\/\/ibkrcampus.com\/campus\/wp-content\/uploads\/sites\/2\/2022\/07\/Install-Pystan-quantinsti-700x399.png 700w, https:\/\/ibkrcampus.com\/campus\/wp-content\/uploads\/sites\/2\/2022\/07\/Install-Pystan-quantinsti-300x171.png 300w\" data-sizes=\"(max-width: 720px) 100vw, 720px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 720px; aspect-ratio: 720\/410;\" \/><\/figure>\n\n\n\n<p>Alternatively, we can install it using conda:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>conda install pystan -c conda-forge\n<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"installing-prophet\">Installing Prophet<\/h2>\n\n\n\n<p>We\u2019re nearly at the end now.<\/p>\n\n\n\n<p>Finally, we install Prophet using this command:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>pip install prophet\n<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"720\" height=\"408\" data-src=\"\/campus\/wp-content\/uploads\/sites\/2\/2022\/07\/Install-Prophet-quantinsti.png\" alt=\"\" class=\"wp-image-147973 lazyload\" data-srcset=\"https:\/\/ibkrcampus.com\/campus\/wp-content\/uploads\/sites\/2\/2022\/07\/Install-Prophet-quantinsti.png 720w, https:\/\/ibkrcampus.com\/campus\/wp-content\/uploads\/sites\/2\/2022\/07\/Install-Prophet-quantinsti-700x397.png 700w, https:\/\/ibkrcampus.com\/campus\/wp-content\/uploads\/sites\/2\/2022\/07\/Install-Prophet-quantinsti-300x170.png 300w\" data-sizes=\"(max-width: 720px) 100vw, 720px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 720px; aspect-ratio: 720\/408;\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"common-issues-and-fixes\">Common issues and fixes<\/h2>\n\n\n\n<p>Prophet installation can be buggy, mainly due to its dependency on Pystan, which, in turn, has its own dependencies. However, if you follow the installation instructions listed above, the process, though long, would be smooth.<\/p>\n\n\n\n<p>Here is a list of common issues and how to deal with them:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><strong>SNo.<\/strong><\/td><td><strong>Issue<\/strong><\/td><td><strong>Suggested Fix<\/strong><\/td><\/tr><tr><td>1.<\/td><td>Using pip install for Prophet, you get an error: \u201c<strong><em>running setup.py install for prophet &#8230; error<\/em><\/strong>\u201d<\/td><td>Use Anaconda to install:<strong><em>conda install -c conda-forge prophet<\/em><\/strong><\/td><\/tr><tr><td>2.<\/td><td>ERROR: Failed building wheel for pystan<\/td><td>Ensure all the dependencies for Pystan (including the optional ones) are installed.<\/td><\/tr><tr><td>3.<\/td><td>Error when installing Prophet with Python 3.9, using pip.<\/td><td>Try installing it on Python 3.7.<\/td><\/tr><tr><td>4.<\/td><td>Error while installing in your base environment.<\/td><td>We recommend creating a new environment before installing Prophet due to its various dependencies.<\/td><\/tr><tr><td>5.<\/td><td>After installation, when importing prophet, you get the error: \u201c<strong><em>Importing plotly failed. Interactive plots will not work.<\/em><\/strong><strong>\u201d<\/strong><\/td><td>Check if plotly is installed in the prophet39 environment. If not, install plotly using:pip install plotly<br>If plotly is already installed, upgrade it using:pip install &#8211;upgrade plotly<\/td><\/tr><tr><td>6.<\/td><td>Error when installing pystan using pip.<\/td><td>Try using Anaconda to install:conda install pystan -c conda-forge<\/td><\/tr><tr><td>7.<\/td><td>Error when installing Prophet: \u201c<strong><em>error: Microsoft Visual C++ 14.0 or greater is required. Get it with &#8220;Microsoft C++ Build Tools&#8221;<\/em><\/strong><\/td><td>Install Microsoft Visual C++ from&nbsp;<a href=\"https:\/\/visualstudio.microsoft.com\/visual-cpp-build-tools\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/visualstudio.microsoft.com\/visual-cpp-build-tools\/<\/a>.After that, try installing Prophet again.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"conclusion\">Conclusion<\/h3>\n\n\n\n<p>We discussed how to install the Prophet library on a Windows machine, starting from creating an environment, installing its dependencies, and the final Prophet installation.<\/p>\n\n\n\n<p>We also looked at some of the frequently faced issues in the installation and how to troubleshoot them. I hope this will save you some time and effort when installing this library on your Windows system.<\/p>\n\n\n\n<p><em>Visit QuantInsti Blog for additional insight on this topic: <a href=\"https:\/\/blog.quantinsti.com\/installing-prophet-library-windows\/\">https:\/\/blog.quantinsti.com\/installing-prophet-library-windows\/<\/a>.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this blog, we will list down the steps for a smooth and hassle-free installation of Prophet on your Windows systems.<\/p>\n","protected":false},"author":731,"featured_media":99378,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[339,343,349,338],"tags":[6922,806,1225,10382,10385,595],"contributors-categories":[13654],"class_list":{"0":"post-147943","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-data-science","8":"category-programing-languages","9":"category-python-development","10":"category-ibkr-quant-news","11":"tag-anaconda","12":"tag-data-science","13":"tag-numpy","14":"tag-prophet-library","15":"tag-pystan","16":"tag-python","17":"contributors-categories-quantinsti"},"pp_statuses_selecting_workflow":false,"pp_workflow_action":"current","pp_status_selection":"publish","acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v26.9 (Yoast SEO v27.7) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Installing Prophet Library on Windows | IBKR Quant<\/title>\n<meta name=\"description\" content=\"In this blog, we will list down the steps for a smooth and hassle-free installation of Prophet on your Windows systems.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.interactivebrokers.com\/campus\/wp-json\/wp\/v2\/posts\/147943\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Installing Prophet Library on Windows | IBKR Quant Blog\" \/>\n<meta property=\"og:description\" content=\"In this blog, we will list down the steps for a smooth and hassle-free installation of Prophet on your Windows systems.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/installing-prophet-library-on-windows\/\" \/>\n<meta property=\"og:site_name\" content=\"IBKR Campus US\" \/>\n<meta property=\"article:published_time\" content=\"2022-07-14T14:21:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-11-21T14:56:20+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2021\/08\/python-blocks.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"900\" \/>\n\t<meta property=\"og:image:height\" content=\"550\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Udisha Alok\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Udisha Alok\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\n\t    \"@context\": \"https:\\\/\\\/schema.org\",\n\t    \"@graph\": [\n\t        {\n\t            \"@type\": \"NewsArticle\",\n\t            \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/installing-prophet-library-on-windows\\\/#article\",\n\t            \"isPartOf\": {\n\t                \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/installing-prophet-library-on-windows\\\/\"\n\t            },\n\t            \"author\": {\n\t                \"name\": \"Udisha Alok\",\n\t                \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#\\\/schema\\\/person\\\/7faa788f12ff54d5d598292f5a252fab\"\n\t            },\n\t            \"headline\": \"Installing Prophet Library on Windows\",\n\t            \"datePublished\": \"2022-07-14T14:21:00+00:00\",\n\t            \"dateModified\": \"2022-11-21T14:56:20+00:00\",\n\t            \"mainEntityOfPage\": {\n\t                \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/installing-prophet-library-on-windows\\\/\"\n\t            },\n\t            \"wordCount\": 920,\n\t            \"publisher\": {\n\t                \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#organization\"\n\t            },\n\t            \"image\": {\n\t                \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/installing-prophet-library-on-windows\\\/#primaryimage\"\n\t            },\n\t            \"thumbnailUrl\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2021\\\/08\\\/python-blocks.jpg\",\n\t            \"keywords\": [\n\t                \"Anaconda\",\n\t                \"Data Science\",\n\t                \"NumPy\",\n\t                \"Prophet library\",\n\t                \"pystan\",\n\t                \"Python\"\n\t            ],\n\t            \"articleSection\": [\n\t                \"Data Science\",\n\t                \"Programming Languages\",\n\t                \"Python Development\",\n\t                \"Quant\"\n\t            ],\n\t            \"inLanguage\": \"en-US\"\n\t        },\n\t        {\n\t            \"@type\": \"WebPage\",\n\t            \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/installing-prophet-library-on-windows\\\/\",\n\t            \"url\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/installing-prophet-library-on-windows\\\/\",\n\t            \"name\": \"Installing Prophet Library on Windows | IBKR Quant Blog\",\n\t            \"isPartOf\": {\n\t                \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#website\"\n\t            },\n\t            \"primaryImageOfPage\": {\n\t                \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/installing-prophet-library-on-windows\\\/#primaryimage\"\n\t            },\n\t            \"image\": {\n\t                \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/installing-prophet-library-on-windows\\\/#primaryimage\"\n\t            },\n\t            \"thumbnailUrl\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2021\\\/08\\\/python-blocks.jpg\",\n\t            \"datePublished\": \"2022-07-14T14:21:00+00:00\",\n\t            \"dateModified\": \"2022-11-21T14:56:20+00:00\",\n\t            \"description\": \"In this blog, we will list down the steps for a smooth and hassle-free installation of Prophet on your Windows systems.\",\n\t            \"inLanguage\": \"en-US\",\n\t            \"potentialAction\": [\n\t                {\n\t                    \"@type\": \"ReadAction\",\n\t                    \"target\": [\n\t                        \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/installing-prophet-library-on-windows\\\/\"\n\t                    ]\n\t                }\n\t            ]\n\t        },\n\t        {\n\t            \"@type\": \"ImageObject\",\n\t            \"inLanguage\": \"en-US\",\n\t            \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/installing-prophet-library-on-windows\\\/#primaryimage\",\n\t            \"url\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2021\\\/08\\\/python-blocks.jpg\",\n\t            \"contentUrl\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2021\\\/08\\\/python-blocks.jpg\",\n\t            \"width\": 900,\n\t            \"height\": 550,\n\t            \"caption\": \"Python\"\n\t        },\n\t        {\n\t            \"@type\": \"WebSite\",\n\t            \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#website\",\n\t            \"url\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/\",\n\t            \"name\": \"IBKR Campus US\",\n\t            \"description\": \"Financial Education from Interactive Brokers\",\n\t            \"publisher\": {\n\t                \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#organization\"\n\t            },\n\t            \"potentialAction\": [\n\t                {\n\t                    \"@type\": \"SearchAction\",\n\t                    \"target\": {\n\t                        \"@type\": \"EntryPoint\",\n\t                        \"urlTemplate\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/?s={search_term_string}\"\n\t                    },\n\t                    \"query-input\": {\n\t                        \"@type\": \"PropertyValueSpecification\",\n\t                        \"valueRequired\": true,\n\t                        \"valueName\": \"search_term_string\"\n\t                    }\n\t                }\n\t            ],\n\t            \"inLanguage\": \"en-US\"\n\t        },\n\t        {\n\t            \"@type\": \"Organization\",\n\t            \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#organization\",\n\t            \"name\": \"Interactive Brokers\",\n\t            \"alternateName\": \"IBKR\",\n\t            \"url\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/\",\n\t            \"logo\": {\n\t                \"@type\": \"ImageObject\",\n\t                \"inLanguage\": \"en-US\",\n\t                \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#\\\/schema\\\/logo\\\/image\\\/\",\n\t                \"url\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2024\\\/05\\\/ibkr-campus-logo.jpg\",\n\t                \"contentUrl\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2024\\\/05\\\/ibkr-campus-logo.jpg\",\n\t                \"width\": 669,\n\t                \"height\": 669,\n\t                \"caption\": \"Interactive Brokers\"\n\t            },\n\t            \"image\": {\n\t                \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#\\\/schema\\\/logo\\\/image\\\/\"\n\t            },\n\t            \"publishingPrinciples\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/about-ibkr-campus\\\/\",\n\t            \"ethicsPolicy\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/cyber-security-notice\\\/\"\n\t        },\n\t        {\n\t            \"@type\": \"Person\",\n\t            \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#\\\/schema\\\/person\\\/7faa788f12ff54d5d598292f5a252fab\",\n\t            \"name\": \"Udisha Alok\",\n\t            \"url\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/author\\\/udisha-alok\\\/\"\n\t        }\n\t    ]\n\t}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Installing Prophet Library on Windows | IBKR Quant","description":"In this blog, we will list down the steps for a smooth and hassle-free installation of Prophet on your Windows systems.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.interactivebrokers.com\/campus\/wp-json\/wp\/v2\/posts\/147943\/","og_locale":"en_US","og_type":"article","og_title":"Installing Prophet Library on Windows | IBKR Quant Blog","og_description":"In this blog, we will list down the steps for a smooth and hassle-free installation of Prophet on your Windows systems.","og_url":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/installing-prophet-library-on-windows\/","og_site_name":"IBKR Campus US","article_published_time":"2022-07-14T14:21:00+00:00","article_modified_time":"2022-11-21T14:56:20+00:00","og_image":[{"width":900,"height":550,"url":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2021\/08\/python-blocks.jpg","type":"image\/jpeg"}],"author":"Udisha Alok","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Udisha Alok","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"NewsArticle","@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/installing-prophet-library-on-windows\/#article","isPartOf":{"@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/installing-prophet-library-on-windows\/"},"author":{"name":"Udisha Alok","@id":"https:\/\/ibkrcampus.com\/campus\/#\/schema\/person\/7faa788f12ff54d5d598292f5a252fab"},"headline":"Installing Prophet Library on Windows","datePublished":"2022-07-14T14:21:00+00:00","dateModified":"2022-11-21T14:56:20+00:00","mainEntityOfPage":{"@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/installing-prophet-library-on-windows\/"},"wordCount":920,"publisher":{"@id":"https:\/\/ibkrcampus.com\/campus\/#organization"},"image":{"@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/installing-prophet-library-on-windows\/#primaryimage"},"thumbnailUrl":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2021\/08\/python-blocks.jpg","keywords":["Anaconda","Data Science","NumPy","Prophet library","pystan","Python"],"articleSection":["Data Science","Programming Languages","Python Development","Quant"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/installing-prophet-library-on-windows\/","url":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/installing-prophet-library-on-windows\/","name":"Installing Prophet Library on Windows | IBKR Quant Blog","isPartOf":{"@id":"https:\/\/ibkrcampus.com\/campus\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/installing-prophet-library-on-windows\/#primaryimage"},"image":{"@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/installing-prophet-library-on-windows\/#primaryimage"},"thumbnailUrl":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2021\/08\/python-blocks.jpg","datePublished":"2022-07-14T14:21:00+00:00","dateModified":"2022-11-21T14:56:20+00:00","description":"In this blog, we will list down the steps for a smooth and hassle-free installation of Prophet on your Windows systems.","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/installing-prophet-library-on-windows\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/installing-prophet-library-on-windows\/#primaryimage","url":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2021\/08\/python-blocks.jpg","contentUrl":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2021\/08\/python-blocks.jpg","width":900,"height":550,"caption":"Python"},{"@type":"WebSite","@id":"https:\/\/ibkrcampus.com\/campus\/#website","url":"https:\/\/ibkrcampus.com\/campus\/","name":"IBKR Campus US","description":"Financial Education from Interactive Brokers","publisher":{"@id":"https:\/\/ibkrcampus.com\/campus\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/ibkrcampus.com\/campus\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/ibkrcampus.com\/campus\/#organization","name":"Interactive Brokers","alternateName":"IBKR","url":"https:\/\/ibkrcampus.com\/campus\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/ibkrcampus.com\/campus\/#\/schema\/logo\/image\/","url":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2024\/05\/ibkr-campus-logo.jpg","contentUrl":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2024\/05\/ibkr-campus-logo.jpg","width":669,"height":669,"caption":"Interactive Brokers"},"image":{"@id":"https:\/\/ibkrcampus.com\/campus\/#\/schema\/logo\/image\/"},"publishingPrinciples":"https:\/\/www.interactivebrokers.com\/campus\/about-ibkr-campus\/","ethicsPolicy":"https:\/\/www.interactivebrokers.com\/campus\/cyber-security-notice\/"},{"@type":"Person","@id":"https:\/\/ibkrcampus.com\/campus\/#\/schema\/person\/7faa788f12ff54d5d598292f5a252fab","name":"Udisha Alok","url":"https:\/\/www.interactivebrokers.com\/campus\/author\/udisha-alok\/"}]}},"jetpack_featured_media_url":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2021\/08\/python-blocks.jpg","_links":{"self":[{"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/posts\/147943","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/users\/731"}],"replies":[{"embeddable":true,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/comments?post=147943"}],"version-history":[{"count":0,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/posts\/147943\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/media\/99378"}],"wp:attachment":[{"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/media?parent=147943"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/categories?post=147943"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/tags?post=147943"},{"taxonomy":"contributors-categories","embeddable":true,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/contributors-categories?post=147943"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}