<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Streamlit &#8211; Hostry Help Center</title>
	<atom:link href="https://help.hostry.com/article-tags/streamlit/feed/" rel="self" type="application/rss+xml" />
	<link>https://help.hostry.com</link>
	<description>Full information on how to use HOSTRY, provided by 24/7 community based support</description>
	<lastBuildDate>Thu, 16 Sep 2021 08:37:39 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.9.13</generator>

<image>
	<url>https://help.hostry.com/wp-content/uploads/cache/2021/01/cropped-apple-icon-180x180-1/836712163.png</url>
	<title>Streamlit &#8211; Hostry Help Center</title>
	<link>https://help.hostry.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>How to Install Streamlit on CentOS</title>
		<link>https://help.hostry.com/knowledge-base/how-to-install-streamlit-on-centos/</link>
					<comments>https://help.hostry.com/knowledge-base/how-to-install-streamlit-on-centos/#respond</comments>
		
		<dc:creator><![CDATA[Alex]]></dc:creator>
		<pubDate>Thu, 16 Sep 2021 08:37:38 +0000</pubDate>
				<guid isPermaLink="false">https://help.hostry.com/?post_type=ht_kb&#038;p=4262</guid>

					<description><![CDATA[Streamlit is an open source Python library. This utility is designed to create custom web applications for machine learning and data analysis. It is one of the fastest ways to design, build, and deploy data processing applications. Installing and Configuring Prerequisites An important component in installing Streamlit is the availability and [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p><strong><a href="https://streamlit.io/">Streamlit</a></strong> is an open source Python library. This utility is designed to create custom web applications for machine learning and data analysis. It is one of the fastest ways to design, build, and deploy data processing applications.</p>



<h2 id="installing-and-configuring-prerequisites" >Installing and Configuring Prerequisites</h2>



<p>An important component in installing Streamlit is the availability and latest updates to Python. You need to install the required dependencies to compile the Python source code. You can do it like this:</p>



<pre class="wp-block-code"><code>yum groupinstall 'development tools' -y &amp;&amp; yum install wget openssl-devel bzip2-devel libffi-devel xz-devel -y</code></pre>



<p>The current version for this moment is Python 3.9.6. Using wget, install this:</p>



<pre class="wp-block-code"><code>wget https://www.python.org/ftp/python/3.9.6/Python-3.9.6.tgz</code></pre>



<p>Next – unarchive</p>



<pre class="wp-block-code"><code>tar xzf Python-3.9.6.tgz</code></pre>



<p>Then compiling the code with&nbsp;<strong><em>cd</em></strong></p>



<pre class="wp-block-code"><code>cd Python-3.9.6 &amp;&amp; ./configure --enable-optimizations</code></pre>



<p>Then the Python installation itself. Once again, we draw your attention to the relevance of&nbsp;<strong>Python 3.9.6</strong></p>



<pre class="wp-block-code"><code>make altinstall</code></pre>



<p>Set Python 3.9.6 as the default version using the command below:</p>



<pre class="wp-block-code"><code>alternatives --install /usr/bin/python3 python3 /usr/local/bin/python3.9 1 &amp;&amp; alternatives --set python3 /usr/local/bin/python3.9 &amp;&amp; echo "2" | alternatives --config python</code></pre>



<p>Update your pip. Location -> <strong>/usr/local/bin/python3.9</strong></p>



<pre class="wp-block-code"><code># /usr/local/bin/python3.9 -m pip install --upgrade pip</code></pre>



<p>Then, after checking your Python version (# <strong><em>python –version &amp;&amp; pip –version</em></strong>), you can go to your cd root directory</p>



<h2 id="installing-streamlit" id="installing-streamlit" >Installing Streamlit</h2>



<p>Install your Streamlit using pip. The pip update has already been configured before, and now everything is ready for installation:</p>



<pre class="wp-block-code"><code>pip install streamlit</code></pre>



<p>After successfully installing Streamlit, you need to run it on your operating system. In this article, we are talking about Debian. It is possible to run Streamlit through your HTTPS. To deploy a web application to an HTTP port, first allow the http port on the firewall. As a reminder, http – port is 80, by default:</p>



<pre class="wp-block-code"><code>firewall-cmd --permanent --add-service=http</code></pre>



<p>Then, after successful actions, you need to reboot your firewall. This can be done with the following program:</p>



<pre class="wp-block-code"><code>firewall-cmd --reload</code></pre>



<p>Then start your&nbsp;<strong>Streamlit&nbsp;</strong>using the following command:</p>



<pre class="wp-block-code"><code>streamlit run main.py --server.port 80</code></pre>
]]></content:encoded>
					
					<wfw:commentRss>https://help.hostry.com/knowledge-base/how-to-install-streamlit-on-centos/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Install Streamlit on Debian 10</title>
		<link>https://help.hostry.com/knowledge-base/how-to-install-streamlit-on-debian-10/</link>
					<comments>https://help.hostry.com/knowledge-base/how-to-install-streamlit-on-debian-10/#respond</comments>
		
		<dc:creator><![CDATA[Alex]]></dc:creator>
		<pubDate>Tue, 14 Sep 2021 07:09:47 +0000</pubDate>
				<guid isPermaLink="false">https://help.hostry.com/?post_type=ht_kb&#038;p=4235</guid>

					<description><![CDATA[Streamlit is an open source Python library. This utility is designed to create custom web applications for machine learning and data analysis. It is one of the fastest ways to design, build, and deploy data processing applications. Installing and Configuring Prerequisites An important component in installing Streamlit is the availability and [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p><strong><a href="https://streamlit.io/">Streamlit</a></strong> is an open source Python library. This utility is designed to create custom web applications for machine learning and data analysis. It is one of the fastest ways to design, build, and deploy data processing applications.</p>



<h2 id="installing-and-configuring-prerequisites" >Installing and Configuring Prerequisites</h2>



<p>An important component in installing Streamlit is the availability and latest updates to Python. You need to install the required dependencies to compile the Python source code. You can do it like this:</p>



<pre class="wp-block-code"><code>apt-get install wget build-essential libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev libffi-dev zlib1g-dev liblzma-dev -y</code></pre>



<p>The current version for this moment is Python 3.9.6. Using wget, install this:</p>



<pre class="wp-block-code"><code>wget https://www.python.org/ftp/python/3.9.6/Python-3.9.6.tgz</code></pre>



<p>Next &#8211; unarchive</p>



<pre class="wp-block-code"><code>tar xzf Python-3.9.6.tgz</code></pre>



<p>Then compiling the code with <strong><em>cd</em></strong></p>



<pre class="wp-block-code"><code>cd Python-3.9.6 &amp;&amp; ./configure --enable-optimizations</code></pre>



<p>Then the Python installation itself. Once again, we draw your attention to the relevance of <strong>Python 3.9.6</strong></p>



<pre class="wp-block-code"><code>make altinstall</code></pre>



<p>Set Python 3.9.6 as the default version using the command below:</p>



<pre class="wp-block-code"><code>update-alternatives --install /usr/bin/python python /usr/local/bin/python3.9 1</code></pre>



<p>Update your pip. Location -> <strong>/usr/local/bin/python3.9</strong></p>



<pre class="wp-block-code"><code>/usr/local/bin/python3.9 -m pip install --upgrade pip</code></pre>



<p>Then, after checking your Python version (# <strong><em>python &#8211;version &amp;&amp; pip &#8211;version</em></strong>), you can go to your cd root directory</p>



<h2 id="installing-streamlit" >Installing Streamlit</h2>



<p>Install your Streamlit using pip. The pip update has already been configured before, and now everything is ready for installation:</p>



<pre class="wp-block-code"><code>pip install streamlit</code></pre>



<p>After successfully installing Streamlit, you need to run it on your operating system. In this article, we are talking about Debian. It is possible to run Streamlit through your HTTPS. To deploy a web application to an HTTP port, first allow the http port on the firewall. As a reminder, http &#8211; port is 80, by default:</p>



<pre class="wp-block-code"><code>ufw allow 80</code></pre>



<p>Then start your <strong>Streamlit </strong>using the following command:</p>



<pre class="wp-block-code"><code>streamlit run main.py --server.port 80</code></pre>
]]></content:encoded>
					
					<wfw:commentRss>https://help.hostry.com/knowledge-base/how-to-install-streamlit-on-debian-10/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Install Streamlit on Ubuntu 20.04</title>
		<link>https://help.hostry.com/knowledge-base/how-to-install-streamlit-on-ubuntu-20-04/</link>
					<comments>https://help.hostry.com/knowledge-base/how-to-install-streamlit-on-ubuntu-20-04/#respond</comments>
		
		<dc:creator><![CDATA[Alex]]></dc:creator>
		<pubDate>Mon, 23 Aug 2021 13:13:28 +0000</pubDate>
				<guid isPermaLink="false">https://help.hostry.com/?post_type=ht_kb&#038;p=4192</guid>

					<description><![CDATA[Streamlit is an open source Python library. This utility is designed to create custom web applications for machine learning and data analysis. It is one of the fastest ways to design, build, and deploy data processing applications. Running Streamlit on Ubuntu 21.04 So, you decide to start Streamlit. To do [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p><strong><a href="https://streamlit.io/">Streamlit</a></strong> is an open source Python library. This utility is designed to create custom web applications for machine learning and data analysis. It is one of the fastest ways to design, build, and deploy data processing applications.</p>



<h2 id="running-streamlit-on-ubuntu-21-04" >Running Streamlit on Ubuntu 21.04</h2>



<p>So, you decide to start <strong>Streamlit</strong>. To do this, you will need to log into your server using SSH, the Streamlit process will close after logging out of the SSH session. To start Streamlit when you leave your <strong><a href="https://help.hostry.com/knowledge-base/how-do-i-connect-to-my-server-via-ssh/">SSH</a></strong> session, use tmux, a terminal muxer. Using a terminal multiplexer will allow you to run the Streamlit process in the background. In order for you to be able to create a <strong>tmux</strong> session, you need to run the following command:</p>



<pre class="wp-block-code"><code>tmux new -s StreamlitSession</code></pre>



<h2 id="start-streamlit-on-the-default-port" >Start Streamlit on the default port</h2>



<p>Once you go to the given terminal, you will be given the option to enter your main python script</p>



<pre class="wp-block-code"><code>streamlit run main.py</code></pre>



<p>The moment you start Streamlit for the first time, you will be prompted to enter your email address. To receive regular Streamlit updates, enter your email address or press ENTER to skip it. To view your deployed web application, visit your server&#8217;s IP address at the default Streamlit port, 8501. For example: </p>



<pre class="wp-block-code"><code>http:&#47;&#47;192.1.2.15:8501</code></pre>
]]></content:encoded>
					
					<wfw:commentRss>https://help.hostry.com/knowledge-base/how-to-install-streamlit-on-ubuntu-20-04/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
