You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/07/29 07:33:02 UTC
[GitHub] [airflow] tambulkar opened a new issue #10039: Incorrect import in slack_hook.py
tambulkar opened a new issue #10039:
URL: https://github.com/apache/airflow/issues/10039
<!--
Welcome to Apache Airflow! For a smooth issue process, try to answer the following questions.
Don't worry if they're not all applicable; just try to include what you can :-)
If you need to include code snippets or logs, please put them in fenced code
blocks. If they're super-long, please use the details tag like
<details><summary>super-long log</summary> lots of stuff </details>
Please delete these comment blocks before submitting the issue.
-->
<!--
IMPORTANT!!!
PLEASE CHECK "SIMILAR TO X EXISTING ISSUES" OPTION IF VISIBLE
NEXT TO "SUBMIT NEW ISSUE" BUTTON!!!
PLEASE CHECK IF THIS ISSUE HAS BEEN REPORTED PREVIOUSLY USING SEARCH!!!
Please complete the next sections or the issue will be closed.
This questions are the first thing we need to know to understand the context.
-->
**Apache Airflow version**: 1.10.11
**Kubernetes version (if you are using kubernetes)** (use `kubectl version`):
**Environment**:
- **Cloud provider or hardware configuration**:
- **OS** (e.g. from /etc/os-release): mac os
- **Kernel** (e.g. `uname -a`): Darwin Tanishs-MacBook-Pro.local 19.5.0 Darwin Kernel Version 19.5.0: Tue May 26 20:41:44 PDT 2020; root:xnu-6153.121.2~2/RELEASE_X86_64 x86_64
- **Install tools**: conda
- **Others**: slackclient version 2.7.3
**What happened**:
```
File "/opt/conda/lib/python3.7/site-packages/airflow/hooks/slack_hook.py", line 20, in <module> webserver_1 | from slackclient import SlackClient
ModuleNotFoundError: No module named 'slackclient'
```
**What you expected to happen**:
Shouldn't have any issues importing
**How to reproduce it**:
Create a conda environment, run `conda install airflow slackclient -y`
try importing the slack_operator `from airflow.operators.slack_operator import SlackAPIPostOperator`
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] tambulkar closed issue #10039: Incorrect import in slack_hook.py
Posted by GitBox <gi...@apache.org>.
tambulkar closed issue #10039:
URL: https://github.com/apache/airflow/issues/10039
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] tambulkar commented on issue #10039: Incorrect import in slack_hook.py
Posted by GitBox <gi...@apache.org>.
tambulkar commented on issue #10039:
URL: https://github.com/apache/airflow/issues/10039#issuecomment-665209208
Nevermind, realized I needed to install slackclient=1.3.1
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org