Skip to content

Import error in QGIS4 env. #1252

@biglimp

Description

@biglimp

I am getting an import error in QGIS4 env.

from supy import SUEWSSimulation
Traceback (most recent call last):
  File "<input>", line 1, in <module>
ImportError: cannot import name 'SUEWSSimulation' from 'supy' (C:\Users\xlinfr\AppData\Roaming\Python\Python312\site-packages\supy\__init__.py)

Version and platform

  • SUEWS/SuPy version: 2026.1.28rc1
  • OS: Windows 11
  • Python version (if applicable): 3.12

Here is the list of python packages in the updated env:

Package                       Version
----------------------------- ------------
affine                        2.4.0
alabaster                     1.0.0
annotated-types               0.7.0
anyio                         4.12.1
argon2-cffi                   25.1.0
argon2-cffi-bindings          25.1.0
asteval                       1.0.8
astpretty                     3.0.0
asttokens                     3.0.1
async-lru                     2.1.0
atmosp                        0.2.16
attrs                         25.4.0
babel                         2.18.0
beautifulsoup4                4.14.3
bleach                        6.3.0
cdsapi                        0.7.7
certifi                       2026.1.4
cffi                          2.0.0
cftime                        1.6.5
chardet                       7.1.0
charset-normalizer            3.4.4
click                         8.3.1
click-plugins                 1.1.1.2
cligj                         0.7.2
colorama                      0.4.6
comm                          0.2.3
contourpy                     1.3.3
cycler                        0.12.1
debugpy                       1.8.20
decorator                     5.2.1
defusedxml                    0.7.1
dill                          0.4.1
docutils                      0.22.4
duckdb                        1.4.4
ecmwf-datastores-client       0.4.2
et_xmlfile                    2.0.0
executing                     2.2.1
ExifRead                      3.5.1
f90nml                        1.5.0
fastjsonschema                2.21.2
fonttools                     4.61.1
future                        1.0.0
GDAL                          3.12.2
geographiclib                 2.1
geopandas                     1.1.2
h11                           0.16.0
httpcore                      1.0.9
httplib2                      0.31.2
httpx                         0.28.1
idna                          3.11
imagesize                     2.0.0
ipykernel                     7.2.0
ipython                       9.10.0
ipython_pygments_lexers       1.1.1
ipywidgets                    8.1.8
JayDeBeApi                    1.2.3
jedi                          0.19.2
Jinja2                        3.1.6
joblib                        1.5.3
jpype1                        1.6.0
json5                         0.13.0
jsonschema                    4.26.0
jsonschema-specifications     2025.9.1
jupyter                       1.1.1
jupyter_client                8.8.0
jupyter-console               6.6.3
jupyter_core                  5.9.1
jupyter-events                0.12.0
jupyter-lsp                   2.3.0
jupyter_server                2.17.0
jupyter_server_terminals      0.5.4
jupyterlab                    4.5.4
jupyterlab_pygments           0.3.0
jupyterlab_server             2.28.0
jupyterlab_widgets            3.0.15
kiwisolver                    1.4.9
llvmlite                      0.42.0
lmfit                         1.3.4
lxml                          6.0.2
markdown-it-py                4.0.0
MarkupSafe                    3.0.3
matplotlib                    3.10.8
matplotlib-inline             0.2.1
mdurl                         0.1.2
mistune                       3.2.0
mock                          5.2.0
multiurl                      0.3.7
narwhals                      2.16.0
nbclient                      0.10.4
nbconvert                     7.17.0
nbformat                      5.10.4
nest-asyncio                  1.6.0
netCDF4                       1.7.4
networkx                      3.6.1
nose2                         0.15.1
notebook                      7.5.3
notebook_shim                 0.2.4
numba                         0.59.0
numexpr                       2.14.1
numpy                         1.26.4
openpyxl                      3.1.5
OWSLib                        0.35.0
packaging                     25.0
pandas                        3.0.1
pandocfilters                 1.5.1
parso                         0.8.6
pb-tool                       3.1.0
pillow                        12.1.1
pip                           26.0.1
platformdirs                  4.9.2
plotly                        6.5.2
ply                           3.11
prometheus_client             0.24.1
prompt_toolkit                3.0.52
psutil                        7.2.2
psycopg                       3.3.3
psycopg2                      2.9.11
pure_eval                     0.2.3
pyarrow                       23.0.1
pycparser                     3.0
pydantic                      2.12.5
pydantic_core                 2.41.5
Pygments                      2.19.2
pyodbc                        5.3.0
pyogrio                       0.12.1
PyOpenGL                      3.1.10
pyparsing                     3.3.2
PyPDF2                        3.0.1
pypiwin32                     223
pyproj                        3.7.2
PyQt6                         6.10.2
PyQt6_sip                     13.11.0
pyserial                      3.5
python-dateutil               2.9.0.post0
python-json-logger            4.0.0
pytz                          2025.2
pywin32                       311
pywinpty                      3.0.3
PyYAML                        6.0.3
pyzmq                         27.1.0
rasterio                      1.4.3
referencing                   0.37.0
remotior_sensus               0.6.2
reportlab                     4.4.10
requests                      2.32.5
rfc3339_validator             0.1.4
rfc3986_validator             0.1.1
rich                          14.3.3
rioxarray                     0.19.0
roman-numerals                4.1.0
rpds-py                       0.30.0
scikit-learn                  1.8.0
scipy                         1.17.0
seaborn                       0.13.2
Send2Trash                    2.1.0
setuptools                    82.0.0
shapely                       2.1.2
simplejson                    3.20.2
sip                           6.15.1
six                           1.17.0
snowballstemmer               3.0.1
soupsieve                     2.8.3
Sphinx                        9.1.0
sphinxcontrib-applehelp       2.0.0
sphinxcontrib-devhelp         2.0.0
sphinxcontrib-htmlhelp        2.1.0
sphinxcontrib-jsmath          1.0.1
sphinxcontrib-qthelp          2.0.0
sphinxcontrib-serializinghtml 2.0.0
stack_data                    0.6.3
supy                          2026.1.28rc1
target-py                     0.1.1
terminado                     0.18.1
threadpoolctl                 3.6.0
tokenize_rt                   6.2.0
tornado                       6.5.4
tqdm                          4.67.3
traitlets                     5.14.3
typing_extensions             4.15.0
typing-inspection             0.4.2
tzdata                        2025.3
tzfpy                         1.1.3
umep-reqs                     2.9
uncertainties                 3.2.3
urllib3                       2.6.3
uwg                           5.8.13
wcwidth                       0.6.0
webencodings                  0.5.1
websocket-client              1.9.0
widgetsnbextension            4.0.15
wxPython                      4.2.4
xarray                        2026.2.0
xlrd                          2.0.2
xlwt                          1.3.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    1-bugSomething isn't working2-infra:packagingPackage distribution, dependencies3-P2Medium priority

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions