ModuleNotFoundError: No module named 'slack'
See original GitHub issueCouldn’t find module named ‘slack’ after I pip3 install slackclient.
$ pip3 list
Package Version
-------------- -------
...
slack 0.0.2
slackclient 2.5.0
...
$ python3
Python 3.7.0 (v3.7.0:1bf9cc5093, Jun 26 2018, 23:26:24)
[Clang 6.0 (clang-600.0.57)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import slack
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'slack'
>>> exit()
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Python can't find installed module ('slackclient') - Stack Overflow
I am trying to build a slack bot for learning purpose but when I run the script get this error ModuleNotFoundError: No module...
Read more >ModuleNotFoundError: No module named ... - RoseIndia.Net
Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'slack' How to remove the ModuleNotFou.
Read more >Python Slack SDK - PyPI
The Slack API Platform SDK for Python. ... This Development Kit is a module based wrapper that makes interaction with that API easier....
Read more >FAQ — Python Slack SDK
If you encounter an error saying AttributeError: module 'slack' has no attribute 'WebClient' , run pip list .
Read more >No module named 'slack' - Rasa Open Source
File anaconda lib path lib\site-packages\rasa\core\channels\slack.py, line 18, in from slack import webclient ModuleNotFoundError: No module ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thanks for your reply, @seratch It work for me under virtual environment of python. Verify to close this issue.
At least having
slackPyPI package prevents you from loadingslackpackage after resolving the issue described here. So, please uninstall it anyways.Do you use anaconda or others for Python installation? If you go with a straight-forward way (e.g., pyenv + virtualenv or venv), you can smoothly install the package.
You don’t need to use pyenv if you prefer others but the following steps should be much easier.