You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
WARNING: Running pip as root will break packages and permissions. You should install packages reliably by using venv: https://pip.pypa.io/warnings/venv
Collecting slacker-log-handler
Downloading slacker_log_handler-1.8.0.tar.gz (9.4 kB)
Collecting slacker<=0.9.65,>=0.7.3
Downloading slacker-0.9.65.tar.gz (8.3 kB)
Requirement already satisfied: six>=1.11.0 in /usr/lib/python3.8/site-packages (from slacker-log-handler) (1.16.0)
Requirement already satisfied: requests>=2.2.1 in /usr/lib/python3.8/site-packages (from slacker<=0.9.65,>=0.7.3->slacker-log-handler) (2.25.1)
Requirement already satisfied: idna<3,>=2.5 in /usr/lib/python3.8/site-packages (from requests>=2.2.1->slacker<=0.9.65,>=0.7.3->slacker-log-handler) (2.10)
Requirement already satisfied: chardet<5,>=3.0.2 in /usr/lib/python3.8/site-packages (from requests>=2.2.1->slacker<=0.9.65,>=0.7.3->slacker-log-handler) (4.0.0)
Requirement already satisfied: certifi>=2017.4.17 in /usr/lib/python3.8/site-packages (from requests>=2.2.1->slacker<=0.9.65,>=0.7.3->slacker-log-handler) (2021.5.30)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/lib/python3.8/site-packages (from requests>=2.2.1->slacker<=0.9.65,>=0.7.3->slacker-log-handler) (1.26.5)
Using legacy 'setup.py install' for slacker-log-handler, since package 'wheel' is not installed.
Using legacy 'setup.py install' for slacker, since package 'wheel' is not installed.
Installing collected packages: slacker, slacker-log-handler
Running setup.py install for slacker ... done
Running setup.py install for slacker-log-handler ... done
Successfully installed slacker-0.9.65 slacker-log-handler-1.8.0
later when trying to import gets the following error
from slack_log_handler import SlackLogHandler
Traceback (most recent call last):
File "", line 1, in
ModuleNotFoundError: No module named 'slack_log_handler'
When adding "python wheel get the same error :
Successfully installed wheel-0.36.2
WARNING: Running pip as root will break packages and permissions. You should install packages reliably by using venv: https://pip.pypa.io/warnings/venv
/ # pip3 install slacker-log-handler
Collecting slacker-log-handler
Downloading slacker_log_handler-1.8.0.tar.gz (9.4 kB)
Collecting slacker<=0.9.65,>=0.7.3
Downloading slacker-0.9.65.tar.gz (8.3 kB)
Requirement already satisfied: six>=1.11.0 in /usr/lib/python3.8/site-packages (from slacker-log-handler) (1.16.0)
Requirement already satisfied: requests>=2.2.1 in /usr/lib/python3.8/site-packages (from slacker<=0.9.65,>=0.7.3->slacker-log-handler) (2.25.1)
Requirement already satisfied: idna<3,>=2.5 in /usr/lib/python3.8/site-packages (from requests>=2.2.1->slacker<=0.9.65,>=0.7.3->slacker-log-handler) (2.10)
Requirement already satisfied: certifi>=2017.4.17 in /usr/lib/python3.8/site-packages (from requests>=2.2.1->slacker<=0.9.65,>=0.7.3->slacker-log-handler) (2021.5.30)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/lib/python3.8/site-packages (from requests>=2.2.1->slacker<=0.9.65,>=0.7.3->slacker-log-handler) (1.26.5)
Requirement already satisfied: chardet<5,>=3.0.2 in /usr/lib/python3.8/site-packages (from requests>=2.2.1->slacker<=0.9.65,>=0.7.3->slacker-log-handler) (4.0.0)
Building wheels for collected packages: slacker-log-handler, slacker
Building wheel for slacker-log-handler (setup.py) ... done
Created wheel for slacker-log-handler: filename=slacker_log_handler-1.8.0-py2.py3-none-any.whl size=8421 sha256=de81649a4370973a6fd3e6234468f1ab182ddbe901f76c3b9875653b6dbad877
Stored in directory: /root/.cache/pip/wheels/35/6d/89/134c226f8547bfb536f9b5076b31b880e10b5c03ae8271f207
Building wheel for slacker (setup.py) ... done
Created wheel for slacker: filename=slacker-0.9.65-py3-none-any.whl size=7761 sha256=aea8056877c9812fcd23e6da6e563f05e19e2d17006ede97cd57f2830d398426
Stored in directory: /root/.cache/pip/wheels/ba/1e/6d/95c8339ab2a8bbfbf928f299b78bffabde801ee9a468a28470
Successfully built slacker-log-handler slacker
Installing collected packages: slacker, slacker-log-handler
Successfully installed slacker-0.9.65 slacker-log-handler-1.8.0
WARNING: Running pip as root will break packages and permissions. You should install packages reliably by using venv: https://pip.pypa.io/warnings/venv
/ # python
Python 3.8.10 (default, May 6 2021, 00:05:59)
[GCC 10.2.1 20201203] on linux
Type "help", "copyright", "credits" or "license" for more information.
from slack_log_handler import SlackLogHandler
Traceback (most recent call last):
File "", line 1, in
ModuleNotFoundError: No module named 'slack_log_handler'
The text was updated successfully, but these errors were encountered:
when using alphine docker image
docker run -ti alpine:3.13 sh
and then trying to pip insall
apk add --update --no-cache python3 && ln -sf python3 /usr/bin/python
&& python3 -m ensurepip
&& pip3 install --no-cache --upgrade pip setuptools
&& pip3 install slacker-log-handler
got error message regard wheel
WARNING: Running pip as root will break packages and permissions. You should install packages reliably by using venv: https://pip.pypa.io/warnings/venv
Collecting slacker-log-handler
Downloading slacker_log_handler-1.8.0.tar.gz (9.4 kB)
Collecting slacker<=0.9.65,>=0.7.3
Downloading slacker-0.9.65.tar.gz (8.3 kB)
Requirement already satisfied: six>=1.11.0 in /usr/lib/python3.8/site-packages (from slacker-log-handler) (1.16.0)
Requirement already satisfied: requests>=2.2.1 in /usr/lib/python3.8/site-packages (from slacker<=0.9.65,>=0.7.3->slacker-log-handler) (2.25.1)
Requirement already satisfied: idna<3,>=2.5 in /usr/lib/python3.8/site-packages (from requests>=2.2.1->slacker<=0.9.65,>=0.7.3->slacker-log-handler) (2.10)
Requirement already satisfied: chardet<5,>=3.0.2 in /usr/lib/python3.8/site-packages (from requests>=2.2.1->slacker<=0.9.65,>=0.7.3->slacker-log-handler) (4.0.0)
Requirement already satisfied: certifi>=2017.4.17 in /usr/lib/python3.8/site-packages (from requests>=2.2.1->slacker<=0.9.65,>=0.7.3->slacker-log-handler) (2021.5.30)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/lib/python3.8/site-packages (from requests>=2.2.1->slacker<=0.9.65,>=0.7.3->slacker-log-handler) (1.26.5)
Using legacy 'setup.py install' for slacker-log-handler, since package 'wheel' is not installed.
Using legacy 'setup.py install' for slacker, since package 'wheel' is not installed.
Installing collected packages: slacker, slacker-log-handler
Running setup.py install for slacker ... done
Running setup.py install for slacker-log-handler ... done
Successfully installed slacker-0.9.65 slacker-log-handler-1.8.0
later when trying to import gets the following error
When adding "python wheel get the same error :
Successfully installed wheel-0.36.2
WARNING: Running pip as root will break packages and permissions. You should install packages reliably by using venv: https://pip.pypa.io/warnings/venv
/ # pip3 install slacker-log-handler
Collecting slacker-log-handler
Downloading slacker_log_handler-1.8.0.tar.gz (9.4 kB)
Collecting slacker<=0.9.65,>=0.7.3
Downloading slacker-0.9.65.tar.gz (8.3 kB)
Requirement already satisfied: six>=1.11.0 in /usr/lib/python3.8/site-packages (from slacker-log-handler) (1.16.0)
Requirement already satisfied: requests>=2.2.1 in /usr/lib/python3.8/site-packages (from slacker<=0.9.65,>=0.7.3->slacker-log-handler) (2.25.1)
Requirement already satisfied: idna<3,>=2.5 in /usr/lib/python3.8/site-packages (from requests>=2.2.1->slacker<=0.9.65,>=0.7.3->slacker-log-handler) (2.10)
Requirement already satisfied: certifi>=2017.4.17 in /usr/lib/python3.8/site-packages (from requests>=2.2.1->slacker<=0.9.65,>=0.7.3->slacker-log-handler) (2021.5.30)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/lib/python3.8/site-packages (from requests>=2.2.1->slacker<=0.9.65,>=0.7.3->slacker-log-handler) (1.26.5)
Requirement already satisfied: chardet<5,>=3.0.2 in /usr/lib/python3.8/site-packages (from requests>=2.2.1->slacker<=0.9.65,>=0.7.3->slacker-log-handler) (4.0.0)
Building wheels for collected packages: slacker-log-handler, slacker
Building wheel for slacker-log-handler (setup.py) ... done
Created wheel for slacker-log-handler: filename=slacker_log_handler-1.8.0-py2.py3-none-any.whl size=8421 sha256=de81649a4370973a6fd3e6234468f1ab182ddbe901f76c3b9875653b6dbad877
Stored in directory: /root/.cache/pip/wheels/35/6d/89/134c226f8547bfb536f9b5076b31b880e10b5c03ae8271f207
Building wheel for slacker (setup.py) ... done
Created wheel for slacker: filename=slacker-0.9.65-py3-none-any.whl size=7761 sha256=aea8056877c9812fcd23e6da6e563f05e19e2d17006ede97cd57f2830d398426
Stored in directory: /root/.cache/pip/wheels/ba/1e/6d/95c8339ab2a8bbfbf928f299b78bffabde801ee9a468a28470
Successfully built slacker-log-handler slacker
Installing collected packages: slacker, slacker-log-handler
Successfully installed slacker-0.9.65 slacker-log-handler-1.8.0
WARNING: Running pip as root will break packages and permissions. You should install packages reliably by using venv: https://pip.pypa.io/warnings/venv
/ # python
Python 3.8.10 (default, May 6 2021, 00:05:59)
[GCC 10.2.1 20201203] on linux
Type "help", "copyright", "credits" or "license" for more information.
The text was updated successfully, but these errors were encountered: