I’m trying to setup Python 2.7 and SciPy and hit a major roadblock. I kept getting
sudo: port: command not found
On Mac OSX, I’m on Yosemite, if you’ve installed MacPorts with the package installer and have the same issues that I encountered I’ve got the fix. Part of the problem is that MacPorts binaries are installed in /opt/local/bin, so you just need to add this path to your PATH environment variable. Example with your user, add to your $HOME/.profile:
Add the following in terminal —
Step one:
export PATH=$PATH:/opt/local/binStep two:
$ source .profileStep three:
sudo port -v selfupdate
Post navigation
本站僅提供存儲(chǔ)服務(wù),所有內(nèi)容均由用戶發(fā)布,如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請(qǐng)
點(diǎn)擊舉報(bào)。