MLH-Fellowship / ClipBit

Generate concise meaningful summaries of YouTube videos.
MIT License
5 stars 5 forks source link

Installation on macOS reports missing torch / torchvision distribution #21

Open stefanschmidt opened 2 years ago

stefanschmidt commented 2 years ago

I'm running a rather prehistoric version of macOS, so not sure if supported.

The project page lists Python 3.6 as supported so I tried installing clipbit with Python 3.6.15 but it didn't work due to a missing torchvision distribution. I then tried installing with the most recent Python 3.9.10 but that worked neither due to a missing torch distribution.

$ sw_vers
ProductName:    Mac OS X
ProductVersion: 10.14.6
BuildVersion:   18G9323

$ python3.6 -V
Python 3.6.15
$ pip3.6 -V
pip 21.3.1 from /Users/stefan/.pyenv/versions/3.6.15/lib/python3.6/site-packages/pip (python 3.6)
$ pip3.6 install clipbit
Collecting clipbit
  Using cached clipbit-1.0.0-py3-none-any.whl (8.0 kB)
Collecting transformers==4.2.2
  Using cached transformers-4.2.2-py3-none-any.whl (1.8 MB)
Collecting rich==9.10.0
  Using cached rich-9.10.0-py3-none-any.whl (188 kB)
ERROR: Could not find a version that satisfies the requirement torchvision==0.8.2+cpu (from clipbit) (from versions: 0.1.6, 0.1.7, 0.1.8, 0.1.9, 0.2.0, 0.2.1, 0.2.2, 0.2.2.post2, 0.2.2.post3, 0.3.0, 0.4.0, 0.4.1, 0.4.1.post2, 0.4.2, 0.5.0, 0.6.0, 0.6.1, 0.7.0, 0.8.0, 0.8.1, 0.8.2, 0.9.0, 0.9.1, 0.10.0, 0.10.1, 0.11.0, 0.11.1, 0.11.2, 0.11.3)
ERROR: No matching distribution found for torchvision==0.8.2+cpu

$ python3.9 -V
Python 3.9.10
$ pip3.9 -V
pip 22.0.3 from /usr/local/lib/python3.9/site-packages/pip (python 3.9)
$ pip3.9 install clipbit
DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
Collecting clipbit
  Using cached clipbit-1.0.0-py3-none-any.whl (8.0 kB)
Collecting sentencepiece==0.1.95
  Using cached sentencepiece-0.1.95-cp39-cp39-macosx_10_6_x86_64.whl (1.1 MB)
ERROR: Could not find a version that satisfies the requirement torch==1.7.1+cpu (from clipbit) (from versions: 1.7.1, 1.8.0, 1.8.1, 1.9.0, 1.9.1, 1.10.0, 1.10.1, 1.10.2)
ERROR: No matching distribution found for torch==1.7.1+cpu