I order to install Python as python3 on Linux, i did: ./configure make make test sudo make install However, when i typed "make test", i got two error messages: "test test_distutils failed -- multiple errors occurred; run in verbose mode for details" "sys:1: ResourceWarning: unclosed file <_io.TextIOWrapper name='/dev/null' mode='a' encoding='ANSI_X3.4-1968'> make: *** [test] Error 1" The Result? When I type python on Linux, i get the older version 2.7.1 instead of the version that i just installed (python 3.2). Could you help me? Thank you, Laura
You should ask python-list instead of here.
2011/3/29 Laura
I order to install Python as python3 on Linux, i did:
./configure make make test sudo make install
However, when i typed "make test", i got two error messages:
"test test_distutils failed -- multiple errors occurred; run in verbose mode for details"
"sys:1: ResourceWarning: unclosed file <_io.TextIOWrapper name='/dev/null' mode='a' encoding='ANSI_X3.4-1968'> make: *** [test] Error 1"
The Result? When I type python on Linux, i get the older version 2.7.1 instead of the version that i just installed (python 3.2).
Actually, it's because Python 3 is installed as python3. -- Regards, Benjamin
On Wed, Mar 30, 2011 at 8:48 AM, Laura
The Result? When I type python on Linux, i get the older version 2.7.1 instead of the version that i just installed (python 3.2).
Could you help me?
As Benjamin noted, this is a question about using (/building) a released version of Python, and hence more appropriate for python-list. python-dev is for discussing the development of *future* versions of Python. Regards, Nick. P.S. However, also note that, due to the fact that it cannot run many current Python 2.x scripts, the default installation process for Python 3.x creates a "python3" command, rather than a "python" command. -- Nick Coghlan | ncoghlan@gmail.com | Brisbane, Australia
participants (3)
-
Benjamin Peterson
-
Laura
-
Nick Coghlan