exo icon indicating copy to clipboard operation
exo copied to clipboard

source install.sh

Open MiguelSanzBr opened this issue 1 year ago • 6 comments

Installing build dependencies ... done Checking if build backend supports build_editable ... done Getting requirements to build editable ... done Preparing editable metadata (pyproject.toml) ... done Collecting tinygrad@ git+https://github.com/tinygrad/tinygrad.git@232edcfd4f8b388807c64fb1817a7668ce27cbad Cloning https://github.com/tinygrad/tinygrad.git (to revision 232edcfd4f8b388807c64fb1817a7668ce27cbad) to /tmp/pip-install-qr_3zk_z/tinygrad_0ca3d675f951436db7369c46f5021624 Running command git clone --filter=blob:none --quiet https://github.com/tinygrad/tinygrad.git /tmp/pip-install-qr_3zk_z/tinygrad_0ca3d675f951436db7369c46f5021624 Running command git rev-parse -q --verify 'sha^232edcfd4f8b388807c64fb1817a7668ce27cbad' Running command git fetch -q https://github.com/tinygrad/tinygrad.git 232edcfd4f8b388807c64fb1817a7668ce27cbad Running command git checkout -q 232edcfd4f8b388807c64fb1817a7668ce27cbad Resolved https://github.com/tinygrad/tinygrad.git to commit 232edcfd4f8b388807c64fb1817a7668ce27cbad Preparing metadata (setup.py) ... done Collecting tqdm==4.66.4 Using cached tqdm-4.66.4-py3-none-any.whl (78 kB) Collecting grpcio==1.64.1 Using cached grpcio-1.64.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.6 MB) Collecting requests==2.32.3 Using cached requests-2.32.3-py3-none-any.whl (64 kB) Collecting netifaces==0.11.0 Using cached netifaces-0.11.0.tar.gz (30 kB) Preparing metadata (setup.py) ... done Collecting safetensors==0.4.3 Using cached safetensors-0.4.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.2 MB) Collecting tenacity==9.0.0 Using cached tenacity-9.0.0-py3-none-any.whl (28 kB) Collecting prometheus-client==0.20.0 Downloading prometheus_client-0.20.0-py3-none-any.whl (54 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 54.5/54.5 KB 619.3 kB/s eta 0:00:00 Collecting grpcio-tools==1.64.1 Using cached grpcio_tools-1.64.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.3 MB) Collecting aiohttp-cors==0.7.0 Using cached aiohttp_cors-0.7.0-py3-none-any.whl (27 kB) Collecting uuid==1.30 Using cached uuid-1.30.tar.gz (5.8 kB) Preparing metadata (setup.py) ... done Collecting pynvml==11.5.3 Using cached pynvml-11.5.3-py3-none-any.whl (53 kB) Collecting protobuf==5.27.1 Downloading protobuf-5.27.1-cp38-abi3-manylinux2014_x86_64.whl (309 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 309.2/309.2 KB 4.1 MB/s eta 0:00:00 Collecting rich==13.7.1 Downloading rich-13.7.1-py3-none-any.whl (240 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 240.7/240.7 KB 3.8 MB/s eta 0:00:00 ERROR: Could not find a version that satisfies the requirement tailscale==0.6.1 (from exo) (from versions: 0.1.0, 0.1.1, 0.1.2, 0.1.3, 0.1.4, 0.1.5, 0.1.6, 0.2.0, 0.3.0) ERROR: No matching distribution found for tailscale==0.6.1

MiguelSanzBr avatar Oct 02 '24 17:10 MiguelSanzBr

As far as I can tell, tailscale==0.6.1 does indeed exist. Install works fine for me and in CI. See: https://pypi.org/project/tailscale/#history

AlexCheema avatar Oct 02 '24 18:10 AlexCheema

here is only version 0.3.0: pip show tailscale
Name: tailscale Version: 0.3.0 Summary: Asynchronous client for the Tailscale API. Home-page: https://github.com/frenck/python-tailscale Author: Franck Nijhof Author-email: [email protected] License: MIT Location: /home/miguelsz/.local/lib/python3.10/site-packages Requires: aiohttp, pydantic, yarl Required-by:

