怎么安装python3.5-以及怎么在这个环境下安装包
1. 安装python3.5的环境
结论:
先
conda config --remove-key channels
再
conda create -n mimics_env python=3.5
清华源和阿里源已经都删除3.5了,如果用那些源安装的话会提示
Retrieving notices: done Channels:
- https://mirrors.aliyun.com/anaconda/cloud/conda-forge
- https://mirrors.aliyun.com/anaconda/pkgs/main
- https://mirrors.aliyun.com/anaconda/pkgs/free
- defaults
- conda-forge Platform: win-64 Collecting package metadata (repodata.json): failed UnavailableInvalidChannel: HTTP 404 NOT FOUND for channel anaconda/cloud/conda-forge https://mirrors.aliyun.com/anaconda/cloud/conda-forge The channel is not accessible or is invalid. You will need to adjust your conda configuration to proceed. Use
conda config --show channels
to view your configuration's current state, and useconda config --show-sources
to view config file locations.
解决办法:
用默认的源:
先
conda config --remove-key channels
再
conda create -n mimics_env python=3.5
2. 在这个环境下怎么安装包
这个环境太老了,pip版本也很老,安装包的时候无反应。但是!conda可以安装
可以pip install itk没反应,但是可以用
conda install itk
运行成功
对于一些比较小众的包,可以用这个办法
anaconda 安装 SimpleITK 或者其它安装包_anaconda安装simpleitk安装-CSDN博客