sopel-irc / docker-sopel

:whale: Officially Unofficial™ Docker container for Sopel, a Python IRC bot
https://hub.docker.com/r/sopelirc/sopel
12 stars 6 forks source link

Unable to install sopel-modules.youtube given google-api-python-client #17

Closed HumorBaby closed 5 years ago

HumorBaby commented 5 years ago

Installing google-api-python-client and sopel-modules.youtube in pip install ... command leads to the following error:

Traceback (most recent call last):                                                                             
  File "<string>", line 1, in <module>                                                                         
  File "/tmp/pip-install-9xi7_v2p/sopel-modules.youtube/setup.py", line 7, in <module>                         
    from sopel_modules.youtube import __version__                                                              
  File "/tmp/pip-install-9xi7_v2p/sopel-modules.youtube/sopel_modules/youtube/__init__.py", line 8, in <module>
    from .youtube import *                                                                                     
  File "/tmp/pip-install-9xi7_v2p/sopel-modules.youtube/sopel_modules/youtube/youtube.py", line 12, in <module>
    import apiclient.discovery                                                                                 
ImportError: No module named 'apiclient'                                                                       

This has now been resolved in sopel-irc/sopel-youtube#13, but I think it's still a good idea if dependencies are installed sequentially, instead of simultaneously, to avoid future issues like this.