<?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>topic Re: Python error on &amp;quot;import dropbox&amp;quot; in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-error-on-quot-import-dropbox-quot/m-p/547795#M26090</link>
    <description>&lt;P&gt;It's possible you actually have multiple versions of Python installed, so make sure you've installed the Dropbox package in the same Python environment that you're using to run your program. (For instance, you mentioned you're using Python 3.9.7, so depending on your setup you may need to use "pip3" to install packages instead of just "pip".)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Otherwise, there may be an issue with where/how your Python environment is looking for installed Python packages, such as via your PYTHONPATH setting. Refer to &lt;A href="https://docs.python.org/3/using/windows.html" target="_self"&gt;the Python documentation&lt;/A&gt; for information on configuring your environment.&lt;/P&gt;</description>
    <pubDate>Wed, 29 Sep 2021 14:15:41 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2021-09-29T14:15:41Z</dc:date>
    <item>
      <title>Python error on "import dropbox"</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-error-on-quot-import-dropbox-quot/m-p/547678#M26089</link>
      <description>&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Today I successfully installed&amp;nbsp;Python 3.9.7 and the latest Pycharm version.&amp;nbsp;&lt;/FONT&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;I also installed the Dropbox API via the command:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &lt;FONT color="#000080"&gt;&lt;STRONG&gt;pip install dropbox&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;But my ONE-line Python program:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;FONT color="#000080"&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;import dropbox&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;fails with:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#800000"&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;Traceback (most recent call last):&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#800000"&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;File "G:\pytest\main.py", line 2, in &amp;lt;module&amp;gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#800000"&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;import dropbox&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#800000"&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;ModuleNotFoundError: No module named 'dropbox'&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" color="#000000"&gt;What am I doing wrong? How can I load the Dropbox APIs?&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Sep 2021 22:07:29 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-error-on-quot-import-dropbox-quot/m-p/547678#M26089</guid>
      <dc:creator>PhoggBandit</dc:creator>
      <dc:date>2021-09-28T22:07:29Z</dc:date>
    </item>
    <item>
      <title>Re: Python error on "import dropbox"</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-error-on-quot-import-dropbox-quot/m-p/547795#M26090</link>
      <description>&lt;P&gt;It's possible you actually have multiple versions of Python installed, so make sure you've installed the Dropbox package in the same Python environment that you're using to run your program. (For instance, you mentioned you're using Python 3.9.7, so depending on your setup you may need to use "pip3" to install packages instead of just "pip".)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Otherwise, there may be an issue with where/how your Python environment is looking for installed Python packages, such as via your PYTHONPATH setting. Refer to &lt;A href="https://docs.python.org/3/using/windows.html" target="_self"&gt;the Python documentation&lt;/A&gt; for information on configuring your environment.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Sep 2021 14:15:41 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-error-on-quot-import-dropbox-quot/m-p/547795#M26090</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2021-09-29T14:15:41Z</dc:date>
    </item>
    <item>
      <title>Re: Python error on "import dropbox"</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-error-on-quot-import-dropbox-quot/m-p/547902#M26093</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/10"&gt;@Greg-DB&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the prompt reply!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From the Windows command prompt "import dropbox"&amp;nbsp;imbedded in a test script was working fine:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#993300"&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;c:\&amp;gt; py test.py&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but was still failing even after I tried uninstalling Dropbox and reinstalling with the "pip3" command. I finally got it working from PyCharm by creating a new project and ticking the checkbox "Inherit global-site packages."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;* Point forward, should I also tick the checkbox "Make available to all projects"?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;* For an existing project, how can I enable the "Inherit global-site packages" setting? I realize I can simply create a new project and copy/paste code...&lt;/P&gt;</description>
      <pubDate>Wed, 29 Sep 2021 21:55:33 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-error-on-quot-import-dropbox-quot/m-p/547902#M26093</guid>
      <dc:creator>PhoggBandit</dc:creator>
      <dc:date>2021-09-29T21:55:33Z</dc:date>
    </item>
    <item>
      <title>Re: Python error on "import dropbox"</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-error-on-quot-import-dropbox-quot/m-p/548061#M26098</link>
      <description>&lt;P&gt;We can't provide support for using and configuring PyCharm, as it's not made by Dropbox. I recommend referring to the PyCharm documentation and support resources for guidance on that.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Sep 2021 15:06:15 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-error-on-quot-import-dropbox-quot/m-p/548061#M26098</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2021-09-30T15:06:15Z</dc:date>
    </item>
  </channel>
</rss>

