1 python2.7.15 下载,安装
https://www.python.org/downloads/release/python-2715/
python-2.7.15.amd64.msi 安装文件
2 安装 mongodb 编译所需的 python 模块
cmd > F:
cmd > cd mongodb-src-r4.0.3
【指令:安装所需模块】
F:\mongodb-src-r4.0.3>pip2 install -r buildscripts/requirements.txt
【问题#1】
Ignoring mypy: markers 'python_version > "3"' don't match your environment
Ignoring pypiwin32: markers 'sys_platform == "win32" and python_version > "3"' don't match your environment
Ignoring subprocess32: markers 'os_name == "posix" and python_version < "3"' don't match your environment
Collecting cryptography==1.7.2 (from -r buildscripts/requirements.txt (line 2))
Downloading https://files.pythonhosted.org/packages/5e/fa/42ef9b4ef3a69713a13790d76432287aeb1db89723dbde91b404fc762362/cryptography-1.7.2-cp27-cp27m-win_amd64.whl (1.3MB)
15% |████▉ | 194kB 8.7kB/s eta 0:02:06Exception:
Traceback (most recent call last):
File "d:\programfiles\python2.7.15\lib\site-packages\pip\basecommand.py", line 215, in main
status = self.run(options, args)
File "d:\programfiles\python2.7.15\lib\site-packages\pip\commands\install.py", line 324, in run
requirement_set.prepare_files(finder)
File "d:\programfiles\python2.7.15\lib\site-packages\pip\req\req_set.py", line 380, in prepare_files
ignore_dependencies=self.ignore_dependencies))
File "d:\programfiles\pyth