Skip to content

KRR install missing python modules aiostream and slack-sdk #125

Closed

Description

@calvincarter-ping

After manually installing KRR https://github.com/robusta-dev/krr#manual-installation, I noticed the following modules were missing:

  • aiostream
  • slack-sdk

To Reproduce

  1. Follow manual install instructions
  2. See the error for slack-sdk. (if you manually install via pip the error goes away https://pypi.org/project/slack-sdk/)
  3. If step 2 is resolved using workaround you will then see the error for aiostream. (if you manually install via pip error goes away https://pypi.org/project/aiostream/)

Expected behavior
slack-sdk and aiostream installed properly via requirements.txt file.

Suggested Fix
Add these 2 dependencies slack-sdk and aiostream to the requirements.txt file

Error Messages

slack-sdk

python3 krr.py --help          
               
Traceback (most recent call last):
  File "/Users/calvincarter/_programming/docker/development/krr_install/krr/krr.py", line 1, in <module>
    from robusta_krr import run
  File "/Users/calvincarter/_programming/docker/development/krr_install/krr/robusta_krr/__init__.py", line 1, in <module>
    from .main import run
  File "/Users/calvincarter/_programming/docker/development/krr_install/krr/robusta_krr/main.py", line 16, in <module>
    from robusta_krr.core.runner import Runner
  File "/Users/calvincarter/_programming/docker/development/krr_install/krr/robusta_krr/core/runner.py", line 6, in <module>
    from slack_sdk import WebClient
ModuleNotFoundError: No module named 'slack_sdk'

aiostream

 python3 krr.py --help 
Traceback (most recent call last):
  File "/Users/calvincarter/_programming/docker/development/krr_install/krr/krr.py", line 1, in <module>
    from robusta_krr import run
  File "/Users/calvincarter/_programming/docker/development/krr_install/krr/robusta_krr/__init__.py", line 1, in <module>
    from .main import run
  File "/Users/calvincarter/_programming/docker/development/krr_install/krr/robusta_krr/main.py", line 16, in <module>
    from robusta_krr.core.runner import Runner
  File "/Users/calvincarter/_programming/docker/development/krr_install/krr/robusta_krr/core/runner.py", line 10, in <module>
    from robusta_krr.core.integrations.kubernetes import KubernetesLoader
  File "/Users/calvincarter/_programming/docker/development/krr_install/krr/robusta_krr/core/integrations/kubernetes.py", line 4, in <module>
    import aiostream
ModuleNotFoundError: No module named 'aiostream'

Desktop (please complete the following information):

  • OS: [Mac]
  • Version [Ventura 13.5]

Activity

  1. Avi-Robusta commented on Aug 9, 2023

    @Avi-Robusta
    Contributor

    Fixed in #124

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions