<?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 'dropbox is not a package' in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/dropbox-is-not-a-package/m-p/244603#M13769</link>
    <description>&lt;P&gt;So I'm trying to get started with backup-and-restore.py. I've run pip3 install --user dropbox, and the output of find /usr -name dropbox is&amp;nbsp;&lt;/P&gt;&lt;P&gt;$ find /usr -name dropbox&lt;BR /&gt;/usr/lib/python2.7/site-packages/dropbox&lt;BR /&gt;/usr/lib/python3.6/site-packages/dropbox&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So it's definitely installed. However, running the file leads to&amp;nbsp;&lt;/P&gt;&lt;P&gt;Traceback (most recent call last):&lt;BR /&gt;File "dropbox.py", line 4, in &amp;lt;module&amp;gt;&lt;BR /&gt;import dropbox&lt;BR /&gt;File "/home/amr/Downloads/dropbox.py", line 5, in &amp;lt;module&amp;gt;&lt;BR /&gt;from dropbox.files import WriteMode&lt;BR /&gt;ModuleNotFoundError: No module named 'dropbox.files'; 'dropbox' is not a package&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also went into a python console and did&lt;/P&gt;&lt;P&gt;import sys&lt;/P&gt;&lt;P&gt;print(sys.path)&lt;/P&gt;&lt;P&gt;['', '/usr/lib64/python36.zip', '/usr/lib64/python3.6', '/usr/lib64/python3.6/lib-dynload', '/home/amr/.local/lib/python3.6/site-packages', '/usr/lib64/python3.6/site-packages', '/usr/lib/python3.6/site-packages']&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So it should definitely be finding it. Has anyone else had this error or can offer any advice? I was hoping to get this up and running quickly and not be falling at the first hurdle.&lt;/P&gt;</description>
    <pubDate>Wed, 29 May 2019 09:18:50 GMT</pubDate>
    <dc:creator>mraureliusr</dc:creator>
    <dc:date>2019-05-29T09:18:50Z</dc:date>
    <item>
      <title>'dropbox is not a package'</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/dropbox-is-not-a-package/m-p/244603#M13769</link>
      <description>&lt;P&gt;So I'm trying to get started with backup-and-restore.py. I've run pip3 install --user dropbox, and the output of find /usr -name dropbox is&amp;nbsp;&lt;/P&gt;&lt;P&gt;$ find /usr -name dropbox&lt;BR /&gt;/usr/lib/python2.7/site-packages/dropbox&lt;BR /&gt;/usr/lib/python3.6/site-packages/dropbox&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So it's definitely installed. However, running the file leads to&amp;nbsp;&lt;/P&gt;&lt;P&gt;Traceback (most recent call last):&lt;BR /&gt;File "dropbox.py", line 4, in &amp;lt;module&amp;gt;&lt;BR /&gt;import dropbox&lt;BR /&gt;File "/home/amr/Downloads/dropbox.py", line 5, in &amp;lt;module&amp;gt;&lt;BR /&gt;from dropbox.files import WriteMode&lt;BR /&gt;ModuleNotFoundError: No module named 'dropbox.files'; 'dropbox' is not a package&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also went into a python console and did&lt;/P&gt;&lt;P&gt;import sys&lt;/P&gt;&lt;P&gt;print(sys.path)&lt;/P&gt;&lt;P&gt;['', '/usr/lib64/python36.zip', '/usr/lib64/python3.6', '/usr/lib64/python3.6/lib-dynload', '/home/amr/.local/lib/python3.6/site-packages', '/usr/lib64/python3.6/site-packages', '/usr/lib/python3.6/site-packages']&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So it should definitely be finding it. Has anyone else had this error or can offer any advice? I was hoping to get this up and running quickly and not be falling at the first hurdle.&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:18:50 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/dropbox-is-not-a-package/m-p/244603#M13769</guid>
      <dc:creator>mraureliusr</dc:creator>
      <dc:date>2019-05-29T09:18:50Z</dc:date>
    </item>
    <item>
      <title>Re: 'dropbox is not a package'</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/dropbox-is-not-a-package/m-p/244731#M13793</link>
      <description>It looks like you've named your own file "dropbox.py", which is confusing the Python import. Try renaming it to something else instead. (Also, be sure to delete any dropbox.pyc of your own left over.)</description>
      <pubDate>Mon, 02 Oct 2017 18:35:26 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/dropbox-is-not-a-package/m-p/244731#M13793</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-10-02T18:35:26Z</dc:date>
    </item>
  </channel>
</rss>

