Failed to find compiledb
Closed this issue · 4 comments
josephwb commented
Installed with:
pip3 install compiledb
Works fine:
compiledb --help
Usage: compiledb [OPTIONS] COMMAND [ARGS]...
...
Not installed in a weird location (i.e., it is in my $PATH):
$ which compiledb
/home/josephwb/.local/bin/compiledb
I'm not sure what the issue here is. Is SoftWipe assuming everything is root (as suggested by #11)?
angtft commented
These issues should be unrelated. What is the error output exactly and how is SoftWipe called?
josephwb commented
Here it is:
sudo ./softwipe.py
missing: compiledb
Failed to find the following tools:
compiledb (install via: pip)
Make sure all tools are installed on your system and accessible. Either put their location into your PATH or provide a full path to each tool as its exe_name in tools_info.py.
Traceback (most recent call last):
File "./softwipe.py", line 447, in <module>
main()
File "./softwipe.py", line 363, in main
automatic_tool_installation.check_if_all_required_tools_are_installed()
File "/home/josephwb/Work/Phylogenetics/softwipe/automatic_tool_installation.py", line 203, in check_if_all_required_tools_are_installed
user_os = detect_user_os()
File "/home/josephwb/Work/Phylogenetics/softwipe/automatic_tool_installation.py", line 25, in detect_user_os
import distro
ModuleNotFoundError: No module named 'distro'
angtft commented
Try not using sudo.
josephwb commented
Ha ok working now. I was just following the wiki to install dependencies, but ended up installing them myself with each crash/error ¯\_(ツ)_/¯