youtube-upload icon indicating copy to clipboard operation
youtube-upload copied to clipboard

How can I fix ImportError?

Open missflash opened this issue 4 years ago • 0 comments

Describe the bug Although I upgrade several modules (google-api-python-client google-api-core oauth2client progressbar2), I still have a ImportError "ImportError: No module named api_core.client_options".

  • Upgrade script (It shows "Requirement already satisfied") python -m pip install --upgrade google-api-python-client google-api-core oauth2client progressbar2

  • Error message Traceback (most recent call last): File "/bin/youtube-upload", line 9, in from youtube_upload import main
    File "/volume1/MF_1/MF_Backup/Synology/apps/Python/lib/python2.7/site-packages/youtube_upload/main.py", line 30, in from . import auth File "/volume1/MF_1/MF_Backup/Synology/apps/Python/lib/python2.7/site-packages/youtube_upload/auth/init.py", line 3, in import googleapiclient.discovery File "/volume1/MF_1/MF_Backup/Synology/apps/Python/lib/python2.7/site-packages/googleapiclient/discovery.py", line 49, in import google.api_core.client_options ImportError: No module named api_core.client_options

Desktop (please complete the following information):

  • OS : GNU/Linux
  • OS Version : 22
  • Python Version : 2.7.12

missflash avatar Jul 25 '20 19:07 missflash