pip install --upgrade pip Defaulting to user installation because normal site-packages is not writeable Requirement already satisfied: pip in /home/miguelsz/.local/lib/python3.10/site-packages (24.2)

MiguelSanzBr avatar Oct 02 '24 20:10 MiguelSanzBr

(.venv) alex@Alexs-MBP exo % pip show tailscale
Name: tailscale
Version: 0.6.1
Summary: Asynchronous client for the Tailscale API.
Home-page: https://github.com/frenck/python-tailscale
Author: Franck Nijhof
Author-email: [email protected]
License: MIT
Location: /Users/alex/exo/.venv/lib/python3.12/site-packages
Requires: aiohttp, mashumaro, orjson, yarl
Required-by: exo

AlexCheema avatar Oct 02 '24 21:10 AlexCheema

Can confirm the issue

(.venv) (base) ffamax@ffamaxs-MBP exo % pip show tailscale

WARNING: Package(s) not found: tailscale
(.venv) (base) ffamax@ffamaxs-MBP exo %

Tried install manually and seems like found the root cause

ERROR: Package 'tailscale' requires a different Python: 3.9.13 not in '<4.0,>=3.11'

If try

(.venv) (base) ffamax@ffamaxs-MBP exo % /usr/local/bin/python3.12 -m pip install.sh tailscale-0.6.1.tar.gz
error: externally-managed-environment

× This environment is externally managed
╰─> To install Python packages system-wide, try brew install
    xyz, where xyz is the package you are trying to
    install.

    If you wish to install a Python library that isn't in Homebrew,
    use a virtual environment:

    python3 -m venv path/to/venv
    source path/to/venv/bin/activate
    python3 -m pip install xyz

    If you wish to install a Python application that isn't in Homebrew,
    it may be easiest to use 'pipx install xyz', which will manage a
    virtual environment for you. You can install pipx with

    brew install pipx

    You may restore the old behavior of pip by passing
    the '--break-system-packages' flag to pip, or by adding
    'break-system-packages = true' to your pip.conf file. The latter
    will permanently disable this error.

    If you disable this error, we STRONGLY recommend that you additionally
    pass the '--user' flag to pip, or set 'user = true' in your pip.conf
    file. Failure to do this can result in a broken Homebrew installation.

    Read more about this behavior here: <https://peps.python.org/pep-0668/>

note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.

[notice] A new release of pip is available: 24.0 -> 24.2
[notice] To update, run: python3.12 -m pip install --upgrade pip

Workaround:

conda create --name .venv.py3.12 python=3.12
conda activate .venv.py3.12
pip install tailscale
Collecting tailscale
  Downloading tailscale-0.6.1-py3-none-any.whl.metadata (7.3 kB)
... completed

But still will fail on

pip install -e .
  Downloading uuid-1.30.tar.gz (5.8 kB)
  Preparing metadata (setup.py) ... done
INFO: pip is looking at multiple versions of exo to determine which version is compatible with other requirements. This could take a while.
ERROR: Ignored the following versions that require a different python version: 1.21.2 Requires-Python >=3.7,<3.11; 1.21.3 Requires-Python >=3.7,<3.11; 1.21.4 Requires-Python >=3.7,<3.11; 1.21.5 Requires-Python >=3.7,<3.11; 1.21.6 Requires-Python >=3.7,<3.11
ERROR: Could not find a version that satisfies the requirement mlx==0.18.0 (from exo) (from versions: none)
ERROR: No matching distribution found for mlx==0.18.0
(.venv.py3.12) ffamax@ffamaxs-MBP exo % python -V
Python 3.12.7

FFAMax avatar Oct 05 '24 07:10 FFAMax

Should be fixed now. Can you test again on latest main @MiguelSanzBr @FFAMax

AlexCheema avatar Oct 05 '24 23:10 AlexCheema

Yep, looks better now. Thanks :)

FFAMax avatar Oct 05 '24 23:10 FFAMax