-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'Tcl wasn't installed properly' on python test workflow #16426
Comments
We see the same in QuTiP's builds on Windows, e.g. https://github.com/qutip/qutip/runs/7696687924. It's mysterious to me how its possible that only some workers don't have Python Tcl installed correctly. |
Having the same problem over at https://github.com/janosh/pymatviz (CI run). Curious if anyone has a hypothesis why this is flaky. |
This discussion suggests setting the jobs:
tests:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
env:
MPLBACKEND: Agg # https://github.com/orgs/community/discussions/26434
... |
similar solution worked for me @janosh, resolved Tcl-related flakiness on mac by selecting a non-interactive backend |
@mscheltienne it seems that it was fixed in the 3rd party library, and was not directly related to the task itself. |
I encounter the same problem in our test pipeline: https://github.com/ourownstory/neural_prophet/actions/runs/5626902294/job/15248585543?pr=1377 |
I got a couple of workflow running on a matrix of
(windows, macOS, ubuntu)
with python(3.7, 3.8, 3.9, 3.10)
. Randomly, some of the windows tests will fail when trying to show matplotlib figures with the error message:Any idea how to solve this and make it work 100% of the time? It looks to me like Python is not always correctly setup by:
For x-ref: vferat/pycrostates#41
The text was updated successfully, but these errors were encountered: