Comments (4)
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.
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.
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.
Closing because this is not an issue with this script.
from dropbox-restore.
Related Issues (20)
- Accidentally unlinked HistoryRestore application HOT 2
- Error on first run HOT 1
- App not putting me through the OAuth 2 authorization flow again HOT 2
- Files outside the retention window are deleted locally HOT 3
- Dropbox refuses more API calls HOT 1
- when going to the authorization screen I get the following error: HOT 1
- Invalid future date check HOT 1
- the app can't accept more users HOT 1
- ImportError: No module named dropbox HOT 2
- 'can't accept more users' error HOT 1
- App in development mode HOT 4
- Internal Server Error (500 & 503) HOT 3
- Can't restore folders with extended characters (éàöè...) HOT 3
- New Dropbox API HOT 4
- Performance improvement for cherry-picking HOT 2
- Restoring folders doesn't preserve case HOT 1
- Restore files in Root Folder HOT 1
- Restoration ran well but I cannot find my restored files & folders HOT 1
- 'module' object has no attribute 'client' HOT 3
- Getting a List Revision Error HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dropbox-restore.