Kann eine Python -Datei nicht mit PIPX und Gradio_Client ausführenPython

Python-Programme
Anonymous
 Kann eine Python -Datei nicht mit PIPX und Gradio_Client ausführen

Post by Anonymous »

Ich möchte eine API auf Huggingface.co ausprobieren. Ich muss: < /p>

Code: Select all

pip install gradio_client
< /code>
Aber mit Debian muss ich PIPX verwenden. Also tue ich: < /p>
pipx install gradio_client --include-deps
< /code>
Dann habe ich eine Dateiklassifizierung.py, die mit: < /p>
beginntfrom gradio_client import Client
< /code>
Und wenn ich es tue: < /p>
pipx run classification.py
< /code>
Ich habe einen Fehler: < /p>
ModuleNotFoundError: No module named 'gradio_client'
< /code>
Ich weiß nicht, ob der Fehler von meinem PIPX -Befehl oder von Gradio stammt. Letzte Informationen, wenn ich es tue: < /p>
pipx list
< /code>
Ich erhalte: < /p>
venvs are in /home/tibo/.local/share/pipx/venvs
apps are exposed on your $PATH at /home/tibo/.local/bin
manual pages are exposed at /home/tibo/.local/share/man
package gradio 5.27.0, installed using Python 3.13.2
- gradio
- upload_theme
package gradio-client 1.9.0, installed using Python 3.13.2
- httpx
- huggingface-cli
- normalizer
- tqdm
- websockets
So führen Sie meine Klassifizierung aus.py?

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post