Octave带了mingw64。gcc, perl, python, ffmpeg等一大堆程序都有现成的。可是没有pip。
输入命令:
python -m ensurepip --upgrade
即可安装pip。
然后使用国内镜像源。我们用的是"Linux",所以要添加或修改~/.pip/pip.conf:
[global]
index-url = http://mirrors.aliyun.com/pypi/simple/
trusted-host =
mirrors.aliyun.com
我们可以:
notepad pip.conf
explorer .
同一个python,既可以在cmd里运行,又可以在bash+mintty里运行。
http源还有:http://pypi.mirrors.ustc.edu.cn/simple/
那些用https的是不是钱多得不耐烦?
更多信息请搜索:
- pip documentation Installation ensurepip get-pip.py
- pip documentation Configuration trusted-host
本文暂时没有评论,来添加一个吧(●'◡'●)