Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error installing #1

Open
mbulentkilimci opened this issue Nov 23, 2024 · 0 comments
Open

error installing #1

mbulentkilimci opened this issue Nov 23, 2024 · 0 comments

Comments

@mbulentkilimci
Copy link

how can i fix this installation errors ?

mbkilimci@MacBookPro ~ % git clone https://github.com/AK391/anychat.git
Cloning into 'anychat'...
remote: Enumerating objects: 98, done.
remote: Counting objects: 100% (98/98), done.
remote: Compressing objects: 100% (43/43), done.
remote: Total 98 (delta 57), reused 94 (delta 53), pack-reused 0 (from 0)
Receiving objects: 100% (98/98), 24.82 KiB | 220.00 KiB/s, done.
Resolving deltas: 100% (57/57), done.
mbkilimci@MacBookPro ~ % cd anychat
mbkilimci@MacBookPro anychat % pip install -r requirements.txt

Defaulting to user installation because normal site-packages is not writeable
Collecting git+https://github.com/AK391/anthropic-gradio.git (from -r requirements.txt (line 3))
Cloning https://github.com/AK391/anthropic-gradio.git to /private/var/folders/8p/75pvfw417t95_jlxzvq7w4qr0000gn/T/pip-req-build-nnofjbb5
Running command git clone --filter=blob:none --quiet https://github.com/AK391/anthropic-gradio.git /private/var/folders/8p/75pvfw417t95_jlxzvq7w4qr0000gn/T/pip-req-build-nnofjbb5
Resolved https://github.com/AK391/anthropic-gradio.git to commit 34e5622031487ea207073177b4ec1f3067936295
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting git+https://github.com/AK391/xai-gradio.git (from -r requirements.txt (line 5))
Cloning https://github.com/AK391/xai-gradio.git to /private/var/folders/8p/75pvfw417t95_jlxzvq7w4qr0000gn/T/pip-req-build-5dtjgtyu
Running command git clone --filter=blob:none --quiet https://github.com/AK391/xai-gradio.git /private/var/folders/8p/75pvfw417t95_jlxzvq7w4qr0000gn/T/pip-req-build-5dtjgtyu
Resolved https://github.com/AK391/xai-gradio.git to commit 8ec41c29a34af3b258a7f2fb1deb76fd1ff82543
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
ERROR: Ignored the following versions that require a different python version: 0.0.1 Requires-Python >=3.10
ERROR: Could not find a version that satisfies the requirement gemini-gradio (from versions: none)
ERROR: No matching distribution found for gemini-gradio
mbkilimci@MacBookPro anychat % phyton3 app.py
zsh: command not found: phyton3
mbkilimci@MacBookPro anychat % phyton app.py
zsh: command not found: phyton
mbkilimci@MacBookPro anychat % python3 --version
Python 3.9.6
mbkilimci@MacBookPro anychat % brew install python
==> Auto-updating Homebrew...
Adjust how often this is run with HOMEBREW_AUTO_UPDATE_SECS or disable with
HOMEBREW_NO_AUTO_UPDATE. Hide these hints with HOMEBREW_NO_ENV_HINTS (see man brew).
==> Homebrew collects anonymous analytics.
Read the analytics documentation (and how to opt-out) here:
https://docs.brew.sh/Analytics
No analytics have been recorded yet (nor will be during this brew run).

==> Homebrew is run entirely by unpaid volunteers. Please consider donating:
https://github.com/Homebrew/brew#donations

==> Auto-updated Homebrew!
Updated 2 taps (homebrew/core and homebrew/cask).
==> New Formulae
cargo-expand libcutl [email protected]
[email protected] libxsd-frontend sixtunnel
==> New Casks
taskbar

You have 1 outdated formula installed.

==> Downloading https://ghcr.io/v2/homebrew/core/python/3.13/manifests/3.13.0_1-
######################################################################### 100.0%
==> Fetching dependencies for [email protected]: mpdecimal, sqlite and xz
==> Downloading https://ghcr.io/v2/homebrew/core/mpdecimal/manifests/4.0.0-1
######################################################################### 100.0%
==> Fetching mpdecimal
==> Downloading https://ghcr.io/v2/homebrew/core/mpdecimal/blobs/sha256:0f5f269b
######################################################################### 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/sqlite/manifests/3.47.0
######################################################################### 100.0%
==> Fetching sqlite
==> Downloading https://ghcr.io/v2/homebrew/core/sqlite/blobs/sha256:f4716de629e
######################################################################### 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/xz/manifests/5.6.3
######################################################################### 100.0%
==> Fetching xz
==> Downloading https://ghcr.io/v2/homebrew/core/xz/blobs/sha256:743c3d366f11b13
######################################################################### 100.0%
==> Fetching [email protected]
==> Downloading https://ghcr.io/v2/homebrew/core/python/3.13/blobs/sha256:c31489
######################################################################### 100.0%
==> Installing dependencies for [email protected]: mpdecimal, sqlite and xz
==> Installing [email protected] dependency: mpdecimal
==> Downloading https://ghcr.io/v2/homebrew/core/mpdecimal/manifests/4.0.0-1
Already downloaded: /Users/mbkilimci/Library/Caches/Homebrew/downloads/7b63c3b34bee402290af49fac829a6682ab45ea5c9258b6fe03b590a03a4c4a9--mpdecimal-4.0.0-1.bottle_manifest.json
==> Pouring mpdecimal--4.0.0.arm64_sequoia.bottle.1.tar.gz
🍺 /opt/homebrew/Cellar/mpdecimal/4.0.0: 22 files, 641.3KB
==> Installing [email protected] dependency: sqlite
==> Downloading https://ghcr.io/v2/homebrew/core/sqlite/manifests/3.47.0
Already downloaded: /Users/mbkilimci/Library/Caches/Homebrew/downloads/2acd26e317f3463995d9c8df6d1f6660834a2adccf6448e6166f34a89d607683--sqlite-3.47.0.bottle_manifest.json
==> Pouring sqlite--3.47.0.arm64_sequoia.bottle.tar.gz
🍺 /opt/homebrew/Cellar/sqlite/3.47.0: 12 files, 4.9MB
==> Installing [email protected] dependency: xz
==> Downloading https://ghcr.io/v2/homebrew/core/xz/manifests/5.6.3
Already downloaded: /Users/mbkilimci/Library/Caches/Homebrew/downloads/e68799185cc17334108ba286ba8c3df0587c9fd8375647d85f7157b62a797599--xz-5.6.3.bottle_manifest.json
==> Pouring xz--5.6.3.arm64_sequoia.bottle.tar.gz
🍺 /opt/homebrew/Cellar/xz/5.6.3: 96 files, 2.0MB
==> Installing [email protected]
==> Pouring [email protected]_1.arm64_sequoia.bottle.1.tar.gz
==> /opt/homebrew/Cellar/[email protected]/3.13.0_1/bin/python3.13 -Im ensurepip
==> /opt/homebrew/Cellar/[email protected]/3.13.0_1/bin/python3.13 -Im pip install -v
==> Caveats
Python is installed as
/opt/homebrew/bin/python3

Unversioned symlinks python, python-config, pip etc. pointing to
python3, python3-config, pip3 etc., respectively, are installed into
/opt/homebrew/opt/[email protected]/libexec/bin

See: https://docs.brew.sh/Homebrew-and-Python
==> Summary
🍺 /opt/homebrew/Cellar/[email protected]/3.13.0_1: 3,255 files, 65.0MB
==> Running brew cleanup [email protected]...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see man brew).
==> Caveats
==> [email protected]
Python is installed as
/opt/homebrew/bin/python3

Unversioned symlinks python, python-config, pip etc. pointing to
python3, python3-config, pip3 etc., respectively, are installed into
/opt/homebrew/opt/[email protected]/libexec/bin

See: https://docs.brew.sh/Homebrew-and-Python
mbkilimci@MacBookPro anychat % pip install --upgrade pip
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: pip in /Users/mbkilimci/Library/Python/3.9/lib/python/site-packages (24.3.1)
mbkilimci@MacBookPro anychat % pip search gemini-gradio
ERROR: XMLRPC request failed [code: -32500]
RuntimeError: PyPI no longer supports 'pip search' (or XML-RPC search). Please use https://pypi.org/search (via a browser) instead. See https://warehouse.pypa.io/api-reference/xml-rpc.html#deprecated-methods for more information.
mbkilimci@MacBookPro anychat % python3 app.py
Traceback (most recent call last):
File "/Users/mbkilimci/anychat/app.py", line 1, in
import gradio as gr
ModuleNotFoundError: No module named 'gradio'
mbkilimci@MacBookPro anychat %

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant