HottieNew-2:~% ls -l /opt/local/bin/python
lrwxr-xr-x  1 root  wheel  24  1 Mar 16:50 /opt/local/bin/python@ -> 
/opt/local/bin/python3.7
HottieNew-2:~% ls -l /opt/local/bin/python3.7
ls: /opt/local/bin/python3.7: No such file or directory

There doesn’t seem to be a macports version of Python3.7.
How should I safely remove/correct this incorrect symbolic link?

Is there a port command that would fix this?

I currently have

HottieNew-2:~% ls -l /opt/local/bin/python3.6
lrwxr-xr-x  1 root  admin  73 30 Dec 13:02 /opt/local/bin/python3.6@ -> 
/opt/local/Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6
HottieNew-2:~% ls -l 
/opt/local/Library/Frameworks/Python.framework/Versions/3.6/bin/python*
lrwxr-xr-x  1 root  wheel      9 30 Dec 13:02 
/opt/local/Library/Frameworks/Python.framework/Versions/3.6/bin/python3@ -> 
python3.6
lrwxr-xr-x  1 root  wheel     16 30 Dec 13:02 
/opt/local/Library/Frameworks/Python.framework/Versions/3.6/bin/python3-config@ 
-> python3.6-config
-rwxr-xr-x  2 root  wheel  13628 30 Dec 13:01 
/opt/local/Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6*
lrwxr-xr-x  1 root  wheel     17 30 Dec 13:02 
/opt/local/Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6-config@
 -> python3.6m-config
-rwxr-xr-x  2 root  wheel  13628 30 Dec 13:01 
/opt/local/Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6m*
-rwxr-xr-x  1 root  wheel   2091 30 Dec 13:02 
/opt/local/Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6m-config*

thanks
David Epstein








Reply via email to