mirror of
https://github.com/hanzoai/python-sdk.git
synced 2026-10-23 20:23:00 +00:00
Drop the install-from-git detour
Hanzo CI/CD / cicd (push) Failing after 2m5s
CI/CD / cicd (push) Failing after 2m6s
Hanzo CI/CD / cicd (push) Failing after 2m5s
CI/CD / cicd (push) Failing after 2m6s
PyPI has shipped Client since 8.5.161, so a new user following the README was sent to a git install they do not need. Co-authored-by: Hanzo Dev <[email protected]>
This commit is contained in:
@@ -16,15 +16,6 @@ Python 3.12 or newer.
|
||||
pip install hanzoai
|
||||
```
|
||||
|
||||
`Client` and the six capabilities below are newer than 8.5.156, the latest
|
||||
release on PyPI; that release has the generated client under `hanzoai.cloud`
|
||||
and not them. If `from hanzoai import Client` raises `ImportError`, install from
|
||||
`main`:
|
||||
|
||||
```bash
|
||||
pip install 'hanzoai @ git+https://github.com/hanzoai/python-sdk'
|
||||
```
|
||||
|
||||
On Python 3.9, 3.10 and 3.11 pip installs the 2.1 line instead, without an
|
||||
error. That is an older client with a different API (`from hanzoai import
|
||||
Hanzo`, key in `HANZO_API_KEY`), and nothing below applies to it.
|
||||
|
||||
Reference in New Issue
Block a user