mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00
Added a note about removing preferences and .pyc files when you move the Python installation.
This commit is contained in:
parent
2595a837b5
commit
2e42bddbe9
1 changed files with 13 additions and 9 deletions
22
Mac/ReadMe
22
Mac/ReadMe
|
@ -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
|
||||||
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,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue