<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[I cannot install pandas 1.2.5]]></title><description><![CDATA[<p dir="auto">I'm using kaggle to test my strategies on the cloud.<br />
Today an error occurs:<br />
KeyError: "cannot represent labeled-based slice indexer for coordinate 'time' with a slice over integer positions; the index is unsorted or non-unique"<br />
<img src="/community/assets/uploads/files/1718640968598-%E8%9E%A2%E5%B9%95%E6%93%B7%E5%8F%96%E7%95%AB%E9%9D%A2-2024-06-18-001539.png" alt="螢幕擷取畫面 2024-06-18 001539.png" class="img-responsive img-markdown" /> <img src="/community/assets/uploads/files/1718640968007-%E8%9E%A2%E5%B9%95%E6%93%B7%E5%8F%96%E7%95%AB%E9%9D%A2-2024-06-18-001518.png" alt="螢幕擷取畫面 2024-06-18 001518.png" class="img-responsive img-markdown" /><br />
Then I check the installation of the packages. I found that pandas 1.2.5 was not successfully installed, which cause the error.<br />
<img src="/community/assets/uploads/files/1718641052942-%E8%9E%A2%E5%B9%95%E6%93%B7%E5%8F%96%E7%95%AB%E9%9D%A2-2024-06-18-001720.png" alt="螢幕擷取畫面 2024-06-18 001720.png" class="img-responsive img-markdown" /><br />
<img src="/community/assets/uploads/files/1718641085002-%E8%9E%A2%E5%B9%95%E6%93%B7%E5%8F%96%E7%95%AB%E9%9D%A2-2024-06-18-001752.png" alt="螢幕擷取畫面 2024-06-18 001752.png" class="img-responsive img-markdown" /><br />
The error results from the wrong version of pandas, but I cannot install pandas 1.2.5, so I cannot fix the error.<br />
Does anyone know how to install pandas 1.2.5 on kaggle?<br />
I may need some help from <a class="plugin-mentions-user plugin-mentions-a" href="http://quantiacs.com/community/uid/12">@support</a><br />
Thx very much</p>
]]></description><link>http://quantiacs.com/community/topic/594/i-cannot-install-pandas-1-2-5</link><generator>RSS for Node</generator><lastBuildDate>Sat, 11 Apr 2026 08:03:19 GMT</lastBuildDate><atom:link href="http://quantiacs.com/community/topic/594.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 17 Jun 2024 16:18:20 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to I cannot install pandas 1.2.5 on Fri, 21 Jun 2024 03:12:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://quantiacs.com/community/uid/12">@support</a> Thx for ur reply<br />
I'll try it</p>
]]></description><link>http://quantiacs.com/community/post/1745</link><guid isPermaLink="true">http://quantiacs.com/community/post/1745</guid><dc:creator><![CDATA[omohyoid]]></dc:creator><pubDate>Fri, 21 Jun 2024 03:12:08 GMT</pubDate></item><item><title><![CDATA[Reply to I cannot install pandas 1.2.5 on Thu, 20 Jun 2024 08:51:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://quantiacs.com/community/uid/878">@omohyoid</a> I did some tests and yes, there is a problem. Unfortunately, updating pandas is not as trivial task as one could think and we are working on it. For now, the problem can be solved by downgrading cython package before trying to install pandas. Here is how to do it properly:</p>
<pre><code>!apt-get update &amp;&amp; apt-get install -y gcc g++ 
!pip install --no-cache-dir 'cython==0.29.37' 
!pip install --no-cache-dir --no-build-isolation 'pandas==1.2.5'
</code></pre>
]]></description><link>http://quantiacs.com/community/post/1744</link><guid isPermaLink="true">http://quantiacs.com/community/post/1744</guid><dc:creator><![CDATA[support]]></dc:creator><pubDate>Thu, 20 Jun 2024 08:51:18 GMT</pubDate></item><item><title><![CDATA[Reply to I cannot install pandas 1.2.5 on Thu, 20 Jun 2024 08:02:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://quantiacs.com/community/uid/878">@omohyoid</a> Apparently it can't find dependencies to build Pandas. In a clean container you may not have gcc and g++ packages installed.</p>
<p dir="auto">Try to do <code>apt-get install --yes gcc g++</code> before installing Pandas.</p>
]]></description><link>http://quantiacs.com/community/post/1743</link><guid isPermaLink="true">http://quantiacs.com/community/post/1743</guid><dc:creator><![CDATA[support]]></dc:creator><pubDate>Thu, 20 Jun 2024 08:02:51 GMT</pubDate></item><item><title><![CDATA[Reply to I cannot install pandas 1.2.5 on Thu, 20 Jun 2024 03:15:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://quantiacs.com/community/uid/2784">@illustrious-felice</a> It still fails to install pandas 1.2.5 in GCP<br />
<img src="/community/assets/uploads/files/1718853290069-%E8%9E%A2%E5%B9%95%E6%93%B7%E5%8F%96%E7%95%AB%E9%9D%A2-2024-06-20-111334.png" alt="螢幕擷取畫面 2024-06-20 111334.png" class="img-responsive img-markdown" /></p>
]]></description><link>http://quantiacs.com/community/post/1742</link><guid isPermaLink="true">http://quantiacs.com/community/post/1742</guid><dc:creator><![CDATA[omohyoid]]></dc:creator><pubDate>Thu, 20 Jun 2024 03:15:18 GMT</pubDate></item><item><title><![CDATA[Reply to I cannot install pandas 1.2.5 on Thu, 20 Jun 2024 02:58:04 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://quantiacs.com/community/uid/2784">@illustrious-felice</a> Thanks for ur suggestion, I'll try it</p>
]]></description><link>http://quantiacs.com/community/post/1741</link><guid isPermaLink="true">http://quantiacs.com/community/post/1741</guid><dc:creator><![CDATA[omohyoid]]></dc:creator><pubDate>Thu, 20 Jun 2024 02:58:04 GMT</pubDate></item><item><title><![CDATA[Reply to I cannot install pandas 1.2.5 on Wed, 19 Jun 2024 17:05:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://quantiacs.com/community/uid/12">@support</a> <img src="/community/assets/uploads/files/1718816648002-%E8%9E%A2%E5%B9%95%E6%93%B7%E5%8F%96%E7%95%AB%E9%9D%A2-2024-06-20-010314.png" alt="螢幕擷取畫面 2024-06-20 010314.png" class="img-responsive img-markdown" /><br />
Do you mean I need to run the commands like this?</p>
]]></description><link>http://quantiacs.com/community/post/1740</link><guid isPermaLink="true">http://quantiacs.com/community/post/1740</guid><dc:creator><![CDATA[omohyoid]]></dc:creator><pubDate>Wed, 19 Jun 2024 17:05:07 GMT</pubDate></item><item><title><![CDATA[Reply to I cannot install pandas 1.2.5 on Wed, 19 Jun 2024 09:14:11 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://quantiacs.com/community/uid/878">@omohyoid</a> Hi,</p>
<p dir="auto">We recently upgraded our library to use Python v3.10, but it still requires Pandas v1.2.5 to function properly. To avoid dependency issues, we recommend using <a href="https://anaconda.org/" rel="nofollow ugc">Conda</a> to create an environment and then installing Pandas v1.2.5 with <code>pip</code>. Here’s the approach:</p>
<ol>
<li>Use Conda to set up the environment.</li>
<li>As the final step, install Pandas 1.2.5 using the command <code>pip install 'pandas==1.2.5'</code>.</li>
</ol>
<p dir="auto">This method installs everything without errors and ensures compatibility. Until we update the <code>qnt</code> library to support a newer version of Pandas, you can use this strategy to set up your environment.</p>
<p dir="auto">If you encounter any issues or have further questions, feel free to reach out.</p>
]]></description><link>http://quantiacs.com/community/post/1739</link><guid isPermaLink="true">http://quantiacs.com/community/post/1739</guid><dc:creator><![CDATA[support]]></dc:creator><pubDate>Wed, 19 Jun 2024 09:14:11 GMT</pubDate></item><item><title><![CDATA[Reply to I cannot install pandas 1.2.5 on Wed, 19 Jun 2024 01:18:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://quantiacs.com/community/uid/878">@omohyoid</a> Hi, you can switch to google colab</p>
]]></description><link>http://quantiacs.com/community/post/1738</link><guid isPermaLink="true">http://quantiacs.com/community/post/1738</guid><dc:creator><![CDATA[illustrious.felice]]></dc:creator><pubDate>Wed, 19 Jun 2024 01:18:07 GMT</pubDate></item></channel></rss>