Kaydet (Commit) 2e42bddb authored tarafından Jack Jansen's avatar Jack Jansen

Added a note about removing preferences and .pyc files when you move the Python installation.

üst 2595a837
...@@ -63,6 +63,10 @@ If you have previously installed another copy of 2.0 you should manually ...@@ -63,6 +63,10 @@ If you have previously installed another copy of 2.0 you should manually
remove your preference file first (but no such action is needed for installing remove your preference file first (but no such action is needed for installing
beside older MacPythons, and they will live together happily). beside older MacPythons, and they will live together happily).
Moving your Python installation after installing is generally not a good idea.
If you have to do this anyway you should remove your preference file, run
ConfigurePython and remove all .pyc files.
If you don't have enough memory: the sizes choosen are somewhat If you don't have enough memory: the sizes choosen are somewhat
arbitrary. Try lowering the application sizes in the finder "get info" arbitrary. Try lowering the application sizes in the finder "get info"
window, and seeing whether the resulting python is still usable. Some window, and seeing whether the resulting python is still usable. Some
...@@ -75,15 +79,15 @@ After installing ...@@ -75,15 +79,15 @@ After installing
It is probably a good idea to run the automatic tests. Start It is probably a good idea to run the automatic tests. Start
Python and "import test.autotest". Python and "import test.autotest".
Three tests will fail on the mac, all with MemoryErrors: test_sha, test_longexp Three tests will fail on the mac, all with MemoryErrors: test_sha,
and test_zlib. If you increase the PythonInterpreter memory partition size they test_longexp and test_zlib. If you increase the PythonInterpreter memory
will pass. partition size they will pass. It will, however, print some messages
It will, however, print some messages about optional features about optional features not supported. You should not worry about these,
not supported. Also, if you didn't run compileall before autotesting they are modules that are supported by Python on other platforms. Also,
you may run out of memory the first time you run the if you didn't run compileall before autotesting you may run out of
tests. test_socket may also fail if you have no internet memory the first time you run the tests. test_socket may also fail if
connection. Please also read the Relnotes file for other minor you have no internet connection. Please also read the Relnotes file for
problems with this distribution. other minor problems with this distribution.
Using Python is most easily done from the IDE, which has a builtin editor, Using Python is most easily done from the IDE, which has a builtin editor,
debugger and other goodies. The alternative is to use PythonInterpreter, debugger and other goodies. The alternative is to use PythonInterpreter,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment