huggingface / huggingface/local-gemma
Cannot install local-gemma[mps]==0.1.0 and local-gemma[mps]==0.2.0 because these package versions have conflicting dependencies.
- Dominant language
- Python
- Stars
- 383
- Forks
- 31
- PR merge metrics
- No merged PRs in 30d
Description
I'm trying to follow the instuctions to install `local-gemma"[mps]"` via `pipx` on MacOS 14.7.1 (MacBook Pro M2). I get the following error (the same error occurs if I try to install `local-gemma"[cpu]"`.
This is on a fresh install of `pipx` via brew.
```
PIP STDOUT
----------
Collecting local-gemma[mps]
Using cached local_gemma-0.2.0-py3-none-any.whl.metadata (537 bytes)
Collecting setuptools (from local-gemma[mps])
Using cached setuptools-75.6.0-py3-none-any.whl.metadata (6.7 kB)
INFO: pip is looking at multiple versions of local-gemma[mps] to determine which version is compatible with other requirements. This could take a while.
Collecting local-gemma[mps]
Using cached local_gemma-0.1.0-py3-none-any.whl.metadata (427 bytes)
The conflict is caused by:
local-gemma[mps] 0.2.0 depends on torch>=2.1.1
local-gemma[mps] 0.1.0 depends on torch>=2.1.1
To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip to attempt to solve the dependency conflict
PIP STDERR
----------
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.org', port=443): Read timed out. (read timeout=15)")': /simple/setuptools/
ERROR: Cannot install local-gemma[mps]==0.1.0 and local-gemma[mps]==0.2.0 because these package versions have conflicting dependencies.
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
```
Any suggestions?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.