[PyPSA-Eur] Error on Mac (please help)

61 views
Skip to first unread message

Timon Renzelmann

unread,
Jan 10, 2025, 3:50:13 AM1/10/25
to pypsa
Hi Everyone,

when running PyPSA-Eur with the newest environment and code on MacOS, I get this error:

"ImportError: generic_type: type "ObjSense" is already registered!"

which seems to have sth to do with the packages. I haven't been able to fix it, do you have any idea on what I could try?

Here the full error message:

Traceback (most recent call last):
  File "/Users/timonr/Library/CloudStorage/OneDrive-Chalmers/Documents/pypsa-eur/.snakemake/scripts/tmpxtzatksy.build_line_rating.py", line 62, in <module>
    import pypsa
  File "/Users/timonr/miniconda3/envs/pypsa-eur/lib/python3.12/site-packages/pypsa/__init__.py", line 18, in <module>
    from pypsa import (
  File "/Users/timonr/miniconda3/envs/pypsa-eur/lib/python3.12/site-packages/pypsa/components.py", line 70, in <module>
    from pypsa.optimization.optimize import OptimizationAccessor
  File "/Users/timonr/miniconda3/envs/pypsa-eur/lib/python3.12/site-packages/pypsa/optimization/__init__.py", line 6, in <module>
    from pypsa.optimization import abstract, constraints, optimize, variables
  File "/Users/timonr/miniconda3/envs/pypsa-eur/lib/python3.12/site-packages/pypsa/optimization/abstract.py", line 18, in <module>
    from linopy import LinearExpression, QuadraticExpression, merge
  File "/Users/timonr/miniconda3/envs/pypsa-eur/lib/python3.12/site-packages/linopy/__init__.py", line 14, in <module>
    import linopy.monkey_patch_xarray  # noqa: F401
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/timonr/miniconda3/envs/pypsa-eur/lib/python3.12/site-packages/linopy/monkey_patch_xarray.py", line 8, in <module>
    from linopy import expressions, variables
  File "/Users/timonr/miniconda3/envs/pypsa-eur/lib/python3.12/site-packages/linopy/expressions.py", line 40, in <module>
    from linopy import constraints, variables
  File "/Users/timonr/miniconda3/envs/pypsa-eur/lib/python3.12/site-packages/linopy/constraints.py", line 28, in <module>
    from linopy import expressions, variables
  File "/Users/timonr/miniconda3/envs/pypsa-eur/lib/python3.12/site-packages/linopy/variables.py", line 55, in <module>
    from linopy.solvers import set_int_index
  File "/Users/timonr/miniconda3/envs/pypsa-eur/lib/python3.12/site-packages/linopy/solvers.py", line 61, in <module>
    import highspy
  File "/Users/timonr/miniconda3/envs/pypsa-eur/lib/python3.12/site-packages/highspy/__init__.py", line 1, in <module>
    from ._core import (
ImportError: generic_type: type "ObjSense" is already registered!



And here my packages if that is relevant:

# Name                    Version                   Build  Channel
affine                    2.4.0              pyhd8ed1ab_1    conda-forge
ampl-asl                  1.0.0                h286801f_2    conda-forge
amply                     0.1.6              pyhd8ed1ab_1    conda-forge
aom                       3.9.1                h7bae524_0    conda-forge
appdirs                   1.4.4              pyhd8ed1ab_1    conda-forge
argparse-dataclass        2.0.0              pyhd8ed1ab_0    conda-forge
asttokens                 3.0.0              pyhd8ed1ab_1    conda-forge
atk-1.0                   2.38.0               hd03087b_2    conda-forge
atlite                    0.3.0              pyhd8ed1ab_0    conda-forge
attrs                     24.3.0             pyh71513ae_0    conda-forge
aws-c-auth                0.8.0               h8bc59a9_15    conda-forge
aws-c-cal                 0.8.1                hc8a0bd2_3    conda-forge
aws-c-common              0.10.6               h5505292_0    conda-forge
aws-c-compression         0.3.0                hc8a0bd2_5    conda-forge
aws-c-event-stream        0.5.0               h54f970a_11    conda-forge
aws-c-http                0.9.2                h96aa502_4    conda-forge
aws-c-io                  0.15.3               haba67d1_5    conda-forge
aws-c-mqtt                0.11.0              h24f418c_12    conda-forge
aws-c-s3                  0.7.7                h1be5864_0    conda-forge
aws-c-sdkutils            0.2.1                hc8a0bd2_4    conda-forge
aws-checksums             0.2.2                hc8a0bd2_4    conda-forge
aws-crt-cpp               0.29.7               h19a973c_7    conda-forge
aws-sdk-cpp               1.11.458             he0ff2e4_4    conda-forge
azure-core-cpp            1.14.0               hd50102c_0    conda-forge
azure-identity-cpp        1.10.0               hc602bab_0    conda-forge
azure-storage-blobs-cpp   12.13.0              h7585a09_1    conda-forge
azure-storage-common-cpp  12.8.0               h9ca1f76_1    conda-forge
azure-storage-files-datalake-cpp 12.12.0              hcdd55da_1    conda-forge
beautifulsoup4            4.12.3             pyha770c72_1    conda-forge
blosc                     1.21.6               h7dd00d9_1    conda-forge
bokeh                     3.6.2              pyhd8ed1ab_1    conda-forge
bottleneck                1.4.2           py312h147345f_0    conda-forge
branca                    0.8.1              pyhd8ed1ab_0    conda-forge
brotli                    1.1.0                hd74edd7_2    conda-forge
brotli-bin                1.1.0                hd74edd7_2    conda-forge
brotli-python             1.1.0           py312hde4cb15_2    conda-forge
bzip2                     1.0.8                h99b78c6_7    conda-forge
c-ares                    1.34.4               h5505292_0    conda-forge
c-blosc2                  2.15.2               h9cbb436_1    conda-forge
ca-certificates           2024.12.31           hca03da5_0  
cairo                     1.18.2               h6a3b0d2_1    conda-forge
cartopy                   0.24.0          py312hcd31e36_0    conda-forge
cdsapi                    0.7.5              pyhd8ed1ab_1    conda-forge
certifi                   2024.12.14      py312hca03da5_0  
cffi                      1.17.1          py312h0fad829_0    conda-forge
cfgv                      3.3.1              pyhd8ed1ab_1    conda-forge
cftime                    1.6.4           py312h755e627_1    conda-forge
charset-normalizer        3.4.1              pyhd8ed1ab_0    conda-forge
click                     8.1.8              pyh707e725_0    conda-forge
click-plugins             1.1.1              pyhd8ed1ab_1    conda-forge
cligj                     0.7.2              pyhd8ed1ab_2    conda-forge
cloudpickle               3.1.0              pyhd8ed1ab_2    conda-forge
coin-or-cbc               2.10.12              h7cfbe6c_1    conda-forge
coin-or-cgl               0.60.9               hbf821b3_0    conda-forge
coin-or-clp               1.17.10              hde4c74c_0    conda-forge
coin-or-osi               0.108.11             hfbf3c2f_1    conda-forge
coin-or-utils             2.11.12              h1ec7d49_1    conda-forge
coincbc                   2.10.12           1_metapackage    conda-forge
colorama                  0.4.6              pyhd8ed1ab_1    conda-forge
conda-inject              1.3.2              pyhd8ed1ab_0    conda-forge
configargparse            1.7                pyhd8ed1ab_1    conda-forge
connection_pool           0.0.3              pyhd3deb0d_0    conda-forge
contourpy                 1.3.1           py312hb23fbb9_0    conda-forge
country_converter         1.2                pyhd8ed1ab_0    conda-forge
cppad                     20240000.7           hf9b8971_1    conda-forge
cycler                    0.12.1             pyhd8ed1ab_1    conda-forge
cytoolz                   1.0.1           py312hea69d52_0    conda-forge
dask                      2024.12.1          pyhd8ed1ab_0    conda-forge
dask-core                 2024.12.1          pyhd8ed1ab_0    conda-forge
dask-expr                 1.1.21             pyhd8ed1ab_0    conda-forge
datapi                    0.1.1              pyhd8ed1ab_0    conda-forge
datrie                    0.8.2           py312h024a12e_8    conda-forge
dav1d                     1.2.1                hb547adb_0    conda-forge
decorator                 5.1.1              pyhd8ed1ab_1    conda-forge
deprecation               2.1.0              pyh9f0ad1d_0    conda-forge
descartes                 1.1.0              pyhd8ed1ab_5    conda-forge
distlib                   0.3.9              pyhd8ed1ab_1    conda-forge
distributed               2024.12.1          pyhd8ed1ab_0    conda-forge
docutils                  0.21.2             pyhd8ed1ab_1    conda-forge
dpath                     2.2.0              pyha770c72_0    conda-forge
entsoe-py                 0.6.11             pyhd8ed1ab_0    conda-forge
et_xmlfile                2.0.0              pyhd8ed1ab_1    conda-forge
exceptiongroup            1.2.2              pyhd8ed1ab_1    conda-forge
executing                 2.1.0              pyhd8ed1ab_1    conda-forge
filelock                  3.16.1             pyhd8ed1ab_1    conda-forge
fiona                     1.10.1          py312hfd5e53c_3    conda-forge
folium                    0.19.4             pyhd8ed1ab_0    conda-forge
font-ttf-dejavu-sans-mono 2.37                 hab24e00_0    conda-forge
font-ttf-inconsolata      3.000                h77eed37_0    conda-forge
font-ttf-source-code-pro  2.038                h77eed37_0    conda-forge
font-ttf-ubuntu           0.83                 h77eed37_3    conda-forge
fontconfig                2.15.0               h1383a14_1    conda-forge
fonts-conda-ecosystem     1                             0    conda-forge
fonts-conda-forge         1                             0    conda-forge
fonttools                 4.55.3          py312h998013c_1    conda-forge
freetype                  2.12.1               hadb7bae_2    conda-forge
freexl                    2.0.0                h3ab3353_2    conda-forge
fribidi                   1.0.10               h27ca646_0    conda-forge
fsspec                    2024.12.0          pyhd8ed1ab_0    conda-forge
gdk-pixbuf                2.42.12              h7ddc832_0    conda-forge
geographiclib             2.0                pyhd8ed1ab_1    conda-forge
geojson                   3.2.0              pyhd8ed1ab_0    conda-forge
geojson-rewind            1.1.0              pyhd8ed1ab_1    conda-forge
geopandas                 1.0.1              pyhd8ed1ab_3    conda-forge
geopandas-base            1.0.1              pyha770c72_3    conda-forge
geopy                     2.4.1              pyhd8ed1ab_2    conda-forge
geos                      3.13.0               hf9b8971_0    conda-forge
geotiff                   1.7.3                h82bf549_3    conda-forge
gflags                    2.2.2             hf9b8971_1005    conda-forge
giflib                    5.2.2                h93a5062_0    conda-forge
gitdb                     4.0.12             pyhd8ed1ab_0    conda-forge
gitpython                 3.1.44             pyhff2d567_0    conda-forge
glog                      0.7.1                heb240a5_0    conda-forge
glpk                      5.0                  h6d7a090_0    conda-forge
gmp                       6.3.0                h7bae524_2    conda-forge
graphite2                 1.3.13            hebf3989_1003    conda-forge
graphviz                  12.0.0               hbf8cc41_0    conda-forge
gtk2                      2.24.33              hc5c4cae_7    conda-forge
gts                       0.7.6                he42f4ea_4    conda-forge
gurobipy                  12.0.0                   pypi_0    pypi
h2                        4.1.0              pyhd8ed1ab_1    conda-forge
harfbuzz                  10.1.0               h9df47df_0    conda-forge
hdf4                      4.2.15               h2ee6834_7    conda-forge
hdf5                      1.14.4          nompi_ha698983_105    conda-forge
highspy                   1.7.2                    pypi_0    pypi
hpack                     4.0.0              pyhd8ed1ab_1    conda-forge
humanfriendly             10.0               pyh707e725_8    conda-forge
hyperframe                6.0.1              pyhd8ed1ab_1    conda-forge
icu                       75.1                 hfee45f7_0    conda-forge
identify                  2.6.5              pyhd8ed1ab_0    conda-forge
idna                      3.10               pyhd8ed1ab_1    conda-forge
immutables                0.21            py312h024a12e_0    conda-forge
importlib-metadata        8.5.0              pyha770c72_1    conda-forge
importlib_resources       6.5.2              pyhd8ed1ab_0    conda-forge
iniconfig                 2.0.0              pyhd8ed1ab_1    conda-forge
ipopt                     3.14.16             h3e4dc2c_11    conda-forge
ipython                   8.31.0             pyh707e725_0    conda-forge
jedi                      0.19.2             pyhd8ed1ab_1    conda-forge
jinja2                    3.1.5              pyhd8ed1ab_0    conda-forge
joblib                    1.4.2              pyhd8ed1ab_1    conda-forge
jpype1                    1.5.1           py312hb23fbb9_1    conda-forge
json-c                    0.18                 he4178ee_0    conda-forge
jsonschema                4.23.0             pyhd8ed1ab_1    conda-forge
jsonschema-specifications 2024.10.1          pyhd8ed1ab_1    conda-forge
jupyter_core              5.7.2              pyh31011fe_1    conda-forge
kiwisolver                1.4.7           py312h6142ec9_0    conda-forge
krb5                      1.21.3               h237132a_0    conda-forge
lcms2                     2.16                 ha0e7c42_0    conda-forge
lerc                      4.0.0                h9a09cb3_0    conda-forge
libabseil                 20240722.0      cxx17_h07bc746_4    conda-forge
libaec                    1.1.3                hebf3989_0    conda-forge
libarchive                3.7.7                h3b16cec_3    conda-forge
libarrow                  18.1.0           h0ad35bc_7_cpu    conda-forge
libarrow-acero            18.1.0           hf07054f_7_cpu    conda-forge
libarrow-dataset          18.1.0           hf07054f_7_cpu    conda-forge
libarrow-substrait        18.1.0           h4239455_7_cpu    conda-forge
libavif16                 1.1.1                h45b7238_2    conda-forge
libblas                   3.9.0           26_osxarm64_openblas    conda-forge
libbrotlicommon           1.1.0                hd74edd7_2    conda-forge
libbrotlidec              1.1.0                hd74edd7_2    conda-forge
libbrotlienc              1.1.0                hd74edd7_2    conda-forge
libcblas                  3.9.0           26_osxarm64_openblas    conda-forge
libcrc32c                 1.1.2                hbdafb3b_0    conda-forge
libcurl                   8.11.1               h73640d1_0    conda-forge
libcxx                    19.1.6               ha82da77_1    conda-forge
libde265                  1.0.15               h2ffa867_0    conda-forge
libdeflate                1.23                 hec38601_0    conda-forge
libedit                   3.1.20240808    pl5321hafb1f1b_0    conda-forge
libev                     4.33                 h93a5062_2    conda-forge
libevent                  2.1.12               h2757513_1    conda-forge
libexpat                  2.6.4                h286801f_0    conda-forge
libffi                    3.4.2                h3422bc3_5    conda-forge
libgd                     2.3.3               hac1b3a8_10    conda-forge
libgdal-core              3.10.0              h9ef0d2d_13    conda-forge
libgfortran               5.0.0           13_2_0_hd922786_3    conda-forge
libgfortran5              13.2.0               hf226fd6_3    conda-forge
libglib                   2.82.2               h07bd6cf_0    conda-forge
libgoogle-cloud           2.33.0               hdbe95d5_1    conda-forge
libgoogle-cloud-storage   2.33.0               h7081f7f_1    conda-forge
libgrpc                   1.67.1               h0a426d6_1    conda-forge
libheif                   1.19.5          gpl_h297b2c4_100    conda-forge
libhwloc                  2.11.2          default_hbce5d74_1001    conda-forge
libiconv                  1.17                 h0d3ecfb_2    conda-forge
libintl                   0.22.5               h8414b35_3    conda-forge
libjpeg-turbo             3.0.0                hb547adb_1    conda-forge
libkml                    1.3.0             he250239_1021    conda-forge
liblapack                 3.9.0           26_osxarm64_openblas    conda-forge
liblapacke                3.9.0           26_osxarm64_openblas    conda-forge
liblzma                   5.6.3                h39f12f2_1    conda-forge
libnetcdf                 4.9.2           nompi_h6569565_116    conda-forge
libnghttp2                1.64.0               h6d7220d_0    conda-forge
libopenblas               0.3.28          openmp_hf332438_1    conda-forge
libparquet                18.1.0           h636d7b7_7_cpu    conda-forge
libpng                    1.6.44               hc14010f_0    conda-forge
libprotobuf               5.28.3               h3bd63a1_1    conda-forge
libre2-11                 2024.07.02           h07bc746_2    conda-forge
librsvg                   2.58.4               h266df6f_2    conda-forge
librttopo                 1.1.0               ha2cf0f4_17    conda-forge
libscotch                 7.0.5                hc2b2845_4    conda-forge
libspatialite             5.1.0               hf92fc0a_12    conda-forge
libsqlite                 3.47.2               h3f77e49_0    conda-forge
libssh2                   1.11.1               h9cc3647_0    conda-forge
libthrift                 0.21.0               h64651cc_0    conda-forge
libtiff                   4.7.0                h551f018_3    conda-forge
libutf8proc               2.9.0                h5505292_1    conda-forge
libwebp-base              1.5.0                h2471fea_0    conda-forge
libxcb                    1.17.0               hdb1d25a_0    conda-forge
libxml2                   2.13.5               h178c5d8_1    conda-forge
libxslt                   1.1.39               h223e5b9_0    conda-forge
libzip                    1.11.2               h1336266_0    conda-forge
libzlib                   1.3.1                h8359307_2    conda-forge
linopy                    0.4.4              pyhd8ed1ab_0    conda-forge
llvm-openmp               19.1.6               hdb05f8b_0    conda-forge
locket                    1.0.0              pyhd8ed1ab_0    conda-forge
lxml                      5.3.0           py312ha59c1f6_2    conda-forge
lz4                       4.3.3           py312hf263c89_2    conda-forge
lz4-c                     1.10.0               h286801f_1    conda-forge
lzo                       2.10              h93a5062_1001    conda-forge
mapclassify               2.8.1              pyhd8ed1ab_1    conda-forge
markupsafe                3.0.2           py312h998013c_1    conda-forge
matplotlib                3.10.0          py312h1f38498_0    conda-forge
matplotlib-base           3.10.0          py312hdbc7e53_0    conda-forge
matplotlib-inline         0.1.7              pyhd8ed1ab_1    conda-forge
memory_profiler           0.61.0             pyhd8ed1ab_1    conda-forge
metis                     5.1.0             h15f6cfe_1007    conda-forge
minizip                   4.0.7                hff1a8ea_3    conda-forge
mpfr                      4.2.1                hb693164_3    conda-forge
msgpack-python            1.1.0           py312h6142ec9_0    conda-forge
multiurl                  0.3.3              pyhd8ed1ab_1    conda-forge
mumps-include             5.7.3                hce30654_5    conda-forge
mumps-seq                 5.7.3                he17653c_5    conda-forge
munkres                   1.1.4              pyh9f0ad1d_0    conda-forge
nbformat                  5.10.4             pyhd8ed1ab_1    conda-forge
ncurses                   6.5                  h7bae524_1    conda-forge
netcdf4                   1.7.2           nompi_py312haae1a11_101    conda-forge
networkx                  3.4.2              pyh267e887_2    conda-forge
nodeenv                   1.9.1              pyhd8ed1ab_1    conda-forge
numexpr                   2.10.2          py312hbbbb429_0    conda-forge
numpy                     1.26.4          py312h8442bc7_0    conda-forge
oauthlib                  3.2.2                    pypi_0    pypi
openjpeg                  2.5.3                h8a3d83b_0    conda-forge
openpyxl                  3.1.5           py312hf6e0af7_1    conda-forge
openssl                   3.4.0                h81ee809_1    conda-forge
orc                       2.0.3                h0ff2369_2    conda-forge
packaging                 24.2               pyhd8ed1ab_2    conda-forge
pandas                    2.2.3           py312hcd31e36_1    conda-forge
pango                     1.54.0               h73f1e88_4    conda-forge
parso                     0.8.4              pyhd8ed1ab_1    conda-forge
partd                     1.4.2              pyhd8ed1ab_0    conda-forge
patsy                     1.0.1              pyhd8ed1ab_1    conda-forge
pcre2                     10.44                h297a79d_2    conda-forge
pexpect                   4.9.0              pyhd8ed1ab_1    conda-forge
pickleshare               0.7.5           pyhd8ed1ab_1004    conda-forge
pillow                    11.1.0          py312h50aef2c_0    conda-forge
pip                       24.3.1             pyh8b19718_2    conda-forge
pixman                    0.44.2               h2f9eb0b_0    conda-forge
pkgutil-resolve-name      1.3.10             pyhd8ed1ab_2    conda-forge
plac                      1.4.3              pyhd8ed1ab_1    conda-forge
platformdirs              4.3.6              pyhd8ed1ab_1    conda-forge
pluggy                    1.5.0              pyhd8ed1ab_1    conda-forge
ply                       3.11                     pypi_0    pypi
polars                    1.17.1          py312hc3c60d3_0    conda-forge
powerplantmatching        0.5.19             pyhd8ed1ab_0    conda-forge
pre-commit                4.0.1              pyha770c72_1    conda-forge
progressbar2              4.5.0              pyhd8ed1ab_1    conda-forge
proj                      9.5.1                h1318a7e_0    conda-forge
prompt-toolkit            3.0.48             pyha770c72_1    conda-forge
psutil                    6.1.1           py312hea69d52_0    conda-forge
pthread-stubs             0.4               hd74edd7_1002    conda-forge
ptyprocess                0.7.0              pyhd8ed1ab_1    conda-forge
pulp                      2.8.0           py312h81bd7bf_0    conda-forge
pure_eval                 0.2.3              pyhd8ed1ab_1    conda-forge
py-cpuinfo                9.0.0              pyhd8ed1ab_1    conda-forge
pyarrow                   18.1.0          py312h1f38498_0    conda-forge
pyarrow-core              18.1.0          py312hc40f475_0_cpu    conda-forge
pycountry                 24.6.1             pyhd8ed1ab_0    conda-forge
pycparser                 2.22               pyh29332c3_1    conda-forge
pygments                  2.19.1             pyhd8ed1ab_0    conda-forge
pyogrio                   0.10.0          py312hfd5e53c_1    conda-forge
pyomo                     6.8.2                    pypi_0    pypi
pyparsing                 3.2.1              pyhd8ed1ab_0    conda-forge
pyproj                    3.7.0           py312h1ab748d_0    conda-forge
pypsa                     0.32.0             pyhd8ed1ab_0    conda-forge
pyscipopt                 5.2.1           py312hd8f9ff3_0    conda-forge
pyshp                     2.3.1              pyhd8ed1ab_1    conda-forge
pysocks                   1.7.1              pyha55dd90_7    conda-forge
pytables                  3.10.2          py312h4b6ede8_0    conda-forge
pytest                    8.3.4              pyhd8ed1ab_1    conda-forge
python                    3.12.8          hc22306f_1_cpython    conda-forge
python-dateutil           2.9.0.post0        pyhff2d567_1    conda-forge
python-fastjsonschema     2.21.1             pyhd8ed1ab_0    conda-forge
python-tzdata             2024.2             pyhd8ed1ab_1    conda-forge
python-utils              3.9.1              pyhff2d567_1    conda-forge
python_abi                3.12                    5_cp312    conda-forge
pytz                      2024.1             pyhd8ed1ab_0    conda-forge
pyxlsb                    1.0.10             pyhd8ed1ab_0    conda-forge
pyyaml                    6.0.2           py312h024a12e_1    conda-forge
qhull                     2020.2               h420ef59_5    conda-forge
rasterio                  1.4.3           py312h02264c4_0    conda-forge
rav1e                     0.6.6                h69fbcac_2    conda-forge
re2                       2024.07.02           h6589ca4_2    conda-forge
readline                  8.2                  h92ec313_1    conda-forge
referencing               0.35.1             pyhd8ed1ab_1    conda-forge
requests                  2.32.3             pyhd8ed1ab_1    conda-forge
requests-oauthlib         1.3.1                    pypi_0    pypi
reretry                   0.11.8             pyhd8ed1ab_1    conda-forge
rioxarray                 0.17.0             pyhd8ed1ab_0    conda-forge
rpds-py                   0.22.3          py312hcd83bfe_0    conda-forge
ruff                      0.8.6           py312h5d18b81_0    conda-forge
scikit-learn              1.6.0           py312h39203ce_0    conda-forge
scip                      9.1.1                hd395c90_3    conda-forge
scipy                     1.15.0          py312hb7ffdcd_0    conda-forge
seaborn                   0.13.2               hd8ed1ab_3    conda-forge
seaborn-base              0.13.2             pyhd8ed1ab_3    conda-forge
setuptools                75.6.0             pyhff2d567_1    conda-forge
shapely                   2.0.6           py312h3a6007a_2    conda-forge
six                       1.17.0             pyhd8ed1ab_0    conda-forge
smart_open                7.1.0              pyhd8ed1ab_0    conda-forge
smmap                     5.0.0              pyhd8ed1ab_0    conda-forge
snakemake-executor-plugin-cluster-generic 1.0.9                    pypi_0    pypi
snakemake-executor-plugin-slurm 0.11.2                   pypi_0    pypi
snakemake-executor-plugin-slurm-jobstep 0.2.1                    pypi_0    pypi
snakemake-interface-common 1.17.4             pyhdfd78af_0    bioconda
snakemake-interface-executor-plugins 9.3.3              pyhdfd78af_0    bioconda
snakemake-interface-report-plugins 1.1.0              pyhdfd78af_0    bioconda
snakemake-interface-storage-plugins 3.3.0              pyhdfd78af_0    bioconda
snakemake-minimal         8.24.1             pyhdfd78af_0    bioconda
snakemake-storage-plugin-http 0.2.3                    pypi_0    pypi
snappy                    1.2.1                h98b9ce2_1    conda-forge
snuggs                    1.4.7              pyhd8ed1ab_2    conda-forge
sortedcontainers          2.4.0              pyhd8ed1ab_0    conda-forge
soupsieve                 2.5                pyhd8ed1ab_1    conda-forge
sqlite                    3.47.2               hd7222ec_0    conda-forge
stack_data                0.6.3              pyhd8ed1ab_1    conda-forge
statsmodels               0.14.4          py312h755e627_0    conda-forge
svt-av1                   2.3.0                hf24288c_0    conda-forge
tabulate                  0.9.0              pyhd8ed1ab_2    conda-forge
tbb                       2022.0.0             h0cbf7ec_0    conda-forge
tblib                     3.0.0              pyhd8ed1ab_1    conda-forge
threadpoolctl             3.5.0              pyhc1e730c_0    conda-forge
throttler                 1.2.2              pyhd8ed1ab_0    conda-forge
tk                        8.6.13               h5083fa2_1    conda-forge
tomli                     2.2.1              pyhd8ed1ab_1    conda-forge
toolz                     1.0.0              pyhd8ed1ab_1    conda-forge
tornado                   6.4.2           py312hea69d52_0    conda-forge
tqdm                      4.67.1             pyhd8ed1ab_1    conda-forge
traitlets                 5.14.3             pyhd8ed1ab_1    conda-forge
tsam                      2.3.6                    pypi_0    pypi
typing-extensions         4.12.2               hd8ed1ab_1    conda-forge
typing_extensions         4.12.2             pyha770c72_1    conda-forge
tzdata                    2024b                hc8b5060_0    conda-forge
ukkonen                   1.0.1           py312h6142ec9_5    conda-forge
unicodedata2              15.1.0          py312h0bf5046_1    conda-forge
unidecode                 1.3.8              pyh29332c3_1    conda-forge
uriparser                 0.9.8                h00cdb27_0    conda-forge
urllib3                   2.3.0              pyhd8ed1ab_0    conda-forge
validators                0.34.0             pyhd8ed1ab_1    conda-forge
virtualenv                20.28.1            pyhd8ed1ab_0    conda-forge
wcwidth                   0.2.13             pyhd8ed1ab_1    conda-forge
wheel                     0.45.1             pyhd8ed1ab_1    conda-forge
wrapt                     1.17.0          py312hea69d52_0    conda-forge
x265                      3.5                  hbc6ce65_3    conda-forge
xarray                    2025.1.0           pyhd8ed1ab_0    conda-forge
xerces-c                  3.2.5                h92fc2f4_2    conda-forge
xlrd                      2.0.1              pyhd8ed1ab_3    conda-forge
xorg-libxau               1.0.12               h5505292_0    conda-forge
xorg-libxdmcp             1.1.5                hd74edd7_0    conda-forge
xyzservices               2024.9.0           pyhd8ed1ab_1    conda-forge
yaml                      0.2.5                h3422bc3_2    conda-forge
yte                       1.5.5              pyha770c72_0    conda-forge
zict                      3.0.0              pyhd8ed1ab_1    conda-forge
zipp                      3.21.0             pyhd8ed1ab_1    conda-forge
zlib                      1.3.1                h8359307_2    conda-forge
zlib-ng                   2.2.3                h13dfb9a_0    conda-forge
zstandard                 0.23.0          py312h15fbf35_1    conda-forge
zstd                      1.5.6                hb46c0d2_0    conda-forge

Tobie Nortje

unread,
Jan 11, 2025, 4:45:07 AM1/11/25
to pypsa
HI,

I went through this thread here - https://github.com/scipy/scipy/issues/22257

It could be this bug they are discussing wich led to the same error message - which they fixed in scipy 1.15.1 so maybe try upgrading scipy from 1.15.0 to 1.15.1 ?
Reply all
Reply to author
Forward
0 new messages