Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Unable to link against python with m2w64-toolchain

オープン
#18 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
python
領域
build-system

調査の方向性

まず、Issue に記載されているパッケージバージョンを使って、libpython 2.3 での m2w64-toolchain のリンク失敗を再現し、libpython 2.2 の場合と比較します。参照されている libpython-feedstock の pull request 16 と msmpi の pull request 21 を読み、関連する toolchain の制約を明らかにします。Python 3.13+ が引き続きサポートされるかどうかを文書化するか、必要なサポート対象の経路を特定できれば完了です。

索引モデルが issue の本文から書いたものです。

説明

bug
Solution to issue cannot be found in the documentation.
  • I checked the documentation.
Issue

I am unable to link against python with the m2w64-toolchain if I use the latest libpython (2.3). Reverting to libpython 2.2 fixes this issue. However, that only support python <= 3.12.

From the comments under https://github.com/conda-forge/libpython-feedstock/pull/16 I gather that the import libraries were removed when libpython was updated to 2.3, with the note that "We don't need this package anymore." Does that mean that using m2w64-toolchain to build python-dependent code is no longer supported from python 3.13 upward? I appreciate that m2w64-toolchain is old and the new UCRT-based toolchain would be preferable here, but we are unable to use that currently due to a dependence on msmpi, which does not support the UCRT toolchain yet.

Installed packages
# packages in environment at C:\Miniconda\envs\eat:
#
# Name                            Version             Build                    Channel
_python_abi3_support              1.0                 hd8ed1ab_2               conda-forge
anyio                             4.10.0              pyhe01879c_0             conda-forge
argon2-cffi                       25.1.0              pyhd8ed1ab_0             conda-forge
argon2-cffi-bindings              25.1.0              py313h5ea7bf4_0          conda-forge
arrow                             1.3.0               pyhd8ed1ab_1             conda-forge
asttokens                         3.0.0               pyhd8ed1ab_1             conda-forge
async-lru                         2.0.5               pyh29332c3_0             conda-forge
attrs                             25.3.0              pyh71513ae_0             conda-forge
babel                             2.17.0              pyhd8ed1ab_0             conda-forge
beautifulsoup4                    4.13.5              pyha770c72_0             conda-forge
blas                              2.135               blis                     conda-forge
blas-devel                        3.9.0               35_hf291db7_blis         conda-forge
bleach                            6.2.0               pyh29332c3_4             conda-forge
bleach-with-css                   6.2.0               h82add2a_4               conda-forge
blis                              0.9.0               h2466b09_2               conda-forge
blosc                             1.21.6              hfd34d9b_1               conda-forge
brotli                            1.1.0               hfd05255_4               conda-forge
brotli-bin                        1.1.0               hfd05255_4               conda-forge
brotli-python                     1.1.0               py313hfe59770_4          conda-forge
bzip2                             1.0.8               h2466b09_7               conda-forge
ca-certificates                   2025.8.3            h4c7d964_0               conda-forge
cached-property                   1.5.2               hd8ed1ab_1               conda-forge
cached_property                   1.5.2               pyha770c72_1             conda-forge
cairo                             1.18.4              h5782bbf_0               conda-forge
certifi                           2025.8.3            pyhd8ed1ab_0             conda-forge
cffi                              1.17.1              py313h5ea7bf4_1          conda-forge
cftime                            1.6.4               py313h0591002_2          conda-forge
charset-normalizer                3.4.3               pyhd8ed1ab_0             conda-forge
clang                             19.1.7              default_hac490eb_4       conda-forge
clang-19                          19.1.7              default_hac490eb_4       conda-forge
cmake                             4.1.1               hdcbee5b_0               conda-forge
colorama                          0.4.6               pyhd8ed1ab_1             conda-forge
comm                              0.2.3               pyhe01879c_0             conda-forge
compiler-rt                       19.1.7              hc790b64_0               conda-forge
compiler-rt_win-64                19.1.7              hc790b64_0               conda-forge
contourpy                         1.3.3               py313hf069bd2_2          conda-forge
cpython                           3.13.7              py313hd8ed1ab_100        conda-forge
cycler                            0.12.1              pyhd8ed1ab_1             conda-forge
cython                            3.1.3               py313hb1c8229_2          conda-forge
debugpy                           1.8.16              py313h927ade5_1          conda-forge
decorator                         5.2.1               pyhd8ed1ab_0             conda-forge
defusedxml                        0.7.1               pyhd8ed1ab_0             conda-forge
distutils-activate-mingw          2.3                 py313hfa70ccb_5          conda-forge
double-conversion                 3.3.1               he0c23c2_0               conda-forge
exceptiongroup                    1.3.0               pyhd8ed1ab_0             conda-forge
executing                         2.2.1               pyhd8ed1ab_0             conda-forge
flang                             19.1.7              hbeecb71_0               conda-forge
flang_impl_win-64                 19.1.7              h719f0c7_0               conda-forge
flang_win-64                      19.1.7              h719f0c7_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              h765892d_1               conda-forge
fonts-conda-ecosystem             1                   0                        conda-forge
fonts-conda-forge                 1                   0                        conda-forge
fonttools                         4.59.2              py313hd650c13_0          conda-forge
fortran-compiler                  1.11.0              h95e3450_0               conda-forge
fqdn                              1.5.1               pyhd8ed1ab_1             conda-forge
freetype                          2.13.3              h57928b3_1               conda-forge
glib                              2.84.3              h36503ca_0               conda-forge
glib-tools                        2.84.3              he647baa_0               conda-forge
graphite2                         1.3.14              hac47afa_2               conda-forge
gsl                               2.7                 hdfb1a43_0               conda-forge
gst-plugins-base                  1.24.11             h3fe0a9e_0               conda-forge
gstreamer                         1.24.11             h233a61a_0               conda-forge
h11                               0.16.0              pyhd8ed1ab_0             conda-forge
h2                                4.3.0               pyhcf101f3_0             conda-forge
harfbuzz                          11.4.5              h5f2951f_0               conda-forge
hdf4                              4.2.15              h5557f11_7               conda-forge
hdf5                              1.14.3              nompi_hb2c4d47_109       conda-forge
hpack                             4.1.0               pyhd8ed1ab_0             conda-forge
httpcore                          1.0.9               pyh29332c3_0             conda-forge
httpx                             0.28.1              pyhd8ed1ab_0             conda-forge
hyperframe                        6.1.0               pyhd8ed1ab_0             conda-forge
icu                               75.1                he0c23c2_0               conda-forge
idna                              3.10                pyhd8ed1ab_1             conda-forge
importlib-metadata                8.7.0               pyhe01879c_1             conda-forge
ipykernel                         6.30.1              pyh3521513_0             conda-forge
ipympl                            0.9.7               pyhcf101f3_2             conda-forge
ipython                           9.5.0               pyh6be1c34_0             conda-forge
ipython_pygments_lexers           1.1.1               pyhd8ed1ab_0             conda-forge
ipywidgets                        8.1.7               pyhd8ed1ab_0             conda-forge
isoduration                       20.11.0             pyhd8ed1ab_1             conda-forge
jedi                              0.19.2              pyhd8ed1ab_1             conda-forge
jinja2                            3.1.6               pyhd8ed1ab_0             conda-forge
json5                             0.12.1              pyhd8ed1ab_0             conda-forge
jsonpointer                       3.0.0               py313hfa70ccb_2          conda-forge
jsonschema                        4.25.1              pyhe01879c_0             conda-forge
jsonschema-specifications         2025.9.1            pyhcf101f3_0             conda-forge
jsonschema-with-format-nongpl     4.25.1              he01879c_0               conda-forge
jupyter-lsp                       2.3.0               pyhcf101f3_0             conda-forge
jupyter_client                    8.6.3               pyhd8ed1ab_1             conda-forge
jupyter_core                      5.8.1               pyh5737063_0             conda-forge
jupyter_events                    0.12.0              pyh29332c3_0             conda-forge
jupyter_server                    2.17.0              pyhcf101f3_0             conda-forge
jupyter_server_terminals          0.5.3               pyhd8ed1ab_1             conda-forge
jupyterlab                        4.4.7               pyhd8ed1ab_0             conda-forge
jupyterlab_pygments               0.3.0               pyhd8ed1ab_2             conda-forge
jupyterlab_server                 2.27.3              pyhd8ed1ab_1             conda-forge
jupyterlab_widgets                3.0.15              pyhd8ed1ab_0             conda-forge
kiwisolver                        1.4.9               py313h1a38498_1          conda-forge
krb5                              1.21.3              hdf4eb48_0               conda-forge
lapack                            3.6.1               h8933c1f_2               conda-forge
lark                              1.2.2               pyhd8ed1ab_1             conda-forge
lcms2                             2.17                hbcf6048_0               conda-forge
lerc                              4.0.0               h6470a55_1               conda-forge
libaec                            1.1.4               h20038f6_0               conda-forge
libblas                           3.9.0               35_h3d8f3c0_blis         conda-forge
libbrotlicommon                   1.1.0               hfd05255_4               conda-forge
libbrotlidec                      1.1.0               hfd05255_4               conda-forge
libbrotlienc                      1.1.0               hfd05255_4               conda-forge
libcblas                          3.9.0               35_h8e9ec6c_blis         conda-forge
libclang13                        21.1.0              default_ha2db4b5_1       conda-forge
libcurl                           8.14.1              h88aaa65_0               conda-forge
libdeflate                        1.24                h76ddb4d_0               conda-forge
libexpat                          2.7.1               hac47afa_0               conda-forge
libffi                            3.4.6               h537db12_1               conda-forge
libflang                          19.1.7              he0c23c2_0               conda-forge
libfreetype                       2.13.3              h57928b3_1               conda-forge
libfreetype6                      2.13.3              h0b5ce68_1               conda-forge
libglib                           2.84.3              h1c1036b_0               conda-forge
libiconv                          1.18                hc1393d2_2               conda-forge
libintl                           0.22.5              h5728263_3               conda-forge
libintl-devel                     0.22.5              h5728263_3               conda-forge
libjpeg-turbo                     3.1.0               h2466b09_0               conda-forge
liblapack                         3.9.0               12_h13b7882_netlib       conda-forge
liblapacke                        3.9.0               12_h1360930_netlib       conda-forge
libllvm19                         19.1.7              h3089188_1               conda-forge
liblzma                           5.8.1               h2466b09_2               conda-forge
libmpdec                          4.0.0               h2466b09_0               conda-forge
libnetcdf                         4.9.2               nompi_h008f77d_116       conda-forge
libogg                            1.3.5               h2466b09_1               conda-forge
libopenblas                       0.3.30              pthreads_ha4fe6b2_2      conda-forge
libpng                            1.6.50              h7351971_1               conda-forge
libpython                         2.3                 h57928b3_5               conda-forge
libsodium                         1.0.20              hc70643c_0               conda-forge
libsqlite                         3.50.4              hf5d6505_0               conda-forge
libssh2                           1.11.1              h9aa295b_0               conda-forge
libtiff                           4.7.0               h550210a_6               conda-forge
libudunits2                       2.2.28              hfda9870_3               conda-forge
libuv                             1.51.0              hfd05255_1               conda-forge
libvorbis                         1.3.7               h5112557_2               conda-forge
libwebp-base                      1.6.0               h4d5522a_0               conda-forge
libxcb                            1.16                h013a479_1               conda-forge
libxml2                           2.13.8              h741aa76_1               conda-forge
libxslt                           1.1.43              h25c3957_0               conda-forge
libzip                            1.11.2              h3135430_0               conda-forge
libzlib                           1.3.1               h2466b09_2               conda-forge
lld                               21.1.0              h5383324_0               conda-forge
llvm-tools                        19.1.7              h2a44499_1               conda-forge
lz4-c                             1.10.0              h2466b09_1               conda-forge
m2w64-binutils                    2.25.1              5                        conda-forge
m2w64-bzip2                       1.0.6               6                        conda-forge
m2w64-crt-git                     5.0.0.4636.2595836  2                        conda-forge
m2w64-gcc                         5.3.0               6                        conda-forge
m2w64-gcc-ada                     5.3.0               6                        conda-forge
m2w64-gcc-fortran                 5.3.0               6                        conda-forge
m2w64-gcc-libgfortran             5.3.0               6                        conda-forge
m2w64-gcc-libs                    5.3.0               7                        conda-forge
m2w64-gcc-libs-core               5.3.0               7                        conda-forge
m2w64-gcc-objc                    5.3.0               6                        conda-forge
m2w64-gmp                         6.1.0               2                        conda-forge
m2w64-headers-git                 5.0.0.4636.c0ad18a  2                        conda-forge
m2w64-isl                         0.16.1              2                        conda-forge
m2w64-libiconv                    1.14                6                        conda-forge
m2w64-libmangle-git               5.0.0.4509.2e5a9a2  2                        conda-forge
m2w64-libwinpthread-git           5.0.0.4634.697f757  2                        conda-forge
m2w64-make                        4.1.2351.a80a8b8    2                        conda-forge
m2w64-mpc                         1.0.3               3                        conda-forge
m2w64-mpfr                        3.1.4               4                        conda-forge
m2w64-pkg-config                  0.29.1              2                        conda-forge
m2w64-toolchain                   5.3.0               7                        conda-forge
m2w64-tools-git                   5.0.0.4592.90b8472  2                        conda-forge
m2w64-windows-default-manifest    6.4                 3                        conda-forge
m2w64-winpthreads-git             5.0.0.4634.697f757  2                        conda-forge
m2w64-zlib                        1.2.8               10                       conda-forge
markupsafe                        3.0.2               py313hb4c8b1a_1          conda-forge
matplotlib                        3.10.6              py313hfa70ccb_1          conda-forge
matplotlib-base                   3.10.6              py313he1ded55_1          conda-forge
matplotlib-inline                 0.1.7               pyhd8ed1ab_1             conda-forge
mistune                           3.1.4               pyhcf101f3_0             conda-forge
mpi                               1.0                 msmpi                    conda-forge
mpi4py                            4.1.0               py313he7c20cf_102        conda-forge
msmpi                             10.1.1              h3502643_7               conda-forge
msys2-conda-epoch                 20160418            1                        conda-forge
munkres                           1.1.4               pyhd8ed1ab_1             conda-forge
nbclient                          0.10.2              pyhd8ed1ab_0             conda-forge
nbconvert-core                    7.16.6              pyh29332c3_0             conda-forge
nbformat                          5.10.4              pyhd8ed1ab_1             conda-forge
nco                               5.3.3               h7377ec6_0               conda-forge
nest-asyncio                      1.6.0               pyhd8ed1ab_1             conda-forge
netcdf-fortran                    4.6.1               nompi_h52e177b_104       conda-forge
netcdf4                           1.7.2               nompi_py313hd7ea893_101  conda-forge
notebook-shim                     0.2.4               pyhd8ed1ab_1             conda-forge
numpy                             2.3.2               py313hce7ae62_2          conda-forge
openblas                          0.3.30              pthreads_h4a7f399_2      conda-forge
openjpeg                          2.5.3               h24db6dd_1               conda-forge
openssl                           3.5.2               h725018a_0               conda-forge
overrides                         7.7.0               pyhd8ed1ab_1             conda-forge
packaging                         25.0                pyh29332c3_1             conda-forge
pandocfilters                     1.5.0               pyhd8ed1ab_0             conda-forge
parso                             0.8.5               pyhcf101f3_0             conda-forge
pcre2                             10.45               h99c9b8b_0               conda-forge
pickleshare                       0.7.5               pyhd8ed1ab_1004          conda-forge
pillow                            10.4.0              py313h24ec7aa_1          conda-forge
pip                               25.2                pyh145f28c_0             conda-forge
pixman                            0.46.4              h5112557_1               conda-forge
platformdirs                      4.4.0               pyhcf101f3_0             conda-forge
ply                               3.11                pyhd8ed1ab_3             conda-forge
prometheus_client                 0.22.1              pyhd8ed1ab_0             conda-forge
prompt-toolkit                    3.0.52              pyha770c72_0             conda-forge
psutil                            7.0.0               py313h5ea7bf4_1          conda-forge
pthread-stubs                     0.4                 hcd874cb_1001            conda-forge
pure_eval                         0.2.3               pyhd8ed1ab_1             conda-forge
pycparser                         2.22                pyh29332c3_1             conda-forge
pygments                          2.19.2              pyhd8ed1ab_0             conda-forge
pyncview                          0.99.39             pyhd8ed1ab_1             conda-forge
pyparsing                         3.2.3               pyhe01879c_2             conda-forge
pyqt                              5.15.11             py313hbdd460c_1          conda-forge
pyqt5-sip                         12.17.0             py313h5813708_1          conda-forge
pyside6                           6.9.2               py313hd8d090c_1          conda-forge
pysocks                           1.7.1               pyh09c184e_7             conda-forge
python                            3.13.7              hdf00ec1_100_cp313       conda-forge
python-dateutil                   2.9.0.post0         pyhe01879c_2             conda-forge
python-fastjsonschema             2.21.2              pyhe01879c_0             conda-forge
python-gil                        3.13.7              h4df99d1_100             conda-forge
python-json-logger                2.0.7               pyhd8ed1ab_0             conda-forge
python_abi                        3.13                8_cp313                  conda-forge
pytz                              2025.2              pyhd8ed1ab_0             conda-forge
pywin32                           311                 py313h40c08fc_1          conda-forge
pywinpty                          2.0.15              py313h5813708_0          conda-forge
pyyaml                            6.0.2               py313hb4c8b1a_2          conda-forge
pyzmq                             27.1.0              py312hbb5da91_0          conda-forge
qhull                             2020.2              hc790b64_5               conda-forge
qt-main                           5.15.15             hb098fff_5               conda-forge
qt6-main                          6.9.2               h236c7cd_0               conda-forge
referencing                       0.36.2              pyh29332c3_0             conda-forge
requests                          2.32.5              pyhd8ed1ab_0             conda-forge
rfc3339-validator                 0.1.4               pyhd8ed1ab_1             conda-forge
rfc3986-validator                 0.1.1               pyh9f0ad1d_0             conda-forge
rfc3987-syntax                    1.1.0               pyhe01879c_1             conda-forge
rpds-py                           0.27.1              py313hfbe8231_1          conda-forge
scipy                             1.16.1              py313h62a08ca_1          conda-forge
send2trash                        1.8.3               pyh5737063_1             conda-forge
setuptools                        80.9.0              pyhff2d567_0             conda-forge
sip                               6.10.0              py313h5813708_0          conda-forge
six                               1.17.0              pyhe01879c_1             conda-forge
snappy                            1.2.2               h7fa0ca8_0               conda-forge
sniffio                           1.3.1               pyhd8ed1ab_1             conda-forge
soupsieve                         2.8                 pyhd8ed1ab_0             conda-forge
stack_data                        0.6.3               pyhd8ed1ab_1             conda-forge
terminado                         0.18.1              pyh5737063_0             conda-forge
tinycss2                          1.4.0               pyhd8ed1ab_0             conda-forge
tk                                8.6.13              h2c6b04d_2               conda-forge
toml                              0.10.2              pyhd8ed1ab_1             conda-forge
tomli                             2.2.1               pyhe01879c_2             conda-forge
tornado                           6.5.2               py313h5ea7bf4_1          conda-forge
traitlets                         5.14.3              pyhd8ed1ab_1             conda-forge
types-python-dateutil             2.9.0.20250822      pyhd8ed1ab_0             conda-forge
typing-extensions                 4.15.0              h396c80c_0               conda-forge
typing_extensions                 4.15.0              pyhcf101f3_0             conda-forge
typing_utils                      0.1.0               pyhd8ed1ab_1             conda-forge
tzdata                            2025b               h78e105d_0               conda-forge
ucrt                              10.0.26100.0        h57928b3_0               conda-forge
uri-template                      1.3.0               pyhd8ed1ab_1             conda-forge
urllib3                           2.5.0               pyhd8ed1ab_0             conda-forge
vc                                14.3                h41ae7f8_31              conda-forge
vc14_runtime                      14.44.35208         h818238b_31              conda-forge
vcomp14                           14.44.35208         h818238b_31              conda-forge
vs2015_runtime                    14.44.35208         h38c0c73_31              conda-forge
wcwidth                           0.2.13              pyhd8ed1ab_1             conda-forge
webcolors                         24.11.1             pyhd8ed1ab_0             conda-forge
webencodings                      0.5.1               pyhd8ed1ab_3             conda-forge
websocket-client                  1.8.0               pyhd8ed1ab_1             conda-forge
widgetsnbextension                4.0.14              pyhd8ed1ab_0             conda-forge
win_inet_pton                     1.1.0               pyh7428d3b_8             conda-forge
winpty                            0.4.3               4                        conda-forge
xmlplot                           0.9.29              pyhd8ed1ab_1             conda-forge
xmlstore                          0.9.14              pyhd8ed1ab_1             conda-forge
xorg-libxau                       1.0.11              hcd874cb_0               conda-forge
xorg-libxdmcp                     1.1.3               hcd874cb_0               conda-forge
yaml                              0.2.5               h6a83c73_3               conda-forge
zeromq                            4.3.5               h5bddc39_9               conda-forge
zipp                              3.23.0              pyhd8ed1ab_0             conda-forge
zlib                              1.3.1               h2466b09_2               conda-forge
zstandard                         0.24.0              py313hcdcf24b_1          conda-forge
zstd                              1.5.7               hbeecb71_2               conda-forge
Environment info
     active environment : eat
    active env location : C:\Miniconda\envs\eat
            shell level : 2
       user config file : C:\Users\runneradmin\.condarc
 populated config files : C:\Miniconda\.condarc
                          C:\Users\runneradmin\.condarc
          conda version : 25.7.0
    conda-build version : not installed
         python version : 3.13.5.final.0
                 solver : libmamba (default)
       virtual packages : __archspec=1=x86_64_v3
                          __conda=25.7.0=0
                          __win=10.0.20348=0
       base environment : C:\Miniconda  (writable)
      conda av data dir : C:\Miniconda\etc\conda
  conda av metadata url : None
           channel URLs : https://conda.anaconda.org/conda-forge/win-64
                          https://conda.anaconda.org/conda-forge/noarch
                          https://repo.anaconda.com/pkgs/main/win-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/win-64
                          https://repo.anaconda.com/pkgs/r/noarch
                          https://repo.anaconda.com/pkgs/msys2/win-64
                          https://repo.anaconda.com/pkgs/msys2/noarch
          package cache : C:\Users\runneradmin\conda_pkgs_dir
       envs directories : C:\Miniconda\envs
                          C:\Users\runneradmin\.conda\envs
                          C:\Users\runneradmin\AppData\Local\conda\conda\envs
               platform : win-64
             user-agent : conda/25.7.0 requests/2.32.4 CPython/3.13.5 Windows/2022Server Windows/10.0.20348 solver/libmamba conda-libmamba-solver/25.4.0 libmambapy/2.0.5 aau/0.7.2 c/. s/. e/.
          administrator : True
             netrc file : None
           offline mode : False
主要言語
C
スター
0
フォーク
4
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

conda-forge/libpython-feedstock のほかの issue

conda-forge/libpython-feedstock の issue をすべて見る

似ている issue

C の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。