-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
httplib2 is not declared as a dependency #37
Comments
Hmmm.. looking more closely at this, it turns out it's actually an issue with how Anki is packaged, I think:
Looks like the anki dependency is not explicitly declared here, and is being pulled in from the system install of anki, so the virtualenv isn't pulling in Anki's dependencies. Not sure if you want to make them an explicit dependency of this package even though they aren't used directly. Seems like a weird way to do things. |
httplib2 is meant to be bundled with the anki source code, and we shouldn't have to install it separately. How did you go about installing anki? Is the |
@dsnopek Yes, agreed that it should be shipping with Anki. As I mentioned in my PR, I think an alternate approach would be to mention this in the documentation about using a virtualenv. It's been a long time since I installed Anki, but I'm on Ubuntu 15.04 and if I had to guess I probably used Not the right place to discuss it, I guess, but I think it would be nice if the library portions of |
Ok, thanks! Well, we bundle a copy of Anki (or at least we should be doing that - it's possible the last release got messed up?) in anki-sync-server, so if you install with pip you should have everything you need. But if that's broken too, please open another issue. |
When installing in a fresh virtualenv, trying to run
ankiserverctl.py
gives:I believe this is just a matter of adding
httplib2
into the dependencies insetup.py
. Installinghttplib2
with pip fixes the issue.The text was updated successfully, but these errors were encountered: