bauh
bauh copied to clipboard
Unable to activate Web application type even if bs4 and lxml are installed
Describe the bug I'm not able to activate the checkbox for web application type even if dependencies are satisfied. Still getting the "python3-beautifulsoup4 is not installed" message.
Unlike AppImage and Flatpak which worked like a charm after sqlite3 and flatpak package installation. ;-)
Software Environment bauh version: 0.10.3 O.S: Ubuntu Jammy Jellyfish 22.04 LTS Python version: 3.10.4 Installation method: pipx
Hi @matbgn , have you restarted bauh after installing these dependencies ? Since they are Python dependencies and bauh is a Python application, you would need to restart it.
Hi,
Course I had and the machine also with no better results.
Any other idea or log retrieve way?
Try opening a Python shell through a CLI (python 3
) and execute the following command: from bs4 import BeautifulSoup, SoupStrainer
. If an exception is raised, it means something is wrong with the installed beautifulsoup4
. If that is the case, you could check if the package is named differently for your Linux distribution.
There is no problem with bs4:
I believe it might be something related to the pipx
environment. Try installing beautifulsoup4 and lxml with it as well.
Tried it but I really think that the packaging/linking has to be done at bauh level:
$ pipx install beautifulsoup4
No apps associated with package beautifulsoup4 or its dependencies. If you are attempting to install a library, pipx should not be used. Consider using pip or a similar tool instead.
As it is already installed on shared environment:
$ pip3 install beautifulsoup4
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: bs4 in /home/matbgn/.local/lib/python3.10/site-packages (0.0.1)
Requirement already satisfied: beautifulsoup4 in /usr/lib/python3/dist-packages (from bs4) (4.10.0)
You could try using the raw virtualenv library (as described on the README.md)
I typically want to install bauh as a "standalone" app so makes less sense to stick on venv and therefore multiple operations.
Have you tried the AppImage release ? It has a self-install option to enable self-management (also it generates the desktop entry)
I will thanks
It installs perfectly with the corresponding option, but I'm surely missing something, as the image is not configured right away. Any advice?
Sorry, when you say is not configured, you mean not displayed for managing on bauh itself ?
Yep - sorry for my english BTW - I mean that the icon is not set up so the application manager on my Ubuntu 22.04 machine could not display it.
I'll try to reproduce the issue here...
I finally achieved to install bauh within pipx and therefore augment my mastery of pipx. It's simple as running the following commands:
pipx inject bauh bs4
pipx inject bauh lxml
Therefore, the overall process that would have place in the docs could simply be:
python3 -m pip install --user pipx
python3 -m pipx ensurepath
pipx install bauh
pipx inject bauh bs4
pipx inject bauh lxml
Many thanks for your support along the path!