MLFlow proiecte; bash: python: comanda nu a fost găsit

0

Problema

Sunt rulează MLflow Proiect pentru un model folosind următoarea comandă din ubuntu 20.04 terminal

mlflow run . --no-conda -P alpha=0.5

Sistemul meu nu are conda sau python (cu toate acestea, au python3). Deci, am adăugat alias pentru python folosind terminale

alias python='python3'

După care am putea deschide python în terminal, folosind python. Cu toate acestea, încă mai am aceeasi eroare

2021/11/21 08:07:34 INFO mlflow.projects.utils: === Created directory /tmp/tmpp4h595ql for downloading remote URIs passed to arguments of type 'path' ===
2021/11/21 08:07:34 INFO mlflow.projects.backend.local: === Running command 'python tracking.py 0.5 0.1' in run with ID 'e50ca47b3f8848a083906be6220c26fc' === 
bash: python: command not found
2021/11/21 08:07:34 ERROR mlflow.cli: === Run (ID 'e50ca47b3f8848a083906be6220c26fc') failed ===

Cum de a scapa de aceasta eroare?

bash mlflow python terminal
2021-11-21 02:44:17
1

Cel mai bun răspuns

0

Schimba python pentru a python3 în MLproject fișier pentru a rezolva eroarea.

command: "python3 tracking.py {alpha} {l1_ratio}"
2021-11-21 13:56:33

În alte limbi

Această pagină este în alte limbi

Русский
..................................................................................................................
Italiano
..................................................................................................................
Polski
..................................................................................................................
한국어
..................................................................................................................
हिन्दी
..................................................................................................................
Français
..................................................................................................................
Türk
..................................................................................................................
Česk
..................................................................................................................
Português
..................................................................................................................
ไทย
..................................................................................................................
中文
..................................................................................................................
Español
..................................................................................................................
Slovenský
..................................................................................................................