Opened 12 years ago

Closed 12 years ago

#35211 closed defect (duplicate)

py27-ipython fails 'port select'

Reported by: cjones051073 (Chris Jones) Owned by: akitada@…
Priority: Normal Milestone:
Component: ports Version: 2.1.1
Keywords: Cc: tirath@…, skymoo (Adam Mercer)
Port: py27-ipython

Description

macmini ~ > sudo port install py27-ipython
--->  Computing dependencies for py27-ipython
--->  Fetching archive for py27-ipython
--->  Attempting to fetch py27-ipython-0.13_0+scientific.darwin_11.noarch.tbz2 from http://packages.macports.org/py27-ipython
--->  Attempting to fetch py27-ipython-0.13_0+scientific.darwin_11.noarch.tbz2.rmd160 from http://packages.macports.org/py27-ipython
--->  Installing py27-ipython @0.13_0+scientific
--->  Activating py27-ipython @0.13_0+scientific

To make the Python 2.7 version of IPython the one that is run when you execute the commands without a version suffix, e.g.
'ipython', run:

port select --set ipython ipython27

--->  Cleaning py27-ipython
--->  Updating database of binaries: 100.0%
--->  Scanning binaries for linking errors: 100.0%
--->  No broken files found.
macmini ~ > sudo port select --set ipython ipython27
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

Change History (7)

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to akitada@…

comment:2 Changed 12 years ago by michelle.lynn.gill@…

I get the same error when trying to run 'port select' on a new Mountain Lion install.

comment:3 Changed 12 years ago by tirath@…

Cc: tirath@… added

Cc Me!

comment:4 Changed 12 years ago by tirath@…

On Mountain Lion, output of sudo port -d select --set ipython ipython26

DEBUG: Copying /Users/tramdas/Library/Preferences/com.apple.dt.Xcode.plist to /opt/local/var/macports/home/Library/Preferences
DEBUG: action_select [ipython ipython26] [ports_select_set yes]...
DEBUG: The 'set' command was specified.
DEBUG: mportselect [set] [ipython] [ipython26]
DEBUG: ln -sf /opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/ipcluster /opt/local/bin/ipcluster
DEBUG: ln -sf /opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/ipcontroller /opt/local/bin/ipcontroller
DEBUG: ln -sf /opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/ipengine /opt/local/bin/ipengine
DEBUG: ln -sf /opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/iplogger /opt/local/bin/iplogger
DEBUG: ln -sf /opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/iptest /opt/local/bin/iptest
DEBUG: ln -sf /opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/ipython /opt/local/bin/ipython
DEBUG: rm -f /opt/local/bin/ipython-wx
DEBUG: rm -f /opt/local/bin/ipythonx
DEBUG: ln -sf /opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/irunner /opt/local/bin/irunner
DEBUG: ln -sf /opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/pycolor /opt/local/bin/pycolor
Selecting 'ipython26' 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.6/share/man/man1/ipcluster.1.gz" doesn't exist

Contents of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/share/man/man1:

ipcluster.1    ipcontroller.1 ipengine.1     iplogger.1     ipython.1      irunner.1      nosetests.1    pycolor.1      python.1

comment:5 Changed 12 years ago by tirath@…

Quick workaround for anyone desperate:

  • cd /opt/local/Library/Frameworks/Python.framework/Versions/2.6/share/man/man1
  • sudo gzip *

... then try sudo port -d select --set ipython ipython26 again.

comment:6 Changed 12 years ago by skymoo (Adam Mercer)

Cc: ram@… added

Cc Me!

comment:7 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: duplicate
Status: newclosed

Duplicate of #34845.

Note: See TracTickets for help on using tickets.