ImportError: No module named requests

Asked by dimetry on 2015-07-19

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:
2015-07-19
Last query:
2015-07-19
Last reply:
2015-07-19
Best Peter Levi (peterlevi) said : #1

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

dimetry (info999) said : #2

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

dimetry (info999) said : #3

Thanks Peter Levi, that solved my question.