Global AI and Data Science

 View Only
  • 1.  Cannot install openwhsiper on watson studio

    Posted Mon February 26, 2024 11:51 AM

    Hello All 

    for some reason i face problems installing openwhsiper on my juypter notebook , any thoughts ?! 

    from ibm_watson_studio_lib import access_project_or_space
    wslib = access_project_or_space()
    wslib.download_file("openai-whisper-20231117.tar.gz")
    !pip install --find-link . openai-whisper-20231117.tar.gz
    !pip install openai-whisper-20231117.tar.gz
    
    
    Looking in links: .
    Processing ./openai-whisper-20231117.tar.gz
      Installing build dependencies ... error
      error: subprocess-exited-with-error
      
      × pip subprocess to install build dependencies did not run successfully.
      │ exit code: 1
      ╰─> [9 lines of output]
          Looking in links: .
          WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f1902f574f0>: Failed to establish a new connection: [Errno 101] Network is unreachable')': /simple/setuptools/
          WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f1902f57a30>: Failed to establish a new connection: [Errno 101] Network is unreachable')': /simple/setuptools/
          WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f1902f579a0>: Failed to establish a new connection: [Errno 101] Network is unreachable')': /simple/setuptools/
          WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f1902f558d0>: Failed to establish a new connection: [Errno 101] Network is unreachable')': /simple/setuptools/
          WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f1902f57c40>: Failed to establish a new connection: [Errno 101] Network is unreachable')': /simple/setuptools/
          ERROR: Could not find a version that satisfies the requirement setuptools>=40.8.0 (from versions: none)
          ERROR: No matching distribution found for setuptools>=40.8.0
          
          [end of output]
      
      note: This error originates from a subprocess, and is likely not a problem with pip.
    error: subprocess-exited-with-error
    
    × pip subprocess to install build dependencies did not run successfully.
    │ exit code: 1
    ╰─> See above for output.
    
    note: This error originates from a subprocess, and is likely not a problem with pip.
    Processing ./openai-whisper-20231117.tar.gz
      Installing build dependencies ... error
      error: subprocess-exited-with-error
      
      × pip subprocess to install build dependencies did not run successfully.
      │ exit code: 1
      ╰─> [8 lines of output]
          WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fd3c537f3d0>: Failed to establish a new connection: [Errno 101] Network is unreachable')': /simple/setuptools/
          WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fd3c537f790>: Failed to establish a new connection: [Errno 101] Network is unreachable')': /simple/setuptools/
          WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fd3c537f6a0>: Failed to establish a new connection: [Errno 101] Network is unreachable')': /simple/setuptools/
          WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fd3c537f7f0>: Failed to establish a new connection: [Errno 101] Network is unreachable')': /simple/setuptools/
          WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fd3c537fd90>: Failed to establish a new connection: [Errno 101] Network is unreachable')': /simple/setuptools/
          ERROR: Could not find a version that satisfies the requirement setuptools>=40.8.0 (from versions: none)
          ERROR: No matching distribution found for setuptools>=40.8.0
          
          [end of output]
      
      note: This error originates from a subprocess, and is likely not a problem with pip.
    error: subprocess-exited-with-error
    
    × pip subprocess to install build dependencies did not run successfully.
    │ exit code: 1
    ╰─> See above for output.
    
    note: This error originates from a subprocess, and is likely not a problem with pip.
    


    ------------------------------
    Ali Nada
    ------------------------------


  • 2.  RE: Cannot install openwhsiper on watson studio

    Posted Tue February 27, 2024 01:50 AM

    Try `!pip install -U openai-whisper` instead of explicitly download and define the path ? 



    ------------------------------
    Nimesh Jha
    ------------------------------