Common errors

During package load

Errors that may occur when executing import iesopt.

  • “Exception: no version of Julia is compatible with =x.y.z - perhaps you need to update JuliaUp”: Open a terminal and execute juliaup update. If it still reports the same error afterwards, checkout the specific version that it fails to find, and manually install that.

  • Julia Version Confilict on Windows:

    Exception: 'julia' compat entries have empty intersection:
    - '=1.12.5' at ...\\.venv\lib\site-packages\iesopt\juliapkg.json
    - '1.0.0 - 1.11' at ...\\.venv\lib\site-packages\juliacall\juliapkg.json (OpenSSL_jll)
    

    You can either:

    1. Try installing Python via uv instead of the standard Python Installer; this can be done, e.g., by running uv python install 3.14 --force. Currently, versions published directly by CPython come with an outdated OpenSSL version.

    2. Or (most likely better), try a general fix by telling uv to use only Python installations managed by them (instead of a global / system-wide CPython), by adding this to your pyproject.toml:

    [tool.uv]
    python-preference = "only-managed"