You can find out what your Python installation uses for prefix and exec-prefix by running Python in interactive mode and typing a few simple commands.Under Unix, just type python at the shell prompt. 自分の Python がどんな prefix やexec-prefix を使っているかは、Python を対話モードで起動して、単純なコマンドをいくつか入力すればわかります。 - Python
Of course, if your --prefix and --exec-prefix don't evenpoint to an alternate Python installation, this is immaterial. もちろん、--prefix や --exec-prefix が別のインストール済み Python の場所すら指していなければどうにもなりません。 - Python
If you build Python yourself on Linux (or any Unix-like system), the default prefix and exec-prefix are /usr/local. Linux (または Unixライクなシステム) 上で自分で Python をビルドした場合、デフォルトの prefix およびexec-prefix は /usr/local になります。 - Python
prefix and exec-prefix stand for the directories that Python is installed to, and where it finds its libraries at run-time. prefix および exec-prefix は、 Python がインストールされているディレクトリと、実行時にライブラリを探しにいく場所を表します。 - Python
Most Linux distributions include Python as a standard part of the system, so prefix and exec-prefix are usuallyboth /usr on Linux. ほとんどの Linux ディストリビューションには、システムの標準インストール物として Python が入っているので、 Linux では普通、prefix や exec-prefix はどちらも /usr になります。 - Python
For example, on my Linux system, I type the three Python statements shown below, and get the output as shown, to find out myprefix and exec-prefix: 例えば、作者の使っている Linux システムで、三つのPython 文を以下のように入力すると、出力から作者のシステムのprefix と exec-prefix を得られます: - Python
There is no requirement that --prefix or --exec-prefix actually point to an alternate Python installation; if the directories listed above do not already exist, they are created at installation time.Incidentally, the real reason the prefix scheme is important is simply that a standard Unix installation uses the prefix scheme, but with --prefix and --exec-prefix supplied by Python itself as sys. --prefix や --exec-prefix が実際に他のインストール済み Python の場所を指している必要はありません;上に挙げたディレクトリがまだ存在しなければ、インストール時に作成されます。 ちなみに、prefix スキームが重要な本当の理由は、単に標準の Unix インストールが prefix スキームを使っているからです。 - Python
Copyright 2001-2004 Python Software Foundation.All rights reserved. Copyright 2000 BeOpen.com.All rights reserved. Copyright 1995-2000 Corporation for National Research Initiatives.All rights reserved. Copyright 1991-1995 Stichting Mathematisch Centrum.All rights reserved.