Coder Social home page Coder Social logo

Comments (4)

clark800 avatar clark800 commented on September 25, 2024

The only thing I can think of is that you might be running Python with a different version than you are running pip with, but it looks like you are using 2.7 for both, so I don't know what's wrong. Post the solution if you figure it out.

from dropbox-restore.

Bobobrien92 avatar Bobobrien92 commented on September 25, 2024

Hey I was able to circumnavigate this issue by specifying where I was installing the dropbox module.

In restore.py I changed "import sys, os, dropbox, time" to "import sys, os, imp, time".
Then in the next line I imported dropbox by adding:
dropbox = imp.load_source('dropbox', '/usr/local/lib/python2.7/site-packages/dropbox').

That seemed to fix it for me. This assumes you have the module installed there though. You may need to locate the exact directory path by finding your python folder.

from dropbox-restore.

manifest3r avatar manifest3r commented on September 25, 2024

You might have multiple versions of Python installed. You have to reconfigure the Python command to call Python 2.7 not 2,6.

If you run "Python -V", it will output the version of Python currently called with the Python command. You might also have to update your pip version to 2.7.

from dropbox-restore.

clark800 avatar clark800 commented on September 25, 2024

Closing because this is not an issue with this script.

from dropbox-restore.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.