Closed shirsakm closed 1 month ago
I needed to install the Arch package, tk
using,
$ sudo pacman -S tk
This fixed the Tkinter issue, but now I get a new error.
@shirsakm sorry for the trouble faced. tkextrafont
lacks good support for some linux distros.
Similar issues regarding this are still open #108 #164 (also #86 related).
I look forward to https://github.com/TkinterEP/python-tkextrafont/pull/12 which is passing for linux as well. @rdbende can you please have a look at these error messages
@shirsakm make sure you have installed all the prerequisites mentioned in the tkextrafont docs
sudo apt install python3-dev tcl-dev tk-dev \
fontconfig libfontconfig1 libfontconfig1-dev \
cmake cmake-data extra-cmake-modules build-essential
python -m pip install scikit-build
Hi, this worked, however I would like to make a PR to the docs to add documentation for Arch Linux based systems.
Also, I needed to run an extra command after poetry install
.
$ pip install tkextrafont
Not sure why, but I suppose that should be added to the docs.
@shirsakm There were errors when tkextrafont was added to poetry dependencies section for linux, hence its windows only here. Can you try to reproduce that error in arch by removing the windows only condition from pyproject.toml?
If this is still failing, then yeah definitely this should be in docs, https://github.com/tomlin7/biscuit/blob/main/docs/getting-started/installation.md
There were errors when tkextrafont was added to poetry dependencies section for linux
Yep, that does seem to be the case. I ran into some errors about poetry being unable to find a suitable package. However, as I mentioned installing the module via pip works. It did not run without it, I believe it should be added. Though, I would certainly like to know if this is reproducible for anyone else on Arch Linux, or any other Linux distro.
Bug
Currently unable to install the program from source with pip, the first command,
is unable to install the
tkextrafont
module, as far as I can tell from the error log.I believe this is because it requires
scikit-build
to be installed, which is being installed latter, I assumed just installing it first would fix this issue.This still results in an error, and I believe it is an incompatibility between poetry and pip. Log.
Despite being marked as Windows only, I tried the poetry method. Poetry was installed successfully, and
poetry install
ran without errors. However when trying to run biscuit, I got import errors.The only option left is to install the pre-built build and attempt to run it, however this will make it impossible to contribute. I will update this issue with if the build runs or not.
System Information