/opt/local/bin) is first on your PATH, so that ported files (e.g. Python) get found rather than others.
search command will find all packages whose name contains the given string (e.g. port search numpy to find numpy packages). The MacPortsMacintoshInstallation directions use Python 2.6 -- be sure in that case to use Python packages that start with py26, for example py26-numpy. Don't use py-numpy -- that is for Python 2.4.
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.