{"id":104115,"date":"2021-09-22T14:20:52","date_gmt":"2021-09-22T18:20:52","guid":{"rendered":"https:\/\/ibkrcampus.com\/?p=104115"},"modified":"2022-11-21T09:48:04","modified_gmt":"2022-11-21T14:48:04","slug":"installing-prophet-library-on-mac","status":"publish","type":"post","link":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/installing-prophet-library-on-mac\/","title":{"rendered":"Installing Prophet Library on Mac"},"content":{"rendered":"\n<p>Prophet is a large library developed by Facebook Inc. that facilitates Natural Language Processing (NLP) tasks. In this post we understand how to install Prophet on Mac machines, because depending on the configuration we have on the machine, we may face some installation problems.<\/p>\n\n\n\n<p>We cover:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Beginning with Prophet<\/li><li>Checking the Python environment before installing Prophet<\/li><li>Installing the Prophet dependencies<\/li><li>Installing the Prophet library<\/li><li>Testing Prophet<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"beginning-with-prophet\">Beginning with Prophet<\/h2>\n\n\n\n<p>Sometimes we can find ourselves with a Python environment on our machine that may well look like a junk drawer. The versions of Python and the libraries we are already using can give us some headaches when installing Prophet and more specifically its main dependency, which is the Pystan library.<\/p>\n\n\n\n<p>In order to make the installation process of Prophet on Mac less painful, I have created this post based on the&nbsp;<a href=\"https:\/\/facebook.github.io\/prophet\/\" target=\"_blank\" rel=\"noreferrer noopener\">official documentation&nbsp;<\/a>which I strongly recommend you to read.<\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"checking-the-python-environment-before-installing-prophet\">Checking the Python environment before installing Prophet<\/h2>\n\n\n\n<p>Before installing Prophet let&#8217;s check if we have the Python environment correctly installed.<\/p>\n\n\n\n<p>Normally, you should have&nbsp;<a href=\"https:\/\/www.anaconda.com\/products\/individual\" target=\"_blank\" rel=\"noreferrer noopener\">Anaconda<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/docs.conda.io\/en\/latest\/miniconda.html#macosx-installers\" target=\"_blank\" rel=\"noreferrer noopener\">Miniconda<\/a>&nbsp;installed on your machine. If you haven&#8217;t installed it yet,&nbsp;<a href=\"https:\/\/blog.quantinsti.com\/set-up-python-system\/\">check this post<\/a>.<\/p>\n\n\n\n<p>Hence, with Anaconda or Miniconda installed, press CMD+&lt;space bar> to search in Mac Spotlight, type Terminal and open Terminal.app. If you are using Conda environments choose your preferred.<\/p>\n\n\n\n<p>Let\u2019s check the Python version:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>% python --version<\/code><\/pre>\n\n\n\n<p>If the Python version is 3.6, 3.7, 3.8 or 3.9 it\u2019s ok, if not, you can create a Python environment as in the referenced&nbsp;<a href=\"https:\/\/blog.quantinsti.com\/set-up-python-system\/\">post<\/a>.<\/p>\n\n\n\n<p>I suggest to create a new Python environment for this project, hence you can type the below commands:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>% cd \n% conda create -n prophet39 python=3.9\n% conda activate prophet39<\/code><\/pre>\n\n\n\n<p>At this point we have a Python 3.9 ready to install new libraries.<\/p>\n\n\n\n<p>If you want to use Jupyter notebooks, you need to install some other libraries:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>% conda install ipykernel\n% python -m ipykernel install --name prophet39 --user\n% conda install jupyter<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"installing-the-prophet-dependencies\">Installing the Prophet dependencies<\/h2>\n\n\n\n<p>As the official documentation says, the major dependency that the Prophet has is pystan. PyStan has its own&nbsp;<a href=\"https:\/\/pystan.readthedocs.io\/en\/latest\/installation.html\" target=\"_blank\" rel=\"noreferrer noopener\">installation instructions<\/a>. Install pystan with pip before using pip to install prophet.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>% pip install pystan==2.19.1.1<\/code><\/pre>\n\n\n\n<p>It\u2019s possible that you get some errors like these:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ERROR: Command errored out with exit status 1\nCython&gt;=0.22 and NumPy are required.\nERROR: Failed building wheel for pystan<\/code><\/pre>\n\n\n\n<p>Don\u2019t worry about that and let the installation process continue up to the end, because it will install the dependencies in the right way. The process is very slow, be patient. At the end you will see the message:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Successfully installed Cython-0.29.24 numpy-1.21.1 pystan-2.19.1.1<\/code><\/pre>\n\n\n\n<p>With PyStan and its dependencies installed on your system, you need to install Prophet.<\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"installing-the-prophet-library\">Installing the Prophet library<\/h2>\n\n\n\n<p>To install the Prophet library, you can proceed as usual with the pip command:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>% pip install prophet<\/code><\/pre>\n\n\n\n<p>Again, you may see some errors in the installation process as below:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><em>ERROR: Command errored out with exit status 1:<\/em><\/li><li><em>ModuleNotFoundError: No module named &#8216;pandas&#8217;<\/em><\/li><li><em>ERROR: Failed building wheel for prophet<\/em><\/li><\/ul>\n\n\n\n<p>Don\u2019t worry about that and let the installation process continue up to the end, because it will install the dependencies in the right way. The process is very slow, be patient. At the end you will see the message:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Successfully installed Cython-0.29.24\nLunarCalendar-0.0.9\ncmdstanpy-0.9.68\nconvertdate-2.3.2\nephem-4.0.0.2\nhijri-converter-2.2.0\nholidays-0.11.2\nkorean-lunar-calendar-0.2.1\npandas-1.1.5\nprophet-1.0.1\npymeeus-0.5.11\npystan-2.19.1.1\nsetuptools-git-1.2\ntqdm-4.62.2\nujson-4.1.0\n<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"testing-prophet\">Testing Prophet<\/h2>\n\n\n\n<p>Finally, let\u2019s check if all the things are working fine&nbsp;<a href=\"https:\/\/facebook.github.io\/prophet\/docs\/quick_start.html#python-api\" target=\"_blank\" rel=\"noreferrer noopener\">with a simple test<\/a>.<\/p>\n\n\n\n<p>Be sure you have\u00a0<a href=\"https:\/\/github.com\/facebook\/prophet\/blob\/master\/examples\/example_wp_log_peyton_manning.csv\" target=\"_blank\" rel=\"noreferrer noopener\">this csv data file\u00a0<\/a>in your project folder. You can check where you are as follows:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>% pwd<\/code><\/pre>\n\n\n\n<p>This command gives you the absolute path in your machine where you are now, copy the csv data file there with the Finder.<\/p>\n\n\n\n<p>Open a Jupyter notebook and select the prophet39 kernel, or your preferred editor and type the following example: (you must use several code blocks to check every sentence)<\/p>\n\n\n\n<p>See the attached notebook for the code:<\/p>\n\n\n\n<p>If all works fine, you have the Prophet library correctly installed in your machine!<\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"conclusion\">Conclusion<\/h2>\n\n\n\n<p>As we have seen, the installation does not differ from the official configuration. Here we have only taken into account the Conda environments, the versions we are installing and, fundamentally, the patience we must have when we encounter errors, as the installation process will try to finish correctly.<\/p>\n\n\n\n<p>Finally, we have seen a simple example taken from the official documentation to test our installation.<\/p>\n\n\n\n<p>If you consider machine learning as an important part of the future in financial markets, you can&#8217;t afford to miss this highly-recommended learning track on&nbsp;<a href=\"https:\/\/quantra.quantinsti.com\/learning-track\/machine-learning-deep-learning-in-financial-markets\" target=\"_blank\" rel=\"noreferrer noopener\">Machine Learning &amp; Deep Learning in Financial Markets<\/a>&nbsp;for those interested in ML and its applications in trading by Quantra. Enroll now!<\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p><strong>Files in the download:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Prophet python code<\/li><li>Prophet data file<\/li><\/ul>\n\n\n\n<p><em>Visit QuantInsti for additional insight on this topic: <a href=\"https:\/\/blog.quantinsti.com\/installing-prophet-library-mac\/\">https:\/\/blog.quantinsti.com\/installing-prophet-library-mac\/<\/a><\/em><\/p>\n\n\n\n<p><em><small>Disclaimer: All investments and trading in the stock market involve risk. Any decisions to place trades in the financial markets, including trading in stock or options or other financial instruments is a personal decision that should only be made after thorough research, including a personal risk and financial assessment and the engagement of professional assistance to the extent you believe necessary. The trading strategies or related information mentioned in this article is for informational purposes only.<\/small><\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Prophet is a large library developed by Facebook Inc. that facilitates Natural Language Processing (NLP) tasks. In this post we understand how to install Prophet on Mac machines, because depending on the configuration we have on the machine, we may face some installation problems.<\/p>\n","protected":false},"author":387,"featured_media":67841,"comment_status":"closed","ping_status":"open","sticky":true,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[339,343,349,338,350,341,351,352,344,2197],"tags":[6922,10386,2105,10384,6614,852,10383,2859,10382,10385,595],"contributors-categories":[13654],"class_list":{"0":"post-104115","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":"category-quant-asia-pacific","12":"category-quant-development","13":"category-quant-europe","14":"category-quant-north-america","15":"category-quant-regions","16":"category-quant-south-america","17":"tag-anaconda","18":"tag-cython","19":"tag-deep-learning","20":"tag-ipykernel","21":"tag-jupyter-notebook","22":"tag-machine-learning","23":"tag-miniconda","24":"tag-natural-language-processing","25":"tag-prophet-library","26":"tag-pystan","27":"tag-python","28":"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.3) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Installing Prophet Library on Mac | IBKR Quant<\/title>\n<meta name=\"description\" content=\"Prophet is a large library developed by Facebook Inc. that facilitates Natural Language Processing (NLP) tasks. In this post we understand how to...\" \/>\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\/104115\/\" \/>\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 Mac | IBKR Quant Blog\" \/>\n<meta property=\"og:description\" content=\"Prophet is a large library developed by Facebook Inc. that facilitates Natural Language Processing (NLP) tasks. In this post we understand how to install Prophet on Mac machines.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/installing-prophet-library-on-mac\/\" \/>\n<meta property=\"og:site_name\" content=\"IBKR Campus US\" \/>\n<meta property=\"article:published_time\" content=\"2021-09-22T18:20:52+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-11-21T14:48:04+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2020\/12\/vector-grid-blue.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=\"Mario Pisa\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Mario Pisa\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 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-mac\\\/#article\",\n\t            \"isPartOf\": {\n\t                \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/installing-prophet-library-on-mac\\\/\"\n\t            },\n\t            \"author\": {\n\t                \"name\": \"Mario Pisa\",\n\t                \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#\\\/schema\\\/person\\\/f2bfe36ae4f6f088b98f90558d37ed12\"\n\t            },\n\t            \"headline\": \"Installing Prophet Library on Mac\",\n\t            \"datePublished\": \"2021-09-22T18:20:52+00:00\",\n\t            \"dateModified\": \"2022-11-21T14:48:04+00:00\",\n\t            \"mainEntityOfPage\": {\n\t                \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/installing-prophet-library-on-mac\\\/\"\n\t            },\n\t            \"wordCount\": 818,\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-mac\\\/#primaryimage\"\n\t            },\n\t            \"thumbnailUrl\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2020\\\/12\\\/vector-grid-blue.jpg\",\n\t            \"keywords\": [\n\t                \"Anaconda\",\n\t                \"Cython\",\n\t                \"Deep Learning\",\n\t                \"ipykernel\",\n\t                \"Jupyter Notebook\",\n\t                \"Machine Learning\",\n\t                \"Miniconda\",\n\t                \"Natural Language Processing\",\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                \"Quant Asia Pacific\",\n\t                \"Quant Development\",\n\t                \"Quant Europe\",\n\t                \"Quant North America\",\n\t                \"Quant Regions\",\n\t                \"Quant South America\"\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-mac\\\/\",\n\t            \"url\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/installing-prophet-library-on-mac\\\/\",\n\t            \"name\": \"Installing Prophet Library on Mac | 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-mac\\\/#primaryimage\"\n\t            },\n\t            \"image\": {\n\t                \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/installing-prophet-library-on-mac\\\/#primaryimage\"\n\t            },\n\t            \"thumbnailUrl\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2020\\\/12\\\/vector-grid-blue.jpg\",\n\t            \"datePublished\": \"2021-09-22T18:20:52+00:00\",\n\t            \"dateModified\": \"2022-11-21T14:48:04+00:00\",\n\t            \"description\": \"Prophet is a large library developed by Facebook Inc. that facilitates Natural Language Processing (NLP) tasks. In this post we understand how to install Prophet on Mac machines.\",\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-mac\\\/\"\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-mac\\\/#primaryimage\",\n\t            \"url\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2020\\\/12\\\/vector-grid-blue.jpg\",\n\t            \"contentUrl\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2020\\\/12\\\/vector-grid-blue.jpg\",\n\t            \"width\": 900,\n\t            \"height\": 550,\n\t            \"caption\": \"Quant\"\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\\\/f2bfe36ae4f6f088b98f90558d37ed12\",\n\t            \"name\": \"Mario Pisa\",\n\t            \"url\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/author\\\/mariopisa\\\/\"\n\t        }\n\t    ]\n\t}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Installing Prophet Library on Mac | IBKR Quant","description":"Prophet is a large library developed by Facebook Inc. that facilitates Natural Language Processing (NLP) tasks. In this post we understand how to...","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\/104115\/","og_locale":"en_US","og_type":"article","og_title":"Installing Prophet Library on Mac | IBKR Quant Blog","og_description":"Prophet is a large library developed by Facebook Inc. that facilitates Natural Language Processing (NLP) tasks. In this post we understand how to install Prophet on Mac machines.","og_url":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/installing-prophet-library-on-mac\/","og_site_name":"IBKR Campus US","article_published_time":"2021-09-22T18:20:52+00:00","article_modified_time":"2022-11-21T14:48:04+00:00","og_image":[{"width":900,"height":550,"url":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2020\/12\/vector-grid-blue.jpg","type":"image\/jpeg"}],"author":"Mario Pisa","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Mario Pisa","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"NewsArticle","@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/installing-prophet-library-on-mac\/#article","isPartOf":{"@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/installing-prophet-library-on-mac\/"},"author":{"name":"Mario Pisa","@id":"https:\/\/ibkrcampus.com\/campus\/#\/schema\/person\/f2bfe36ae4f6f088b98f90558d37ed12"},"headline":"Installing Prophet Library on Mac","datePublished":"2021-09-22T18:20:52+00:00","dateModified":"2022-11-21T14:48:04+00:00","mainEntityOfPage":{"@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/installing-prophet-library-on-mac\/"},"wordCount":818,"publisher":{"@id":"https:\/\/ibkrcampus.com\/campus\/#organization"},"image":{"@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/installing-prophet-library-on-mac\/#primaryimage"},"thumbnailUrl":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2020\/12\/vector-grid-blue.jpg","keywords":["Anaconda","Cython","Deep Learning","ipykernel","Jupyter Notebook","Machine Learning","Miniconda","Natural Language Processing","Prophet library","pystan","Python"],"articleSection":["Data Science","Programming Languages","Python Development","Quant","Quant Asia Pacific","Quant Development","Quant Europe","Quant North America","Quant Regions","Quant South America"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/installing-prophet-library-on-mac\/","url":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/installing-prophet-library-on-mac\/","name":"Installing Prophet Library on Mac | IBKR Quant Blog","isPartOf":{"@id":"https:\/\/ibkrcampus.com\/campus\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/installing-prophet-library-on-mac\/#primaryimage"},"image":{"@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/installing-prophet-library-on-mac\/#primaryimage"},"thumbnailUrl":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2020\/12\/vector-grid-blue.jpg","datePublished":"2021-09-22T18:20:52+00:00","dateModified":"2022-11-21T14:48:04+00:00","description":"Prophet is a large library developed by Facebook Inc. that facilitates Natural Language Processing (NLP) tasks. In this post we understand how to install Prophet on Mac machines.","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/installing-prophet-library-on-mac\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/installing-prophet-library-on-mac\/#primaryimage","url":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2020\/12\/vector-grid-blue.jpg","contentUrl":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2020\/12\/vector-grid-blue.jpg","width":900,"height":550,"caption":"Quant"},{"@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\/f2bfe36ae4f6f088b98f90558d37ed12","name":"Mario Pisa","url":"https:\/\/www.interactivebrokers.com\/campus\/author\/mariopisa\/"}]}},"jetpack_featured_media_url":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2020\/12\/vector-grid-blue.jpg","_links":{"self":[{"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/posts\/104115","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\/387"}],"replies":[{"embeddable":true,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/comments?post=104115"}],"version-history":[{"count":0,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/posts\/104115\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/media\/67841"}],"wp:attachment":[{"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/media?parent=104115"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/categories?post=104115"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/tags?post=104115"},{"taxonomy":"contributors-categories","embeddable":true,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/contributors-categories?post=104115"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}