我一直在尝试在 Linux Mint 上安装 python3.3.0。阅读自述文件后,我运行了以下命令:
./configure
make
make test
sudo make install
我运行了该make test
命令,但它跳过了一些测试,说它找不到所需的模块并给出以下错误:
FAIL: test_urlwithfrag (test.test_urllib2net.OtherNetworkTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/Python-3.3.0/Lib/test/test_urllib2net.py", line 165, in test_urlwithfrag
"http://docs.python.org/glossary.html#glossary")
AssertionError: 'http://docs.python.org/2/glossary.html' != 'http://docs.python.org/glossary.html#glossary'
- http://docs.python.org/2/glossary.html
? --
+ http://docs.python.org/glossary.html#glossary
?
+++++++++
Ran 15 tests in 58.905s
FAILED (failures=1, skipped=1)
test test_urllib2net failed
make: *** [test] Error 1
请告诉我我需要做什么才能让 python 在我的系统上运行