Adam, As per Lawrence Velázquez's email, you need to give the full path to port (/opt/local/bin/port) until you fix your shell's login files.
To modify your tcsh shell login files, type at the command line open ~/.cshrc On my 10.6.8 machine, this opens the ~/.cshrc file in TextEdit. At the end of the file add the following lines # This should have been automatically added when MacPorts was installed, but it wasn't, so I am adding it on May 1, 2013 setenv PATH /opt/local/bin:/opt/local/sbin:$PATH Then start a new xterm or terminal session to see if port is in your PATH. -Sterling On May 1, 2013, at 9:55PM, Adam Neather wrote: > "sudo port install py27-scipy" gives "sudo: port: command not found". > > On 02/05/2013, Ryan Schmidt <[email protected]> wrote: >> >> On May 1, 2013, at 23:42, Adam Neather wrote: >> >>> Running that command gives the following: >>> >>> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-scipy/py-scipy/main.log >>> >>> NB: Scipy was the package that failed to install; numpy and cython >>> apparently worked. >> >> py-scipy is a unified python port; it doesn't install anything itself; >> that's done by its subports. >> >> If you actually tried to install py-scipy, it would switch to trying to >> install py24-scipy, for historical reasons, which probably isn't very useful >> today since python 2.4 is so old, and it would not surprise me if it failed >> to build. If so, the relevant logfile would be the one identified by the >> command "port logfile py24-scipy". >> >> Try installing py27-scipy instead ("sudo port install py27-scipy"). >> >> >> > > > -- > cheers much, > > Adam > _______________________________________________ > macports-users mailing list > [email protected] > https://lists.macosforge.org/mailman/listinfo/macports-users _______________________________________________ macports-users mailing list [email protected] https://lists.macosforge.org/mailman/listinfo/macports-users
