how make python37 the binary called by "python"

Murray Eisenberg murrayeisenberg at gmail.com
Mon Oct 29 20:05:11 UTC 2018


After

	sudo port select --set python python37
	   Selecting 'python37' for 'python' succeeded. 'python37' is now active.
I have:

	port select --list python
	   Available versions for python:
		   none
		   python27
		   python27-apple
		python37 (active)
   
Nonetheless:

	which python
	   /opt/local/bin/python
	python --version
	   Python 2.7.3

And how do I get the version invoked by “python” at command line to be 3.7?

(I’m using 3rd party packages that just expect to call binary “python” and have it be 3.7.)

---
Murray Eisenberg			murrayeisenberg at gmail.com
503 King Farm Blvd #101	Home (240)-246-7240
Rockville, MD 20850-6667	Mobile (413)-427-5334


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20181029/84d24611/attachment.html>


More information about the macports-users mailing list