1 | fury:~ eyekyu$ sudo port install python25 |
---|
2 | |
---|
3 | ---> Computing dependencies for python25 |
---|
4 | ---> Fetching python25 |
---|
5 | ---> Verifying checksum(s) for python25 |
---|
6 | ---> Extracting python25 |
---|
7 | ---> Applying patches to python25 |
---|
8 | ---> Configuring python25 |
---|
9 | ---> Building python25 |
---|
10 | ---> Staging python25 into destroot |
---|
11 | ---> Installing python25 @2.5.4_6+darwin_10+macosx |
---|
12 | ---> Activating python25 @2.5.4_6+darwin_10+macosx |
---|
13 | |
---|
14 | To fully complete your installation and make python 2.5 the default, please run |
---|
15 | |
---|
16 | sudo port install python_select |
---|
17 | sudo python_select python25 |
---|
18 | |
---|
19 | ---> Cleaning python25 |
---|
20 | |
---|
21 | fury:~ eyekyu$ sudo python_select python25 |
---|
22 | Selecting version "python25" for python |
---|
23 | ln: /opt/local/Library/Frameworks/Python.framework/Versions/Current: No such file or directory |
---|
24 | ln: /opt/local/Library/Frameworks/Python.framework/Headers: No such file or directory |
---|
25 | ln: /opt/local/Library/Frameworks/Python.framework/Resources: No such file or directory |
---|
26 | ln: /opt/local/Library/Frameworks/Python.framework/Python: No such file or directory |
---|
27 | there were 4 errors selecting version "python25"! |
---|
28 | |
---|
29 | fury:~ eyekyu$ python |
---|
30 | Python 2.5.4 (r254:67916, Aug 16 2009, 12:33:55) |
---|
31 | [GCC 4.2.1 (Apple Inc. build 5646)] on darwin |
---|
32 | Type "help", "copyright", "credits" or "license" for more information. |
---|
33 | >>> import socket |
---|
34 | Traceback (most recent call last): |
---|
35 | File "<stdin>", line 1, in <module> |
---|
36 | File "/opt/local/lib/python2.5/socket.py", line 45, in <module> |
---|
37 | import _socket |
---|
38 | ImportError: No module named _socket |
---|
39 | >>> |
---|
40 | |
---|