python - Installing Python3.4.3: 3 tests failed, 3 altered execution environment and 25 skipped -


i use lubuntu 14.04 guest os (using vmplayer). wanted install python3.4.3. downloaded .tar.xz file here: https://www.python.org/downloads/

i extracted file , followed instructions in readme:

./configure make make test 

when ran

make test 

it returned this:

359 tests ok. 3 tests failed:     test_urllib test_urllib2 test_urllib2net 3 tests altered execution environment:     test___all__ test_site test_warnings 25 tests skipped:     test_bz2 test_curses test_dbm_gnu test_dbm_ndbm test_devpoll     test_gdb test_gzip test_idle test_kqueue test_lzma test_msilib     test_ossaudiodev test_readline test_smtpnet test_sqlite test_ssl     test_startfile test_tcl test_tk test_ttk_guionly test_ttk_textonly     test_winreg test_winsound test_zipfile64 test_zlib re-running failed tests in verbose mode re-running test 'test_urllib' in verbose mode test test_urllib crashed -- traceback (most recent call last):   file "/home/ayman/downloads/python3.4.3/python-3.4.3/lib/test/regrtest.py", line 1271, in runtest_inner     the_module = importlib.import_module(abstest)   file "/home/ayman/downloads/python3.4.3/python-3.4.3/lib/importlib/__init__.py", line 109, in import_module     return _bootstrap._gcd_import(name[level:], package, level)   file "<frozen importlib._bootstrap>", line 2254, in _gcd_import   file "<frozen importlib._bootstrap>", line 2237, in _find_and_load   file "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked   file "<frozen importlib._bootstrap>", line 1200, in _load_unlocked   file "<frozen importlib._bootstrap>", line 1129, in _exec   file "<frozen importlib._bootstrap>", line 1471, in exec_module   file "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed   file "/home/ayman/downloads/python3.4.3/python-3.4.3/lib/test/test_urllib.py", line 13, in <module>     import ssl   file "/home/ayman/downloads/python3.4.3/python-3.4.3/lib/ssl.py", line 97, in <module>     import _ssl             # if can't import it, let error propagate importerror: no module named '_ssl'  re-running test 'test_urllib2' in verbose mode test test_urllib2 crashed -- traceback (most recent call last):   file "/home/ayman/downloads/python3.4.3/python-3.4.3/lib/test/regrtest.py", line 1271, in runtest_inner the_module = importlib.import_module(abstest)   file "/home/ayman/downloads/python3.4.3/python-3.4.3/lib/importlib/__init__.py", line 109, in import_module     return _bootstrap._gcd_import(name[level:], package, level)   file "<frozen importlib._bootstrap>", line 2254, in _gcd_import   file "<frozen importlib._bootstrap>", line 2237, in _find_and_load   file "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked   file "<frozen importlib._bootstrap>", line 1200, in _load_unlocked   file "<frozen importlib._bootstrap>", line 1129, in _exec   file "<frozen importlib._bootstrap>", line 1471, in exec_module   file "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed   file "/home/ayman/downloads/python3.4.3/python-3.4.3/lib/test/test_urllib2.py", line 3, in <module>     test import test_urllib   file "/home/ayman/downloads/python3.4.3/python-3.4.3/lib/test/test_urllib.py", line 13, in <module>     import ssl   file "/home/ayman/downloads/python3.4.3/python-3.4.3/lib/ssl.py", line 97, in <module>     import _ssl             # if can't import it, let error propagate importerror: no module named '_ssl'  re-running test 'test_urllib2net' in verbose mode test test_urllib2net crashed -- traceback (most recent call last):   file "/home/ayman/downloads/python3.4.3/python-3.4.3/lib/test/regrtest.py", line 1271, in runtest_inner     the_module = importlib.import_module(abstest)   file "/home/ayman/downloads/python3.4.3/python-3.4.3/lib/importlib/__init__.py", line 109, in import_module     return _bootstrap._gcd_import(name[level:], package, level)   file "<frozen importlib._bootstrap>", line 2254, in _gcd_import   file "<frozen importlib._bootstrap>", line 2237, in _find_and_load   file "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked   file "<frozen importlib._bootstrap>", line 1200, in _load_unlocked   file "<frozen importlib._bootstrap>", line 1129, in _exec   file "<frozen importlib._bootstrap>", line 1471, in exec_module   file "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed   file "/home/ayman/downloads/python3.4.3/python-3.4.3/lib/test/test_urllib2net.py", line 3, in <module>     test.test_urllib2 import sanepathname2url   file "/home/ayman/downloads/python3.4.3/python-3.4.3/lib/test/test_urllib2.py", line 3, in <module>     test import test_urllib   file "/home/ayman/downloads/python3.4.3/python-3.4.3/lib/test/test_urllib.py", line 13, in <module>     import ssl   file "/home/ayman/downloads/python3.4.3/python-3.4.3/lib/ssl.py", line 97, in <module>     import _ssl             # if can't import it, let error propagate importerror: no module named '_ssl'  make: *** [test] error 1 

i'm not sure these failed / skipped test effect me in long run after install python3.4.3 with:

sudo make install 

should worried these failed / skipped test? if yes, idea on how fix these issues?

it seems compiling python without ssl or zlib support. that's reason why tests failed , skipped.

you may want check out how compile python 2.4.6 ssl, readline , zlib on debian lenny , no module named zlib found.


Comments

Popular posts from this blog

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -