我已经下载了python-3.6.1.tar.xz.然后我提取了它.有一个文件README.rst.这是指令文件.并有如何安装的说明.
在Unix,Linux,BSD,macOS和Cygwin ::
./configure
make
make test
sudo make install
Run Code Online (Sandbox Code Playgroud)
完成前两个步骤,即最高可以毫无错误地完成.但是当我make test得到这些错误时.
FAILED (failures=1)
test test_venv failed
1 test failed again:
test_venv
Total duration: 4 min 13 sec
Tests result: FAILURE
Makefile:1018: recipe for target 'test' failed
make: *** [test] Error 1
Run Code Online (Sandbox Code Playgroud)
我创建了一个包含错误的文件并将其分享给Google驱动器.单击此处查看完整堆栈跟踪.
错误的相关部分是:
**Subprocess Output**
Traceback (most recent call last):
File "/home/kd/Python-3.6.1/Lib/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/home/kd/Python-3.6.1/Lib/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/kd/Python-3.6.1/Lib/ensurepip/__main__.py", line 4, in <module>
ensurepip._main()
File "/home/kd/Python-3.6.1/Lib/ensurepip/__init__.py", line …Run Code Online (Sandbox Code Playgroud)