Statsmodel dependency issue

Hi randy
I am having error installing the requirements :

import statsmodels.api as sm



ModuleNotFoundError: No module named 'statsmodels'


WARNING: Discarding https://files.pythonhosted.org/packages/22/3f/cc0b1195d50cdd4ea76980a9908cff8ec4cc6fbe6bd9522d70f80fa2e932/woe_scoring-0.1.5.tar.gz#sha256=e60ea86efd16c1049d3b1bce8c6a5d419bea7e3a3c865de787824569bed4ce51 (from https://pypi.org/simple/woe-scoring/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

ERROR: Could not find a version that satisfies the requirement woe_scoring (from versions: 0.1.5)

ERROR: No matching distribution found for woe_scoring

WARNING: You are using pip version 21.1.1; however, version 21.3.1 is available.

You should consider upgrading via the '/home/appuser/venv/bin/python -m pip install --upgrade pip' command.

[manager] installer returned a non-zero exit code

and when i add statsmodel.api to the requirement.file it still gives the same error
could you help out

Hi @Khalid_Yusuf_liman -

Can you link to your GitHub repo?

Best,
Randy

Hi @Khalid_Yusuf_liman,

There were two incorrectly specified dependencies in your requirements.txt file, one of which you’ve since fixed:

  1. statsmodel.api should be replaced by statsmodels
  2. woe should be replaced by woe-scoring

Best, :balloon:
Snehan

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.