ipython selction issue
George Nurser
gnurser at gmail.com
Sun Aug 12 03:41:38 PDT 2012
On 12 August 2012 10:18, George Nurser <gnurser at gmail.com> wrote:
> Hi,
> I've tried
> sudo port select ipython ipython27
>
> I get an error:
> Selecting 'ipython27' for 'ipython' failed: could not create new link
> "/opt/local/share/man/man1/ipcluster.1.gz": target
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/share/man/man1/ipcluster.1.gz"
> doesn't exist
>
> The directory /opt/local/Library/Frameworks/Python.framework/Versions/2.7/share/man/man1
> has a whole load of stuff
>
> ipcluster.1. , ipcontroller.1 etc... which looks right.
problem seems to be that
ls -l /opt/local/share/man/man1/ip* *irun*
gives dead links:
/opt/local/share/man/man1 $ l ip* *irun*
lrwxr-xr-x 1 root admin 89B 12 Aug 11:11 ipcluster-2.7.1.gz ->
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/share/man/man1/ipcluster.1.gz
lrwxr-xr-x 1 root admin 92B 12 Aug 11:11 ipcontroller-2.7.1.gz ->
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/share/man/man1/ipcontroller.1.gz
lrwxr-xr-x 1 root admin 88B 12 Aug 11:11 ipengine-2.7.1.gz ->
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/share/man/man1/ipengine.1.gz
lrwxr-xr-x 1 root admin 88B 12 Aug 11:11 iplogger-2.7.1.gz ->
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/share/man/man1/iplogger.1.gz
lrwxr-xr-x 1 root admin 87B 12 Aug 11:11 ipython-2.7.1.gz ->
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/share/man/man1/ipython.1.gz
lrwxr-xr-x 1 root admin 87B 12 Aug 11:11 irunner-2.7.1.gz ->
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/share/man/man1/irunner.1.gz
while
ls -l /opt/local/Library/Frameworks/Python.framework/Versions/2.7/share/man/man1
total 128
drwxr-xr-x 12 root wheel 408B 12 Aug 11:11 .
drwxr-xr-x 3 root wheel 102B 15 Apr 21:50 ..
-rw-r--r-- 1 root wheel 533B 11 Jun 07:10 ipcluster.1
-rw-r--r-- 1 root wheel 550B 11 Jun 07:10 ipcontroller.1
-rw-r--r-- 1 root wheel 502B 11 Jun 07:10 ipengine.1
-rw-r--r-- 1 root wheel 650B 11 Jun 07:10 iplogger.1
-rw-r--r-- 1 root wheel 2.1K 11 Jun 07:10 ipython.1
-rw-r--r-- 1 root wheel 1.3K 19 Dec 2011 irunner.1
-rw-r--r-- 1 root wheel 14K 31 Jul 2011 nosetests.1
-rw-r--r-- 1 root wheel 1.4K 17 Dec 2011 pycolor.1
-rw-r--r-- 1 root wheel 3.4K 2 Aug 2011 pygmentize.1
-rw-r--r-- 1 root wheel 14K 15 Apr 21:49 python2.7.1
>
> It would seem strange that the script should need to make links to .gz
> files; so perhaps the ipython_select script is wrong?
>
> Regards, George Nurser.
More information about the macports-users
mailing list