<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question [Superset]: No module named psycopg2 in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Superset-No-module-named-psycopg2/m-p/211213#M173155</link>
    <description>&lt;P&gt;I am trying to add a postgres database to superset. This is my connection URI: postgresql://username:password@localhost/mydatabase. &lt;BR /&gt;I keep getting the following error while trying to test connection: No module named psycopg2 !&lt;/P&gt;
&lt;P&gt;I made sure I installed this module using pip install psycopg2 in shell but it's still not working! &lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 19 Sep 2022 18:33:44 GMT</pubDate>
    <dc:creator>khouloud_lander</dc:creator>
    <dc:date>2022-09-19T18:33:44Z</dc:date>
    <item>
      <title>[Superset]: No module named psycopg2</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Superset-No-module-named-psycopg2/m-p/211213#M173155</link>
      <description>&lt;P&gt;I am trying to add a postgres database to superset. This is my connection URI: postgresql://username:password@localhost/mydatabase. &lt;BR /&gt;I keep getting the following error while trying to test connection: No module named psycopg2 !&lt;/P&gt;
&lt;P&gt;I made sure I installed this module using pip install psycopg2 in shell but it's still not working! &lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Sep 2022 18:33:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Superset-No-module-named-psycopg2/m-p/211213#M173155</guid>
      <dc:creator>khouloud_lander</dc:creator>
      <dc:date>2022-09-19T18:33:44Z</dc:date>
    </item>
    <item>
      <title>Re: [Superset]: No module named psycopg2</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Superset-No-module-named-psycopg2/m-p/211214#M173156</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/76162/khouloudlanderi.html" nodeid="76162"&gt;@Khouloud Landari&lt;/A&gt;In HDP superset is installed inside a python virtual environment. &lt;/P&gt;&lt;P&gt;In order to install psycopg2, you will need to run following command - &lt;/P&gt;&lt;PRE&gt;/usr/hdp/current/superset/bin/pip install psycopg2
&lt;/PRE&gt;&lt;P&gt;Alternatively, We package superset with pygresql and you can change the connection URI to use that - &lt;/P&gt;&lt;PRE&gt;postgresql+pygresql://user:password@host:port/dbname&lt;/PRE&gt;</description>
      <pubDate>Fri, 25 May 2018 22:18:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Superset-No-module-named-psycopg2/m-p/211214#M173156</guid>
      <dc:creator>nbangarwa</dc:creator>
      <dc:date>2018-05-25T22:18:44Z</dc:date>
    </item>
    <item>
      <title>Re: [Superset]: No module named psycopg2</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Superset-No-module-named-psycopg2/m-p/211215#M173157</link>
      <description>&lt;P&gt;Thank you &lt;A rel="user" href="https://community.cloudera.com/users/10777/nbangarwa.html" nodeid="10777"&gt;@Nishant Bangarwa&lt;/A&gt;! "No module psycopg2" solved! &lt;BR /&gt;Though I am getting another error now: &lt;BR /&gt;Error: Fatal: no pg_hba.conf entry for host "x.x.x.x", user "x", database "x", SSL off. &lt;BR /&gt;Plus, I am not sure about  the user &amp;amp; password for my Postgres database&lt;/P&gt;</description>
      <pubDate>Mon, 28 May 2018 19:23:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Superset-No-module-named-psycopg2/m-p/211215#M173157</guid>
      <dc:creator>khouloud_lander</dc:creator>
      <dc:date>2018-05-28T19:23:18Z</dc:date>
    </item>
  </channel>
</rss>

