ImportError: No module named requests

Asked by dimetry

I've used Variety during last year.
But now I've got error when try to start:

$ variety
Traceback (most recent call last):
  File "/usr/bin/variety", line 38, in <module>
    import variety
  File "/usr/lib/python2.7/dist-packages/variety/__init__.py", line 107, in <module>
    from variety import VarietyWindow
  File "/usr/lib/python2.7/dist-packages/variety/VarietyWindow.py", line 55, in <module>
    from variety.UnsplashDownloader import UnsplashDownloader
  File "/usr/lib/python2.7/dist-packages/variety/UnsplashDownloader.py", line 26, in <module>
    import requests
ImportError: No module named requests

I'm at Ubuntu 15.04 now.

What missing packages can I try to (re)install?

Question information

Language:
English Edit question
Status:
Solved
For:
Variety Edit question
Assignee:
No assignee Edit question
Solved by:
Peter Levi
Solved:
Last query:
Last reply:
Revision history for this message
Best Peter Levi (peterlevi) said :
#1

I suppose you are using the daily ppa? My error, I will fix this. Try installing python-requests.

Revision history for this message
dimetry (info999) said :
#2

You are right.
Now all work well.
Thank you for very useful software.

Revision history for this message
dimetry (info999) said :
#3

Thanks Peter Levi, that solved my question.