MLH-Fellowship / MLH-Fellowship/ClipBit

Installation on macOS reports missing torch / torchvision distribution

Open
#21 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
5
Forks
5
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the Python 3.6 and 3.9 installation commands from the issue on macOS 10.14. Inspect the published clipbit dependency metadata for the pinned torch and torchvision requirements. Done means the supported macOS and Python combinations install successfully, or the project clearly documents that these combinations are unsupported.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, pytorch
Domain
build-system, cli, machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.