<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div dir="ltr"></div><div dir="ltr"><br></div><div dir="ltr">Ok, so you have macports installed in the default prefix.</div><div dir="ltr"><br></div><div dir="ltr">If /opt/local/bin is in your path, and the port command is in that direct (??) then there is no reason why running port at the command line should not work.</div><div dir="ltr"><br></div><div dir="ltr">Chris</div><div dir="ltr"><br>On 3 Mar 2019, at 5:00 pm, Ryan Grow <<a href="mailto:ryankgrow@gmail.com">ryankgrow@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div dir="ltr"><div dir="ltr"><div>Ahh... the mp prefix... is that the "/opt/local/bin:/opt/local/sbin" that is listed twice</div><div><br></div><div>When I type<br></div><div><font size="2"><span style="font-family:times new roman,serif">>ls /opt/local</span></font></div><div><span style="font-family:times new roman,serif">the response is</span></div><div><span style="font-family:times new roman,serif">bin     etc    include lib    libexec man     sbin    share     var</span></div><div><span style="font-family:times new roman,serif"><br></span></div><div><span style="font-family:times new roman,serif"><br></span></div><div><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Ryan Grow<br></div><div><a href="mailto:ryankgrow@gmail.com" target="_blank">ryankgrow@gmail.com</a><br>760-571-7844<br></div></div></div></div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Mar 3, 2019 at 8:46 AM Chris Jones <<a href="mailto:jonesc@hep.phy.cam.ac.uk">jonesc@hep.phy.cam.ac.uk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><div dir="ltr"></div><div dir="ltr"><br></div><div dir="ltr">Hi,</div><div dir="ltr"><br></div><div dir="ltr">Please keep your replies on list.</div><div dir="ltr"><br></div><div dir="ltr">Your PATH has the mp prefix in it(multiple times, so could be cleaned up...)</div><div dir="ltr"><br></div><div dir="ltr">So what about</div><div dir="ltr"><br></div><div dir="ltr">> ls /opt/local</div><div dir="ltr"><br></div><div dir="ltr">? </div><div dir="ltr"><br></div><div dir="ltr">Chris</div><div dir="ltr"><br>On 3 Mar 2019, at 4:36 pm, Ryan Grow <<a href="mailto:ryankgrow@gmail.com" target="_blank">ryankgrow@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div dir="ltr"><div dir="ltr"><div>Hi Chris - <br></div><div><br></div><div>Thanks for the response. I have restarted Terminal (and computer, just in case)<br></div><div><br></div><div>When I do echo $PATH, it returns /opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/local/bin:/opt/local/sbin</div><div><br></div><div><div><div dir="ltr" class="gmail-m_8969284906102076550gmail_signature"><div dir="ltr"><div>Ryan Grow<br></div><div><a href="mailto:ryankgrow@gmail.com" target="_blank">ryankgrow@gmail.com</a><br>760-571-7844<br></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Mar 3, 2019 at 3:22 AM Christopher Jones <<a href="mailto:jonesc@hep.phy.cam.ac.uk" target="_blank">jonesc@hep.phy.cam.ac.uk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
Have you tried restarting Terminal, to get a clean new bash prompt ?<br>
<br>
If it still does not work what does<br>
<br>
> echo $PATH<br>
<br>
> ls /opt/local/ /opt/local/bin<br>
<br>
give ?<br>
<br>
Chris<br>
<br>
> On 2 Mar 2019, at 11:54 pm, Ryan Grow <<a href="mailto:ryankgrow@gmail.com" target="_blank">ryankgrow@gmail.com</a>> wrote:<br>
> <br>
> I installed macports today and did not preload xcode before installing. Before testing any commands in the terminal, I installed xcode. But then when I tried the $ port version command in the terminal, and received 'bash: $: command not found' as a response. I added "export PATH=/opt/local/bin:/opt/local/sbin:$PATH" and it did not change anything.<br>
> <br>
> I tried uninstalling - but terminal does not appear to recognize any 'port' commands. Thoughts?<br>
> <br>
> Ryan G<br>
<br>
</blockquote></div>
</div></blockquote></div></blockquote></div>
</div></blockquote></body></html>