MLFlow projets; bash: python: command not found

0

La question

Je suis en cours d'exécution MLflow Projet pour un modèle utilisant la commande suivante à partir de mon ubuntu 20.04 terminal

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

Mon système n'a pas conda ou python (Il n'a cependant ont python3). Donc, j'ai ajouté alias pour python à l'aide de terminal

alias python='python3'

Après quoi je pourrais ouvrir python dans le terminal à l'aide de python. Cependant, j'ai toujours le même message d'erreur

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 ===

Comment se débarrasser de cette erreur?

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

La meilleure réponse

0

Changement python pour python3 dans le MLproject fichier pour la résolution de l'erreur.

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

Dans d'autres langues

Cette page est dans d'autres langues

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