Я, кажется, успешно установил mlflow в моем virtualenv, но mlflow ui
не работает:
[2020-04-28 14:15:44 +0000] [29890] [INFO] Starting gunicorn 19.9.0
[2020-04-28 14:15:44 +0000] [29890] [INFO] Listening at: http://127.0.0.1:5000 (29890)
[2020-04-28 14:15:44 +0000] [29890] [INFO] Using worker: sync
[2020-04-28 14:15:44 +0000] [29893] [INFO] Booting worker with pid: 29893
[2020-04-28 14:15:44 +0000] [29893] [ERROR] Exception in worker process
Traceback (most recent call last):
File "/usr/local/lib/python3.5/dist-packages/gunicorn/arbiter.py", line 583, in spawn_worker
worker.init_process()
File "/usr/local/lib/python3.5/dist-packages/gunicorn/workers/base.py", line 129, in init_process
self.load_wsgi()
File "/usr/local/lib/python3.5/dist-packages/gunicorn/workers/base.py", line 138, in load_wsgi
self.wsgi = self.app.wsgi()
File "/usr/local/lib/python3.5/dist-packages/gunicorn/app/base.py", line 67, in wsgi
self.callable = self.load()
File "/usr/local/lib/python3.5/dist-packages/gunicorn/app/wsgiapp.py", line 52, in load
return self.load_wsgiapp()
File "/usr/local/lib/python3.5/dist-packages/gunicorn/app/wsgiapp.py", line 41, in load_wsgiapp
return util.import_app(self.app_uri)
File "/usr/local/lib/python3.5/dist-packages/gunicorn/util.py", line 350, in import_app
__import__(module)
ImportError: No module named 'mlflow'
[2020-04-28 14:15:44 +0000] [29893] [INFO] Worker exiting (pid: 29893)
[2020-04-28 14:15:44 +0000] [29890] [INFO] Shutting down: Master
[2020-04-28 14:15:44 +0000] [29890] [INFO] Reason: Worker failed to boot.
Running the mlflow server failed. Please see the logs above for details.
Кажется, все установлено правильно в virtualenv:
$ which python
/home/jess/my_env/bin/python
$ which mlflow
/home/jess/my_env/bin/mlflow
Моя папка mlruns
также заполнена:
mlruns
|- 0
|- meta.yaml
|- f1b4b0...
|- ...
Что может быть не так?