Repository navigation
Description
Solution to issue cannot be found in the documentation.
- I checked the documentation.
Issue
on Windows conda create -c conda-forge -n test scipy install free-threaded Python on Windows, which is quite unexpected. I would expect vanilla Python to be installed by default.
mamba create -c conda-forge -n test scipy does also install free-threaded Python.
Of course there are work-arounds to force vanila Python e.g. conda install -c conda-forge scipy python-gil.
As expected:
- on Windows only installing
numpyinstalls vanilla Python throughconda create -c conda-forge numpy - on Linux, installing
scipyinstalls vanilla Python throughconda create -c conda-forge scipy
I seemed to remember similar teething issues in the past but I thought they had been fixed since. The only similar issue I could find was #738 but only conda update -all was affected and it is not Windows-specific so it is probably a slightly different issue?
cc @rgommers and @isuruf who were involved in #738.
This was initially reported by @vitorpohlenz in scikit-learn, see scikit-learn/scikit-learn#31149 (comment).
Installed packages
# packages in environment at C:\Users\rjxQE\AppData\Local\miniforge3\envs\test:
#
# Name Version Build Channel
bzip2 1.0.8 h2466b09_7 conda-forge
ca-certificates 2025.1.31 h56e8100_0 conda-forge
intel-openmp 2024.2.1 h57928b3_1083 conda-forge
libblas 3.9.0 31_h641d27c_mkl conda-forge
libcblas 3.9.0 31_h5e41251_mkl conda-forge
libexpat 2.7.0 he0c23c2_0 conda-forge
libffi 3.4.6 h537db12_1 conda-forge
libhwloc 2.11.2 default_ha69328c_1001 conda-forge
libiconv 1.18 h135ad9c_1 conda-forge
liblapack 3.9.0 31_h1aa476e_mkl conda-forge
liblzma 5.8.1 h2466b09_0 conda-forge
libmpdec 4.0.0 h2466b09_0 conda-forge
libsqlite 3.49.1 h67fdade_2 conda-forge
libwinpthread 12.0.0.r4.gg4f2fc60ca h57928b3_9 conda-forge
libxml2 2.13.7 h442d1da_1 conda-forge
libzlib 1.3.1 h2466b09_2 conda-forge
mkl 2024.2.2 h66d3029_15 conda-forge
numpy 2.2.4 py313hd96daed_0 conda-forge
openssl 3.5.0 ha4e3fda_0 conda-forge
pip 25.0.1 pyh145f28c_0 conda-forge
python 3.13.3 hd7c436d_1_cp313t conda-forge
python_abi 3.13 5_cp313t conda-forge
scipy 1.15.2 py313h8a36d7e_0 conda-forge
tbb 2021.13.0 h62715c5_1 conda-forge
tk 8.6.13 h5226925_1 conda-forge
tzdata 2025b h78e105d_0 conda-forge
ucrt 10.0.22621.0 h57928b3_1 conda-forge
vc 14.3 h2b53caa_26 conda-forge
vc14_runtime 14.42.34438 hfd919c2_26 conda-forgeEnvironment info
active environment : base
active env location : C:\Users\lesteve\AppData\Local\miniforge3
shell level : 1
user config file : C:\Users\lesteve\.condarc
populated config files : C:\Users\lesteve\AppData\Local\miniforge3\.condarc
C:\Users\lesteve\.condarc
conda version : 25.3.1
conda-build version : not installed
python version : 3.10.13.final.0
solver : libmamba (default)
virtual packages : __archspec=1=broadwell
__conda=25.3.1=0
__win=10.0.19045=0
base environment : C:\Users\lesteve\AppData\Local\miniforge3 (writable)
conda av data dir : C:\Users\lesteve\AppData\Local\miniforge3\etc\conda
conda av metadata url : None
channel URLs : https://conda.anaconda.org/conda-forge/win-64
https://conda.anaconda.org/conda-forge/noarch
package cache : C:\Users\lesteve\AppData\Local\miniforge3\pkgs
C:\Users\lesteve\.conda\pkgs
C:\Users\lesteve\AppData\Local\conda\conda\pkgs
envs directories : C:\Users\lesteve\AppData\Local\miniforge3\envs
C:\Users\lesteve\.conda\envs
C:\Users\lesteve\AppData\Local\conda\conda\envs
platform : win-64
user-agent : conda/25.3.1 requests/2.31.0 CPython/3.10.13 Windows/10 Windows/10.0.19045 solver/libmamba conda-libmamba-solver/25.3.0 libmambapy/2.1.0
administrator : False
netrc file : None
offline mode : False(base) C:\Users\lesteve>conda config --show-sources
==> C:\Users\lesteve\AppData\Local\miniforge3\.condarc <==
channels:
- conda-forge
==> C:\Users\lesteve\.condarc <==
channels:
- conda-forge
Activity
lesteve commentedon May 5, 2025
Hmmm actually trying again today, free-threaded is installed as well on Linux both by
condaandmamba...conda
mamba
[-]On Windows `conda create -n test scipy` installs free-threaded Python[/-][+]`conda create -n test scipy` installs free-threaded Python[/+]lesteve commentedon May 13, 2025
It doesn't seem to happen anymore (neither on Windows nor on Linux) ... let's close this one.