简体   繁体   English

康达32位继续安装64位python 3.5.2

[英]conda 32-bit keep installing 64-bit python 3.5.2

I installed both 32-bit conda and 64-bit conda for different projects. 我为不同的项目安装了32位conda和64位conda。 I created a new environment and specified python 3 in 我创建了一个新环境,并在其中指定了python 3

conda create -name ..name.. python=3

The command picked up Python 3.5.2 but in 64-bit, rather than 32. But when I changed the command to 该命令选择了Python 3.5.2,但使用的是64位而不是32位。但是当我将命令更改为

conda create -name ..name.. python=3.4

it picked up the 32-bit python correctly. 它正确地拾取了32位python。 My question is how to force conda to pickup 32-bit python 3.5.2? 我的问题是如何强制conda使用32位python 3.5.2? so I can use some of the packages that only support python 3.5. 因此我可以使用一些仅支持python 3.5的软件包。

Here's what I did and none of them work: 这是我所做的,但都不起作用:

  • installed both 32-bit and 64-bit pythons 安装了32位和64位python
  • installed both 32-bit and 64-bit condas 安装了32位和64位conda
  • set 32-bit Miniconda to come before 64-bit Miniconda in PATH 将32位Miniconda设置为在PATH中的64位Miniconda之前
  • launched 32-bit conda prompt 启动了32位conda提示符
  • set CONDA_FORCE_32BIT=1 设置CONDA_FORCE_32BIT = 1

Thanks! 谢谢!

I found that I have to delete the package caches first. 我发现我必须先删除程序包缓存。 Or force conda to install Python with -f option. 或强制conda使用-f选项安装Python。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM