GCBrgt
GCBrgt

Reputation: 65

How to create a 32 bits exclusive conda env

How can I create a exclusively 32 bits conda environment? I tried:

set CONDA_FORCE_32BIT=1
conda create -n py310_32 python=3.10.5

But it didn't work.

Upvotes: 2

Views: 7085

Answers (1)

x pie
x pie

Reputation: 592

Follwing commands will successfully get a 32-bit python. I suppose the main problem is the environment variable. You know windows is this. :(

conda create -n py27_32
conda activate py27_32
conda config --env --set subdir win-32
conda install python=2.7

enter image description here

useful links:

  1. Using multiple Python engines (32Bit/64bit and 2.7/3.5)
  2. How can I have two different environments within Anaconda? (both Python 3.7, one 32bit and one 64bit)
  3. https://github.com/conda/conda/issues/1744

Upvotes: 8

Related Questions