feast icon indicating copy to clipboard operation
feast copied to clipboard

error: ModuleNotFoundError: No module named 'gunicorn.app'; 'gunicorn' is not a package

Open fcas opened this issue 2 years ago • 2 comments

Related issue: https://github.com/feast-dev/feast/issues/3770

Expected Behavior

The expected behavior is run the get_app successfully:

from feast.ui_server import get_app as ui_server

Current Behavior

> from feast.ui_server import get_app as ui_server
  .../python3.9/site-packages/feast/__init__.py", line 20, in <module>
    from .feature_store import FeatureStore
  .../python3.9/site-packages/feast/feature_store.py", line 42, in <module>
    from feast import feature_server, flags_helper, ui_server, utils
  .../python3.9/site-packages/feast/feature_server.py", line 5, in <module>
ModuleNotFoundError: No module named 'gunicorn.app'; 'gunicorn' is not a package

Steps to reproduce

  • install feast > v0.31.1
  • run from feast.ui_server import get_app as ui_server

Specifications

  • Version: 0.34.1
  • Platform: macOS 13.3.1 (a) (22E772610a)
  • Subsystem: pipenv (python 3.9)
"gunicorn": {
    "hashes": [
        "sha256:3213aa5e8c24949e792bcacfc176fef362e7aac80b76c56f6b5122bf350722f0",
        "sha256:88ec8bff1d634f98e61b9f65bc4bf3cd918a90806c6f5c48bc5603849ec81033"
    ],
    "index": "pypi",
    "version": "==21.2.0"
},
"feast": {
    "extras": [
        "aws",
        "gcp"
    ],
    "hashes": [
        "sha256:1caac5b52e5a0332461367df5c69a62999a787e4a7eaf09e9795b94b7567c83f",
        "sha256:55297d1ba730209b140f84d7b9048942126955e4adf111a724c728db1c9732ac"
    ],
    "index": "pypi",
    "version": "==0.34.1"
}

fcas avatar Oct 16 '23 21:10 fcas

I don't have Windows OS. Just checking if you are still facing this issue with the latest version of Feast. We are trying to close issues that are fixed but still open. Thanks

redhatHameed avatar Feb 20 '24 18:02 redhatHameed

@redhatHameed I see windows raised in 3770, but macOS is mentioned for platform on this issue. Have we taken a shot to see if we can reproduce with mac?

jeremyary avatar Feb 27 '24 19:02 jeremyary