Got some error with installing with pipx
cat /proc/version Linux version 5.4.0-121-generic (buildd@lcy02-amd64-013) (gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.1)) #137-Ubuntu SMP Wed Jun 15 13:33:07 UTC 2022
pipx install git+https://github.com/blacklanternsecurity/MANSPIDER installed package man-spider 1.0.4, installed using Python 3.8.10 These apps are now globally available - manspider ⚠️ Note: '/root/.local/bin' is not on your PATH environment variable. These apps will not be globally accessible until your PATH is updated. Run
pipx ensurepathto automatically add it, or manually modify your PATH in your shell's config file (i.e. ~/.bashrc). done! ✨ 🌟 ✨
manspider Traceback (most recent call last): File "/root/.local/bin/manspider", line 5, in
from man_spider.manspider import main File "/root/.local/pipx/venvs/man-spider/lib/python3.8/site-packages/man_spider/manspider.py", line 8, in from .lib import * File "/root/.local/pipx/venvs/man-spider/lib/python3.8/site-packages/man_spider/lib/init.py", line 1, in from .parser import * File "/root/.local/pipx/venvs/man-spider/lib/python3.8/site-packages/man_spider/lib/parser/init.py", line 1, in from .parser import * File "/root/.local/pipx/venvs/man-spider/lib/python3.8/site-packages/man_spider/lib/parser/parser.py", line 2, in import magic File "/root/.local/pipx/venvs/man-spider/lib/python3.8/site-packages/magic/init.py", line 209, in libmagic = loader.load_lib() File "/root/.local/pipx/venvs/man-spider/lib/python3.8/site-packages/magic/loader.py", line 49, in load_lib raise ImportError('failed to find libmagic. Check your installation') ImportError: failed to find libmagic. Check your installation
with poetry some here:
root@vps3456 ~/MANSPIDER/man_spider # poetry run manspider
Traceback (most recent call last):
File "
pipx runpip man-spider uninstall python-magic pipx runpip man-spider install python-magic-bin==0.4.14 It works.
I am currently unable to reproduce this; it's possible a fix has occurred upstream. Feel free to reopen the issue if it persists.