Your ~/.profile should have something like export PATH="/opt/local/bin:/opt/local/sbin:$PATH as its last line.Īfter MacPorts has been installed, you may want to restart just for fun to ensure that all of your environment variable are set up properly. so that when you run python from the command prompt you get the version you want. Also, ensure that /opt/local/bin and /opt/local/sbin are added to your $PATH before the system directories like /usr/bin, /bin, /sbin etc. Choose the option to install ports in a unique directory like /opt/local, so they don't conflict with whatever built-in versions the OS depends on. So, first, install MacPorts using the installer for Snow Leopard. The easiest way I've found to keep package dependencies under control is to use MacPorts as much as possible because unlike Homebrew, the packages are designed to work together and dependencies are (almost always) automagically installed when you try to install something. Have you tried using the binaries provided for OSX? That should ensure everything works.
0 Comments
Leave a Reply. |