Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2e42bdd

Browse files
committed
Added a note about removing preferences and .pyc files when you move the Python installation.
1 parent 2595a83 commit 2e42bdd

1 file changed

Lines changed: 13 additions & 9 deletions

File tree

Mac/ReadMe

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,10 @@ If you have previously installed another copy of 2.0 you should manually
6363
remove your preference file first (but no such action is needed for installing
6464
beside older MacPythons, and they will live together happily).
6565

66+
Moving your Python installation after installing is generally not a good idea.
67+
If you have to do this anyway you should remove your preference file, run
68+
ConfigurePython and remove all .pyc files.
69+
6670
If you don't have enough memory: the sizes choosen are somewhat
6771
arbitrary. Try lowering the application sizes in the finder "get info"
6872
window, and seeing whether the resulting python is still usable. Some
@@ -75,15 +79,15 @@ After installing
7579
It is probably a good idea to run the automatic tests. Start
7680
Python and "import test.autotest".
7781

78-
Three tests will fail on the mac, all with MemoryErrors: test_sha, test_longexp
79-
and test_zlib. If you increase the PythonInterpreter memory partition size they
80-
will pass.
81-
It will, however, print some messages about optional features
82-
not supported. Also, if you didn't run compileall before autotesting
83-
you may run out of memory the first time you run the
84-
tests. test_socket may also fail if you have no internet
85-
connection. Please also read the Relnotes file for other minor
86-
problems with this distribution.
82+
Three tests will fail on the mac, all with MemoryErrors: test_sha,
83+
test_longexp and test_zlib. If you increase the PythonInterpreter memory
84+
partition size they will pass. It will, however, print some messages
85+
about optional features not supported. You should not worry about these,
86+
they are modules that are supported by Python on other platforms. Also,
87+
if you didn't run compileall before autotesting you may run out of
88+
memory the first time you run the tests. test_socket may also fail if
89+
you have no internet connection. Please also read the Relnotes file for
90+
other minor problems with this distribution.
8791

8892
Using Python is most easily done from the IDE, which has a builtin editor,
8993
debugger and other goodies. The alternative is to use PythonInterpreter,

0 commit comments

Comments
 (0)